I am using push notifications extension and getting an error :
ReferenceError: Error #1065: Variable com.freshplanet.nativeExtensions::PushNotification is not defined.
These are the simple steps I followed so far:
1) added the extension in the properties/actionscript build path/native extensions . it is with a green flag and the .ane is located in my libs folder
2) added the extensionid to my app.xml file
<extensions>
<extensionID>com.freshplanet.AirPushNotification</extensionID>
</extensions>
3) registered in the app constructor :
PushNotification.getInstance().registerForPushNotification();
4) Do the following steps, which use Flash Builder 4.5.1:
Change the filename extension of the ANE file from .ane to .swc. This step is necessary so that Flash Builder can find the file.
Select Project > Properties on your Flash Builder project. Select the Flex Build Path in the Properties dialog box.
In the Library Path tab, select Add SWC....
Browse to the SWC file and select Open.
Select OK in the Add SWC... dialog box.
The ANE file now appears in the Library Path tab in the Properties dialog box.
Expand the SWC file entry. Double-click Link Type to open the Library Path Item Options dialog box.
In the Library Path Item Options dialog box, change the Link Type to External. Now you can compile your application using, for example, Project > Build Project. This is all done on iPad
Thanks for the help :-)