Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

ios notification not working

After finishing Android push notification, i am working on IOS ANPs right now. But I can't receive any messages. Here is what I done:

  1. Apply ios developer certificate, apn certificate, id and ...

  2. export the .p12 apn cer and upload it in ios setting on your website.

  3. export the xcode project, and run with all those certificate.

  4. enable the app's notification on the iphone and run. In the log, you can see 'didRegisterForRemoteNotificationsWithDeviceToken:' and 'App successful registered at Appery Push service'.

  5. send a message, but cannot receive any notification on the iphone.

    To be clear:

  6. I do define handler to handel incoming notification, everything works on Android.

  7. My apple developer id is fine.

  8. the id is fine and apn cer is on the same id.

    So is there something that I missed? How to fix this?

    By the way, it seems that all JS stops on IOS even when the screen is off. I don't want them run in background. But how to make them alive for just turn off the screen on IOS?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

ios notification not working

Hi - what iOS version you are using?

[quote:]
By the way, it seems that all JS stops on IOS even when the screen is off. I don't want them run in background. But how to make them alive for just turn off the screen on IOS?
[/quote]

Can you describe more specific what are you trying to get as a result?

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

ios notification not working

Hi, I am using ios 6.1 and 5.1 with xcode 4.6. I am still not getting messages from IOS APNs. Can you help me?

For the last question:
I have many timers working on my application, and try to track GPS data while the app is running. On Android, everything is fine. But on IOS, once I turn off the screen(not press home button), all JS stops. That is my problem for now.

Is that a limitation on IOS? can we do something to make them alive?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

ios notification not working

Hi Shuang - we need to test this on a device. Can you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a

On your second question: off the top of my head, I think it's an iOS limitation.

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

ios notification not working

Shared with support, what else do you need?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

ios notification not working

app name

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

ios notification not working

'GoodGym' under a href="mailto:liushuang.me@gmail.com" rel="nofollow"liushuang.me@gmail.com/a

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

ios notification not working

if you need login with this app, try username: 'runner4', psw:'1'

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

ios notification not working

thank you! ok

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

ios notification not working

Sorry, having some problems with iOS certificates (need to update it), we'll continue when have updated certificates.

Return to “Issues”