Open thekevinbrown opened 2 years ago
Thank you for reporting this. @jaynewstrom-okta could you take a look at this when you have a chance?
@thekevinbrown ....I got this error if i run it on emulator. code worked fine on simulator.
guide me how to clear this error. error screenshot is attached
The only solution we as consumers of the library have is to clean and rebuild over and over again until the timing manages to work out. It sometimes takes 7 or 8 builds on my machine for it to work. If Okta declare the dependencies correctly this will go away for people.
Seeing the same. Wondering why this is happening, seems to not happen to everyone. I've also seen the same on @react-native-community/netinfo (https://github.com/react-native-netinfo/react-native-netinfo/issues/639), but that went away.
It also happens with:
Describe the bug?
We often experience the following issue when trying to build our React Native application for Android:
What is expected to happen?
I expect the build to work reliably.
What is the actual behavior?
When this error occurs, we clear the build caches then rebuild and are able to build successfully. It seems that there are undeclared dependencies between your build steps, as we also see a bunch of warnings like so:
Reproduction Steps?
Build the application with the React Native CLI. We're currently running
Additional Information?
A great starting point would be to declare the dependencies between the build steps, which I suspect would resolve this error.
SDK Version
2.5.0
Build Information