Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8741627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:21:00+00:00 2026-06-13T11:21:00+00:00

I am using push notifications extension and getting an error : ReferenceError: Error #1065:

  • 0

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 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:21:02+00:00Added an answer on June 13, 2026 at 11:21 am

    Well the problem was resolved by opening the project properties panel , in the actionscript build packaging selecting Apple ios, there under the native extensions tab select package for all the extensions needed in the project.

    The confusing part here for me was that there are 2 places than need to add the native extensions, one is the actionscript build path and the second is the actionscript build packaging.

    The step of renaming the package to .swc and adding it to the build is not need from what I understand.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on getting push notifications to work using PhoneGap and Android. Pushwoosh seems
I am using push notification via urbanairship.com. Urbanairship also provides rich push notifications. I
I implemented push notifications using APNS-PHP http://code.google.com/p/apns-php/ on my server. I now have to
I am using push notifications module. One of my friend did an app for
Im using restkit and push notifications and I have also built the interface, so
I am using the APNS for receiving push notifications in my application. The problem
Is there an alternative to using Google C2DM for push notifications with Android? I
im using simple vector push_back to object of Type A and getting this error
The first time a user launches an iOS app using push notifications they are
I am working on an iPhone app which is using push notifications from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.