freshplanet / ANE-Push-Notification

Air Native Extension (iOS and Android) for Push Notification
Apache License 2.0
205 stars 104 forks source link

extCtx is null #10

Closed aburafia closed 7 years ago

aburafia commented 11 years ago

i got files from master blanch.

i only change

after ,i did ant. ant says BUILD SUCCESSFUL. after, i publish AIR for Android. Flash says SUCCESS. but it didnt start. in debug mode log, "extCtx is null".

what should i do?

my environment is osx 01.8.2 java version "1.6.0_37" xcode Version 4.5.2


build.config name = AirPushNotification flex.sdk = /Applications/Adobe Flash Builder 4.7/sdks/4.6.0 bin.ext = ios.sdkversion = iphoneos6.0

rewb0rn commented 11 years ago

Same here after a simple recompile, were you able to fix the problem?

If you just want to replace the notification icon, I actually found an easier way: Just rename the .ane to .zip and navigate to the Android/res folder, here you can place your icon into the zip manually.

aburafia commented 11 years ago

no, i could not fix this problem.

i gave up. i wanted to change around payload of Android side.

now, i using other way, someday i want to try it.

rewb0rn commented 11 years ago

Yeah the way they load the image only for Facebook instead of using a url in the first place is really strange, I want to change it as well..

Thanks for your reply.

ryopei commented 11 years ago

Same problem occurred too.

If you are using a Java7 SDK, try changing to Java6 SDK.

arnovanoordt commented 10 years ago

I ran into the same issue but I found I forgot to add <extensionID>com.freshplanet.AirPushNotification</extensionID> to the extensions-tag. Mentioning this in the readme Installation-section wouldn't hurt ;)

zing1911 commented 9 years ago

@arnovanoordt Which file is added "com.freshplanet.AirPushNotification" ?

arnovanoordt commented 9 years ago

It should be added to the Application Descriptor File (manifest) like this: `

eu.alebianco.air.extensions.analytics.NativeGATracker

`