Closed pankaj541998 closed 11 months ago
Hi @pankaj541998 What is the Android version of the test device? Below Android 6?
I am using Android version 13. And the device Model Name OnePlus 11R.
When i am using the device android version 12 or below its working fine.
@pankaj541998
I cannot reproduce the error.
I don't have a physical device with Android 13. I'm using the emulator.
Is your project using FlutterActivity or FlutterFramentActivity?
The most recent or upcoming devices come equipped with the latest version. Consequently, how can we effectively utilize them? I currently employ FlutterActivity in my projects.
Sorry i can't understand, can you elaborate this.
hi @pankaj541998
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 pubspec.yaml
, according to the example below:
#flutter_branch_sdk: ^7.0.1
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.
Sure, let me know what i have to do ? What you want me to just change the code provided above in your YAML file, right?
Sure, let me know what i have to do ? What you want me to just change the code provided above in your YAML file, right?
correct. you need to update pubspec.yaml to use a version that is available on Github and not on pub.dev.
Thanks.
Fixed in version 7.0.2
Describe the bug PlatformException(error, Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?, null, 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 A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (Please complete the following information. remove session if not platform):
Flutter: version: [e.g. 2.2.3]
Package version: [e.g. 3.3.0] Latest Version
Device: [e.g. Oneplus 11R]
Web (please complete the following information. remove session if not platform):
Flutter: version: [e.g. 2.2.3]
Package version: [e.g. 3.3.0]
OS: [e.g. Windows, Mac, Linux]
Browser [e.g. chrome, safari, edge]
Version [e.g. 22]
Additional context
Continuously showing same Exception i run the your example also but getting error.
Unhandled Exception: PlatformException(error, Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag.
Please check the Screen shot mention 👎