Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

Hi,
have push implemented, all certs and profile in place, app builds in appery as ipa and it validates and builds in xcode.

I followed the last webinar for push
https://www.youtube.com/watch?v=aHFVO...

I know this is for android, so am I missing something for ios
this is the error in the db

the app loads from xcode no prob, asks to be allowed to recieve push etc,
device is in db but token is undefined,
iphone 4s os 7.1
do I need to add the service manually for ios?

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

iopush, token undefined

Hi Michael,

Could you please post a Database screenshot with your deviceID values?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

No prob Katya,
here you go

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

Hi Katya,
just noticed this ; in the middle of the device id
353495345644012;fd028e61b1b06527

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

iopush, token undefined

Michael,

Could you please also post a screenshot of "Push notification" settings?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

OK

Image

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

iopush, token undefined

Hello michael,
I have the same problem as you...Also the device token is undefined,,,Im waiting to next release, so I can install .ipa from appery, and see if this error comes after exporting to xcode...
I installed my app from appery on an ipad (iOs 7.06) and notifications arrived.

Hope someone could help us to solve this,..

Cheers!

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

iopush, token undefined

Hello!

Please check Push settings in App settings - Push notifications. If device id is correct and token undefined most likely there are incorrect Push settings.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

Hi Maryna,
this is the in app settings

Image

I know the cert works, as the app displayed the allow push message when first loaded yesterday

this number in db for device id
353495345644012;fd028e61b1b06527
it the wrong number, its the wrong length and theres a ; in the middle of the number

I deleted this id from db and rebuilt the app from xcode, app didnt ask for permission when loaded this time, and hasnt registered in the db

dont know what else there is to test?

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

iopush, token undefined

[quote:]"it the wrong number, its the wrong length and theres a ; in the middle of the number[/quote]it's not a problem. 353495345644012;fd028e61b1b06527 is normal device id.
Could you try to build through Appery.io and install again? Check what is in token column in Devices collection.

Return to “Issues”