Using WebViews in React Native + Expo | The Dev Environment

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии •

  • @jimokonma42
    @jimokonma42 Год назад +2

    Hi, can I use web view to track a button click? so let's say a user likes a post on a Twitter page on my web view is there a way i can track that?

  • @AyandaSontlaba
    @AyandaSontlaba 19 дней назад

    When i run my app on android studios emulator the webview works, but when creating an apk i get the error: Domain: undefined
    Error Code: -1
    Description: net:: ERR_CLEARTEXT_NOT_PERMITTED
    WHEN WANT PAYMENT PAGE. I created the app with the npx create-expo-app with a blank template. What can the problem be

  • @codewithtae6637
    @codewithtae6637 Год назад

    Would this be good for this situation: A user puts in an food order on the native app but the details gets pushed to a webview for the server to prepare?

  • @codewithtae6637
    @codewithtae6637 6 месяцев назад

    What is your main way of obtaining clients for consulting work?

  • @antonyleme7602
    @antonyleme7602 Год назад +1

    I'm getting "requireNativeComponent: RNCWebView was not found in the UIManager". Any thoughts?

    • @thedevenvironment
      @thedevenvironment  Год назад

      Is this during a build or during runtime? And which environment are you using? (iOS, anddroid?)

    • @antonyleme7602
      @antonyleme7602 Год назад +1

      @@thedevenvironment it seems that now you have to run expo prebuild and then pod install in ios folder to be able to run the webview

  • @codewithtae6637
    @codewithtae6637 Год назад

    What was your client looking for in terms of using webview?

  • @nikako1889
    @nikako1889 Год назад +1

    will u reupload typing challenge?

  • @ThomazMartinez
    @ThomazMartinez Год назад +1

    Web view is Browser running JS, this is not converting to native code like C++, buulding in pure React Native without WebView nonsense will give you better performance and better App like feel

    • @thedevenvironment
      @thedevenvironment  Год назад

      Agreed, also kinda annoying how the WebView flashes quickly, although could hide that behind a loading spinner if needed.

  • @DanceManAlex
    @DanceManAlex Год назад +1

    Hey man question, how would you handle cookies? i can see the httponly cookie being returned but it doesnt set. Is there a work around?
    or do i need to handle jwt access and refresh tokens another way for react native web?

    • @thedevenvironment
      @thedevenvironment  Год назад

      so what I do in this case, is I read the cookies (using a library of your choice) and then I save them to asyncStorage on native, so that I can use them to call APIs etc.