urbanairship.com - Unable to push notifications via urbanairship to APNS -


i using apns app in development mode. integrated urban airship per getting started document provided on portal:

created certificate in apple provisioning portal. imported .p12 file urban airship app(in dev mode debug enabled)

now when open application, shows me alert , asks me permission enable notification. once done , try test push message urban airship portal device using device token generated, common error:

apple push service rejected device token "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

i searched on google , found common problem; no solution. answers mention prod , dev environment conflict cause, not case in case did not create prod app in urban airship nor in apns dev certificate. settings in airshipconfig.plist are:

app_store_or_ad_hoc_build : no   development_app_key: xxxxxxxxxxx    development_app_secret: xxxxxxxxxx   

(not master secret, dev app secret.)

nowhere did find response user asked question , later got resolved. so, not sure how people resolved when got stuck. suggests recheck environment conflicts, not there in case.

if has idea, please suggest possible solutions blocker our release. pls respond if generic error gets urban airship, , if free ua account not feasible service testing.

i've been fighting these issues last few days. thing fixed me creating non-wildcard identifier using development provisioning profile.
until did able have app_store_or_ad_hoc_build : yes

things worth checking:

  • provisioning profile set development
  • application bundle id matches urban airship bundle id.
    can check urban airship bundle id used going to:
    1. settings
    2. api keys
      (see right hand side , there should box contains ios bundle id.)
  • finally make sure keys in plist match.

also know, cannot test push notifications simulator. hope helps.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -