iOS Push notification (APNS) not working in Phonegap build

If you think that something doesn't work in Aware IM post your message here
Post Reply
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

iOS Push notification (APNS) not working in Phonegap build

Post by softserv »

Hello Support,

We are trying to create iOS build through Phonegap with push notification functionality. We have followed below given steps to create certificate.p12 file and provisioning profile file as mentioned in AwareIM 'How To' guide as well.
----------------------------------------------------------------
Steps

1. Create App in https://developer.apple.com/account/ios ... ier/bundle
2. Go to certificate menu and create new https://developer.apple.com/account/ios/certificate/ Requesting a new certificate
3. Open the keychain on your computer. From the menu you select "Certificate assitant" and choose "Request a certificate from a Certificate Authority (...)".
4. Enter your Apple-ID email adress and click on "Save to disk". Also check the checkbox below, saying something about setting the keys to use.
5. You should be prompted for a passphrase for your freshly made keys. Enter something and write it down somewhere.
6. Upload your Certificate Request file (you created above) and wait until the certificate is issued (may take a few minutes, refresh the site a few times). If your certificate shows as issued, download it.
7. Now click on the "Provisioning" section. You can either create a new provisioning profile or edit an existing one. Make sure to have your certificate enabled in the profile you're going to use.
8. Now you have a .mobileprovision file and a certificate (.cer) - there is still one missing: The certificate/key bundle (*.p12) - let's create it!
9. Open the keychain tool on your computer. Import the certificate by selecting "File" > "Import object" from the menu.
10. The certificate should now show up below the key you used to request the certificate. Right-click on your key and select "Export".
----------------------------------------------------------------
After following all the above steps, we were able to generate certificate and .ipa file via Phonegap. But while testing, .ipa file (ios build), iPhone does not get registered. Hence, push notification functionality is also not working.

This looks like a bug. Please let us know if so and a probable fix date.
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: iOS Push notification (APNS) not working in Phonegap bui

Post by softserv »

Hi Support team - Do you have any update on the issue reported?
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: iOS Push notification (APNS) not working in Phonegap bui

Post by aware_support »

What do you mean that the file "is not registered" and what does it have to do with Aware IM?
Aware IM Support Team
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: iOS Push notification (APNS) not working in Phonegap bui

Post by softserv »

All - We found the root cause of the issue. It was a device issue. We have got another iOS device registered successfully and push notifications are working as expected.
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
Post Reply