-
Notifications
You must be signed in to change notification settings - Fork 92
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() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag #266
Comments
problem under analysis here #261 |
Hi @sohaib37104 I fixed the bug, but I need help testing the changes in different scenarios. Can you help me with testing the new version before publishing it on pub.dev? Update #flutter_branch_sdk:
flutter_branch_sdk:
git:
url: https://github.com/RodrigoSMarques/flutter_branch_sdk.git
ref: v7.0.2-dev I'm waiting for the test results. Thanks. |
Hi @RodrigoSMarques |
Hi @RodrigoSMarques I have check now in my application its working perfectly fine Thank you very much for listening to my request i greatly appreciate your effort.thanks |
Fixed in version 7.0.2 |
Describe the bug
Clicking on link and going to app through chrome working fine but i when i am going through "App Links that open URLs directly into an app" is giving this errror.
E/MethodChannel#flutter_branch_sdk/message(14070): Failed to handle method call
E/MethodChannel#flutter_branch_sdk/message(14070): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
E/MethodChannel#flutter_branch_sdk/message(14070): Failed to handle method call
E/MethodChannel#flutter_branch_sdk/message(14070): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Deep link need to go to specific screen in my app when i go thorught my app not chrome.
Screenshots
Smartphone (Please complete the following information. remove session if not platform):
Flutter: version: [e.g.3.13.0]
Package version: [e.g.flutter_branch_sdk: ^7.0.1]
OS: [Android 11]
Device: [Realme C25]
Additional context
i have configured the branch dashboard configuration i am sharing the screenshot of branch dashboard.
i hope you understand my situration if you need more information about issue let me know thanks.
waiting for your feedback.
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: