-
Notifications
You must be signed in to change notification settings - Fork 97
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
Flutter Branch SDK doesn't auto reinitialise when we use the GoogleSignIn method for Signing IN only in Android #416
Comments
I will evaluate. |
HI @RodrigoSMarques |
Not yet. I'll look into it in the next few days. |
I tried to run your project on the latest version of Flutter and it didn't work. What version are you running it on? |
@RodrigoSMarques My flutter version is Flutter 3.27.1 What issue did you face when trying to run the project? |
FAILURE: Build failed with an exception.
BUILD FAILED in 457ms ┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ |
[✓] Flutter (Channel stable, 3.29.0, on macOS 15.3.1 24D70 darwin-arm64, locale pt-BR) [335ms] [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [1.478ms] [✓] Xcode - develop for iOS and macOS (Xcode 16.2) [810ms] [✓] Chrome - develop for the web [9ms] [✓] Android Studio (version 2024.2) [9ms] [✓] VS Code (version 1.97.0) [8ms] |
@RodrigoSMarques Can you try it with the upgraded gradle properties ![]() It looks like due to JDK 21 it is not compiling |
Unfortunately I can't run the project
I am creating a project adding GoogleSign to analyze |
Keep the template and provide all requested information:
Describe the bug
Flutter Branch SDK doesn't auto reinitialise when we use the GoogleSignIn method for Signing IN.
As Google SignIn creates new activity, when we are finished with it, the MainActivity of the App resumes, but the branch sdk doesn't resume in this particular flow.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected behaviour is that after the siginin screen is completed, the main activity is resumed with the branch sdk
Logs
Mobile (Please complete the following information. remove session if not Mobile):
FlutterSDK: version: 3.27.1
flutter_branch_sdk version: 8.2.0
OS: All Android version
Additional context
This is the life cycle flow that is actually happening
onActivityPaused → MainActivity
onActivityCreated → SignInHubActivity
onActivityStarted → SignInHubActivity
onActivityResumed → SignInHubActivity
onActivityPaused → SignInHubActivity
onActivityResumed → SignInHubActivity
onActivityPaused → SignInHubActivity
onActivityResumed → MainActivity
But on the final onActivityResumed when MainActivity is resumed the branch sdk is not being called which should be
The drive link shared contains the below
The text was updated successfully, but these errors were encountered: