Can't upload APNS dev certificate for GCM - Unknown Error - google-cloud-messaging

I'm trying to upload a development APNS certificate to GCM at the "Obtain a Configuration File" step. I've tried different certs/p12 files as well as different app/bundle ids and nothing will let me upload the certificate. What's odd is that production certificate uploads okay. See screen shot. Any idea why this would happen?

I got a support response from google and what worked for me was to make a new app id in and app name/bundle id that matched. What I was doing before that didn't work:
iOS app ID: com.project.MyAppIOS
google app name: my app
bundle ID: com.project.MyAppIOS
This worked:
iOS app ID: com.project.MyApp
google app name: MyApp
bundle ID: com.project.MyApp
Thanks google for the quick response and help

Related

How can I get APNS Credential and update to Agora Console correctly?

I am having an issue regarding the Remote Notification for iOS for chat messages for https://console.agora.io/project/xxx/chat
I am not able to upload the Production Environment certificate for iOS for the push notification. I was able to upload the push certificate for the development environment. Screenshot is attached.
Add Push Certificate window
Can anyone help me out? thanks in advance!
Having a look here.Get APNS Credential and update to Agora Console I have the detailed process described with images, right from creating the certificate, to upload the certificate to Agora Console.

not able to receive push notification on ios device

I am implementing react-native-firebase to my app
i have followed steps from official document(https://rnfirebase.io/docs/v5.x.x/installation/ios) as well as some other similar blogs (https://medium.com/#anum.amin/react-native-integrating-push-notifications-using-fcm-349fff071591),
but I am not able to receive any notification on my real device,
I followed all steps excepts generating key's, ID, and provisioning as I had already these while publishing my app
i have tried to send a notification from firebase console like below
and from postman
it shows succeed but no notification on the real device
i have also tried with oneSignal it was showing some apns 3000 error with my device as below
I have tried below solutions like
1 changing search header path
2 link binary with library
3 re-creating provisioning profile
but nothing worked
I am expecting to just receive my first push notification I am
struggling from last three days please help.
the step i follow to integrate firebase are below,
1 Create ios Firebase Project and add the googleservice-info.plist into my project on the final step firebase was able to connect with my app as below SS
2 Install Native Firebase Core and Firebase Messaging Libraries (pods)
3 Install and Link react native firebase lib
4 i had already a key for APNs generated so i upload the .p8 file in firebase messaging setting with key ID and Team ID
5 i had already provisioning profiles which i generated at the time of app publish
6 finally i add pushnotification and remote capabilities and add some code in appdelegate h&m files as suggested in documentation
Updating XCode from 9.4 to 10.1 helped me to solve my issue
the issue was with some of my provisioning profile downloaded earlier
I had already published the same code with some UI changes with XCode 9.4 but I never receive any suggestions/warning from apple
but this time when I publish the app with updated XCode 10.1 I received below email from Apple which gave me the right direction to find the solutions
then i follow the below answer
Missing Push Notification Entitlement
and solve my issue by delete the all Provisioning profile on my local machine, then re-download and install the Provisioning profile from the Provisioning Portal.

GCM firebase not showing APNs certificate in for IOS configuration

I have uploaded a .p12 file for IOS notification in GCM fire base. after uploading the file it is also showing "No certificate uploaded". please help in this.
Try uploading the certificate in this iOS GCM link instead. Firebase uses FCM in the Firebase console so you might have chosen the wrong place.

Apple Push Notification issue

I am trying to implement APNS for my App and am hitting a wall while trying to generate a provisioning profile. I followed the instructions to create an APP id and was able to generate an SSL certificate for my App (the type is shown to be APNs development IOS). However, when I try to generate a provisioning profile, following the screen where I choose the AppID of my app, I do not see the SSL certificate I generate for this app. In the certificates list, I only see a certificate of type 'IOS development' that was created previously. I have been stuck on this issue for a while. Can someone please help?
Thanks
I resolved my own query. we need to add iOS development certificate while creating profile for APNS. You should have the p12 of that iOS development certificate.

Modal alert request for push notifications

debuggers,
I have created an app that embeds push notifications.
For one or other reason the user does not get asked for permission on the first load.
In the past I have used push notification and everything seemed to work, the code for is pretty much "copy-pasted".
I requested a certificate from a certificate authority (keychain)
I enabled push notification and downloaded a new certificate
Uploaded the certificate to apple and received a validated development and distribution certificate.
I downloaded a new development + production provisioning profile.
I signed the app with the provisioning profile.
When I open the provisioning profile in textedit I do see the following key:
aps-environment
I used this profile to sign the app and install it on to the device!
I have tried several methods like setting the time on my phone to days ahead, rebooting, re-installing.
I use urban airship as a push service!
Does anyone have any idea what is going wrong?
Do you have [UAPush setDefaultPushEnabledValue:NO] set by any chance?
By setting this value to NO UrbanAirship delay prompting users to enable push notifications until you are ready to ask. This gives you a chance to explain what they are used for instead of it popping up right when the app starts.
Then later you can enable them by calling
UIRemoteNotificationType notificationTypes = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];