-
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
Push is not coming on Release builds after update from 5.15 to 5.16 #2365
Comments
Same. Thanks @emartinson |
I faced the same issue I think. Firebase messaging 3.3.0. First install - push is working on iPhone 5s, second launch of the app, push is not working. |
This how I was sent by firebase support: Thanks for reaching out. |
Thanks for the report and sorry about the issues. It sounds like another Firebase SDK is attempting to get |
@emartinson Thanks for the detailed info. Do you happen to call any Firebase API before [FIRApp configure] call? |
@emartinson just wanted to check - is the version of Firebase Analytics correct from your pasted output?
The version of Analytics set with Firebase 5.16.0 still 5.5.0 |
Please fix the issue as soon as possible. I also have troubles with receiving push messages after updating Firebase to the latest version. |
I suppose not. We found this issue during regress and checked almost all changes since latest release - no calls before [FIRApp configure] |
Yes. that's correct. That might happen because we used ~> 5.0 for all Firebase pods:
I also saw this line during updating cocoapods:
|
@tipoc123 Can you also share the log when you run "pod update"? |
Sorry, I've already updated my pods:
|
Possibly, my push messages are not working because of other reason. For example, my apple developer account is in process of migration from an individual to an organization. I'm waiting for the end of migration and will check push messages again. |
@tipoc123 Yeah if your apple developer account is updated, your APNS token will change and old FCM token will not work. The client will update with the new FCM token that can be used to send notification. |
This should be addressed in 5.17.0 which was released today. Please re-open if you still have issues. |
Hi @ryanwilson , we still have issues even in 5.20.1 and it all started after updating from 5.15 (we did the update in January and that's when we started receiving push notifications not working reports). It seems people have been reporting since 5.16 in another closed issue: #2372. Should we reopen either? |
Environment
Problem
Recently I've updated pods using specs:
which made an upgrade from:
The issues is - in DEBUG configuration - I'm receiving Push Notifications. But when exported for Production (AdHoc and AppStore) builds - no Push Notifications.
Steps to reproduce:
Run App in DEBUG configuration
Send Push notification - Push is delivered to device
Change XCode Scheme settings. For Run :
4.1 select build configuration = Release (or some which is used for AdHoc distribution)
4.2 uncheck 'Debug executable' - this is necessary to run release build on device
Alternatively you may distribute AdHoc or AppStore build via any system you use (TestFlight, HockeyApp, AppCenter, Crashlytics).
Expected - Push is delivered
Actual - Push is not delivered
In console log I see:
5.16.0 - [Firebase/InstanceID][I-IID003009] Failed to fetch default token Error Domain=com.firebase.iid Code=1005 "(null)"
and strange line:
5.16.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add
[FIRApp configure];(
FirebaseApp.configure()in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
despite the fact it is configured in:
Rolling back to 5.15.0 has solved the issue.
The text was updated successfully, but these errors were encountered: