Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
# AirPushNotification AirPushNotification is an ADOBE AIR Native Extension (ANE) to send push notifications to user devices It works both for iOS and Android devices. On iOS devices, it uses Apple Push Notification Services: https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingWIthAPS/CommunicatingWIthAPS.html On Android devices, it uses Android Cloud to Device Messaging Service. :https://developers.google.com/android/c2dm/ # Use You can use this method to register for push notification token: - PushNotification.getInstance().registerForPushNotification(GOOGLE_PLAY_ACCOUNT); You don't need a Google play account for iOS Devices. Once the user has given his permission: an event PushNotificationEvent.PERMISSION_GIVEN_WITH_TOKEN_EVENT is sent. # Installation The ANE is already compiled. You can find it under the folder Binaries. If you want to recompile it, just run ant in the same directory, after changing the parameters (called properties) in build.xml. # IOS Compilation The iOS library has been compiled using the sdk iOS 4.3 and deployment target set to iOS 4.0, using GCC 4.2. This ANE has NOT been tested with an sdk version superior to iOS 4.3. It is distributed under Apache 2.0 license.