-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Complition handler InstanceID.instanceID().instanceID is not called after FirebaseApp.configure() #2445
Comments
Thanks for the report, I'll try to reproduce this shortly and report back here. cc @chliangGoogle |
@MamuninaNV I'm unable to reproduce the issue. Are you able to add a print statement and share the logs from the console in Xcode? A project that I can drag my own |
TestFirebase.zip |
|
Ah got it, thanks! I found the reason why this is happening:
It looks like @chliangGoogle can you please take a look? Thanks again @MamuninaNV for catching this. |
Reassigning to @maksymmalyhin who has some more bandwidth to look at it. |
Fixed in #2559 |
Thanks you all :) |
@maksymmalyhin Would you happen to know when this will be released? |
@falipate It should be available in the next version. |
Added to the |
Hello, do you know the version of the library that corrects this problem? Using Firebase (5.20.1) thanks |
Hello , I still have same issue my pod version Using Firebase (5.20.1) |
@ahmedAlmasri I had have backup my pod file and i restore it on an older version |
@ahmedAlmasri @AmandineDB I am not able to reproduce the issue with the originally provided test project and steps. Would you be able to provide updated ones please? If the steps are different, it may make sense to create a separate ticket. Thanks. |
@maksymmalyhin The same steps , But do not occur every time |
hello @maksymmalyhin, not exactly the same steps. I call and after a login I ask to register for APNS `func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
//not enter here
}` so I had have backup my pod file and i restore it on an older version and all is ok Have a good day |
hi @AmandineDB. I'm experiencing the same issue as you. Could you please provide the version you rolled back to? |
this is an extract of my podfile.lock :
|
Thanks for the response. It now works. I managed to set the version for each dependency and my Podfile look like this now. pod 'Firebase/Core', '5.19.0' |
@AmandineDB thank you for the provided steps and the workaround. It looks like a new issue. Would you like to crate a separate ticket? Also, I wonder, if you set the |
[READ] Step 1: Are you in the right place?
Yes
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
following is in my pod file of a new project
Relevant Code:
Completion handler NEVER get called. Nor result or error
But if add delay, like that:
All is work
The text was updated successfully, but these errors were encountered: