-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Sign in alert shown inconsistently when triggered in viewDidAppear #8096
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
Labels
Comments
I found a few problems with this issue:
|
a-25
added a commit
to a-25/firebase-ios-sdk
that referenced
this issue
Dec 11, 2021
a-25
added a commit
to a-25/firebase-ios-sdk
that referenced
this issue
Jan 14, 2022
a-25
added a commit
to a-25/firebase-ios-sdk
that referenced
this issue
Jan 22, 2022
a-25
added a commit
to a-25/firebase-ios-sdk
that referenced
this issue
Jan 22, 2022
a-25
added a commit
to a-25/firebase-ios-sdk
that referenced
this issue
Jan 22, 2022
a-25
added a commit
to a-25/firebase-ios-sdk
that referenced
this issue
Jan 29, 2022
a-25
added a commit
to a-25/firebase-ios-sdk
that referenced
this issue
Jan 29, 2022
tejasd
added a commit
that referenced
this issue
Sep 29, 2022
#10288) * Simple fix for #8096 * Update FirebaseAppDistribution/CHANGELOG.md Co-authored-by: Nick Cooke <[email protected]> Co-authored-by: Nick Cooke <[email protected]>
This has been fixed for single scene apps in Firebase SDK version: 10.1.0 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[REQUIRED] Step 1: Describe your environment
CocoaPods
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Storyboard
checkForUpdate
fromviewDidAppear
Expected behavior: on first launch and on subsequent launches before signing in, the SDK should show the "Enable new build alerts" alert.
Actual behavior: It is inconsistent. Often the alert will show up on first launch, but not on subsequent launches. Sometimes not even on first launch.
Relevant Code:
Debugging the SDK locally, the issue appears to be with this line:
firebase-ios-sdk/FirebaseAppDistribution/Sources/FIRAppDistributionUIService.m
Line 208 in f920f2f
Sometimes, the scene has not become active by the time
viewDidAppear
is called. In that case we do not find a foreground scene here, and the alert cannot be shown. This is illustrated by a workaround wherecheckForUpdate
is triggered from the SceneDelegate'ssceneDidBecomeActive
instead.The text was updated successfully, but these errors were encountered: