Closed hanifmhd closed 3 years ago
hi @hanifmhd ,
I am sorry you are having troubles but I can not reproduce this problem with fresh react-native project.
Have you followed migration guide for version 3 ?
I would also recommend going over the quickstart guide in order to make sure your integration is correct.
Given available information I would speculate you are missing setBuildConfig
in your MainApplication.java
.
If the error still exists I would ask you to share a demo project which demostrates this problem.
thanks.
hi @hanifmhd ,
I am sorry you are having troubles but I can not reproduce this problem with fresh react-native project.
Have you followed migration guide for version 3 ? I would also recommend going over the quickstart guide in order to make sure your integration is correct. Given available information I would speculate you are missing
setBuildConfig
in yourMainApplication.java
.If the error still exists I would ask you to share a demo project which demostrates this problem.
thanks.
hi @maxkomarychev ,
Thank you so much for your guidance, i just read the changelog and there is additional configuration for v3 above.
I missed the quickstart guide about setBuildConfig
.
Right now, it's working well on Android and iOS, appreciate your help. Thank you.
Describe the bug
I just upgraded lib to the latest version,
v3.3.1
. Then i runyarn rnuc .env
, but it cannot load webview url, always return error. I try to install all lib version, onlyv2.2.0
that can run url in webview.Steps to Reproduce
ANDROID_URL=https://google.com
yarn rnuc .env
Expected behavior
load that url in webview
Stacktraces, logs, screenshots
error [TypeError: Network request failed]
Environment
Integration option
rnuc
CLI to inject environment (default integration option from quickstart guide)react-native-ultimate-config
within monorepo managed with Lerna or Yarn Workspaces Monorepo supportEnv file
Example of env file that is causing problems
OS
Packages
react-native
: 0.62.2react-native-ultimate-config
: ^3.3.1Run
react-native info
and post below:Additional context
Add any other context about the problem here.