-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling startActivity() #1
Comments
I haven't encountered this problem in the example test project - have you tried building and running it? And are you by any chance using react-native-navigation in your project? Since React Native is mono-activity by default, This SO answer indicates the quickest fix would be to set the Currently this module uses the However, I will investigate if it's possible to obtain a reference to the current activity via the parent class, as I think passing the Activity context instead of the Application context would resolve this issue. |
On further investigation, it's OK to use the |
The above commit is published in v1.0.1 |
i have an error while lunch google maps
Error: Calling startActivity() from outside of an activity context requires the FLAG_ACTIVITY_NEW_TASK flag. is this really what you want ?
can you tell me how to fix this ?
The text was updated successfully, but these errors were encountered: