I'm currently trying to add firebase push notifications to iOS unity project in xcode, but nothing seems to work. Everything else works perfectly, and there is no problems with push notifications in the same project on android. No push notifications in testlight or in the released version from AppStore. Also the permission for using notification do not show up after launching.
PS I am not a developer, just a QA-engineer being asked to manage all the problems with iOS)
added push notifications capability
added remote notification capability
uploaded app APNs to firebase account
enabled push notifications in provisioning profile
added user notification usage description to info.plist
Nothing seems to work. I saw post about adding "registerForRemoteNotifications" string in AppDelegate but I can't find it in our project.
Related
I configured my app project starting from the documentation https://docs.gluonhq.com/ and using the GluonFX Gradle plugins.
But the push notifications are not working on iOS.
It is not displayed in the notification center, nor on the lock screen, nor in the banner.
Any solution?
I have Flutter Firebase auth configured and it is working perfectly with Android. But with ios, I cannot seem to get it to work.
Am using Xcode and Flutter on MacOS deploying to a physical iphone()14.4) and I have followed the instructions:
Added googleservice-info.plist into project via Xcode.
Under Signing and capabilities in Xcode, Provisioning profile, Team , Bundle identifier, Signing certificate(Apple Development certificate) configured with no errors. Push Notifications(Release) also enabled.
In developer.apple.com, under Identities->myapp, I have enabled Push Notifications. I have also created development and production SSL certs inside Push Notifications. Also created key for Apple Push Notifications service (APNs).
In my Firebase project, I have added iOS apps and all the fields are populated. Under Cloud Messaging, in iOS apps, I have uploaded the APN key and both development and Production certs I got from Apple Developer.
I run 'flutter run --release' (I am using a physical iphone(14.4)) because debug mode is not allowed on 14.4. App installs successfully. I am able to navigate pages and even register email/pw with Firebase. But when I do a Firebase phone auth (verifyPhoneNumber), I keep getting an error as indicated by a snackbar error I coded in. Problem is that I cannot get the specific error from the logs since I have deployed using release and flutter logs remain blank.
I don't know what else to do. Please help.
Figured it out. Problem was with URL Types under Info of target Runner. Had to add URL Scheme. For those who has this problem, refer to the below.
https://firebase.google.com/docs/auth/ios/phone-auth
iOS uses captcha with Firebase.
Im trying for a whole day now to get firebase push notifications working.
In almost every tutorial there is a toggle button for push notifications in xcode, in my setup i can not find the toggle button. I can add push notification in the Singing & Capabilities view. And I can see the pus notifications heading, however there is no toggle button.
Im a member of a apple developer team account do I need to get special permissions?
When I view the app config (i can not edit the config) at https://developer.apple.com/account/resources/identifiers/list I see the push notifications is checked.
Im running xcode 11.2.1 on osx 10.15.1
Any pointers are appreciated.
When looking at the capabilities 6 it states: push notifications.
I'm running into an issue with push notifications using Nativescript and Onesignal
Onesignal keeps telling me the app is missing push notifications in xcode.
But when I run the app, I do get the 'appname would like to send you notifications' message and under xcode everything seems to be set correctly.
I tried deleting the platforms folder, rebuilding the app and so on, but it remains the same message. When I change the app version, I do see the app version change on the onesignal platform, so the informations is passing but apparently apple does not let the notifications through.
Anyway to debug this? How can I be sure the app has push capabilities?
I am using Testflight Beta invitation mail to install app on iOS 8.1 iPhone 6.
App is getting installed however push notifications are not being received.
Do I need to add UDID in provisioning profile for push notifications to work ?
If so, How Push notifications will work for Apple's External Testers on Testflight Beta ?
Because this feature doesnt need to add UDIDs of devices in provisioning profiles.
Thanks.
Do I need to add UDID in provisioning profile for push notifications to work ? If so, How Push notifications will work for Apple's External Testers on Testflight Beta ?
There is no need of linking UDID's to the provisioning profile for Push Notifications under Testflight Beta External Testers.
There would be some other problems releated to push notifications. These can be:
Your certificate (PEM file) is not correct on the server end.
You are using sandboxing.gateway for sending push notifications. Then remove the sandboxing environment for this.
The device notifications settings are on for your app.
The device token you are sending to server is correctly used for sending right push notifications.
Some times push notifications get delayed due to some server issues.
Hope it helps.
Harry