PushNotifications

Adobe AIR native extension

Push Notifications Adobe AIR Native Extension

The extension is available here: com.distriqt.PushNotifications

Documentation



Configuring your application

1. Add the Extension
2. Initialise the Extension


Notification services

1. Apple Push Notification Service
- Requirements
- APNS Data Packet
- Certificates
- Info Additions
2. Google Cloud Messaging
- Required ANEs
- Set up the GCM Service
- Manifest Additions
3. Firebase Cloud Messaging
- Required ANEs
- Android Manifest Additions
- iOS Info Additions
4. Microsoft Azure Notification Hub
- Required ANEs
- Android
- iOS


Setup, authorisation, and registration

1. Setup your Service
- Service Type
- Categories and Actions
- Channels

- Service Type Details:

- Azure
2. Request Authorisation
3. Register for notifications
4. Topics


Notifications

1. Receiving notifications
2. Handling startup notifications
3. Notification Scenarios


Other features:

1. Set Badge Number
- Android
- Android 8.0



Payloads

1. iOS APNS Payload
2. FCM / GCM Payload


Sending Messages

1. iOS APNS
2. GCM
3. FCM


External Links

- ASDocs
2017.09.19 [v6.8.083]

Updated documentation for background image

2017.09.19 [v6.8.082]

Android 8.0: Notification Channels + Badges Android: Added background image (resolves #239)

2017.09.01 [v6.7.074]

Updated documentation

2017.09.01 [v6.7.074]

Microsoft Azure Notification Hub implementation (resolves #227) Separated variants into directories Android: Implemented badge count from notification data (resolves #221)

2017.08.04 [v6.6.031]

Updated FCM SDK (Android v11.0.4, iOS v4.0.4)

2017.07.10 [v6.5.028]

Updated Android file paths

2017.07.10 [v6.5.027]

Updated FCM SDK (Android v11.0.2, iOS v4.0.3) FCM ability to subscribe to a topic (resolves #111) Android: Added setBadgeNumber for supported Android devices (resolves #141) iOS: Better handling of registration events (#213, #188)

iOS 10: Centralisation of new notifications delegate (resolves #177, resolves #201, resolves #219)

2017.06.16 [v6.4.006]

Updated FCM iOS v4.0.2

2017.06.10 [v6.4.005]

Updated FCM to Android v11.0.0, iOS v4.0.1

2017.06.10 [v6.4.005]

Updated FCM to Android v11.0.0, iOS v4.0.1

2017.05.31 [v6.3.047]

Update to Firebase (FCM) SDK (Android v10.2.6, iOS v4.0.0)

2017.05.02 [v6.2.044]

Corrected accidental inclusion of debug config files (#208)

2017.04.13 [v6.2.043]

Correction for should cancel on action (resolves #203)

2017.04.12 [v6.2.038]

Android: Small fix for startup notifications

2017.04.11 [v6.2.036]

Corrected priority with GCM (#196)

2017.04.06 [v6.2.033]

Updated documentation

2017.04.06 [v6.2.033]

Android: Added ability to set the number of notifications in groupSummary (resolves #197) Android: Added ability to set priority for headsup notifications (resolves #196) Android: Corrected sound access permissions

2017.03.23 [v6.2.028]

iOS: Corrected inclusion of frameworks that would break app store submission

2017.03.15 [v6.1.024]

Android: Corrected FCM registration process (resolves #184) iOS: Added additional checks on authorisation status (resolves #185)

2017.03.01 [v6.1.019]

Android Update for Google Play Services v10.2.0

2017.02.23 [v6.1.018]

Updated Firebase iOS SDK to v3.13 (resolves #180)

2017.02.08 [v6.1.014]

Corrected issue displaying notifications from particular data (resolves #176) Android: Update to Google Play Services v10.0.1

2017.01.30 [v6.1.012]

Updated to Google Play Services v10.0.1

2017.01.18 [v6.1.004]

Updated documentation

2017.01.18 [v6.1.004]

Updated documentation

2017.01.12 [v6.1.004]

Updated documentation image links

2017.01.12 [v6.1.004]

Updated documentation to include service setup tutorials

2016.12.30 [v6.1.004]

New documentation

2016.12.30 [v6.1.004]

New documentation

2016.11.25 [v6.1.004]

Added topic subscriptions Android: Updated to Play Services v9.8.0

2016.11.23 [v6.0.034]

iOS: Fixed issue with startup auth status being denied on iOS 10

2016.10.28 [v6.0.031]

iOS 10 update (resolves #145, resolves #142) Firebase Cloud Messaging (#130, resolves #70)

2016.09.01 [v5.3.005]

Added ability to open the application device settings (resolves #138)

2016.08.02

Updated far latest Google Play Services libraries

2016.07.22

iOS: Fixed issue with hideAneLibSymbols (resolves #133)

2016.07.16

Updated to be compatible with latest support ANEs (#123)

2016.07.02

Android: Corrected double notification issue on startup when register before activation Android: Added ‘willLaunchApplication’ option to actions to allow app to start

2016.05.03

iOS: Resolved conflicts with GameServices (resolves #104)

2016.04.12

iOS: Corrected authorisation status value

2016.04.12

iOS: Corrected authorisation status value

2016.03.28

Updated readme

2016.03.28

Complete refactor of the API to allow for future development Update registration method (resolves #69) Implemented Actions Implemented Expanded notifications Implemented Group notifications Custom icons (resolves #10, resolves #88) Background/silent notifications (resolves #76)

2015.10.20

Fix for error when no notification specified and application not running (resolves #67)

2015.09.24

iOS 9 updates (#57)

2015.09.17

Android: Added custom large notification icons (resolves #5) Android: Added custom notification sound (#5) Android: Added lights setting Android: Added a cancelAll function to remove notifications (resolves #40) Android: Added customisation of variable names to help integration with other platforms (eg OneSignal)

2015.06.16

Android: Windows: Fix for bug in AIR packager resulting in missing resources

2015.06.16

Removed debug code from AS lib iOS: Updated to latest common lib Android: Windows: Fix for bug in AIR packager resulting in missing resources Android: x86 Support

2015.03.16

Android: Fix for incorrectly detecting manifest reciever (#28)

2015.03.13

Android: Corrected issue when no id supplied in payload

2015.03.13

Updated documentation

2015.03.13

Android: Corrected issue with wrong notification data being passed when multiple notifications have been displayed (resolves #24)

2015.03.05

Separated common app delegates into Core ANE to resolve conflicting ANEs issues

2015.02.10

Images for second tutorial

2015.02.10

Images for first tutorial

2015.02.10

Fixed issue with classes not importing correctly in FlashBuilder 4.6 (resolves #16) iOS: Permissions implementation to allow developer to display permission dialog at appropriate time (resolves #12)

2015.02.03

Added check for .debug suffix in application id

2014.12.22

iOS: Included arm64 support (resolves #3) Android: Corrected application id check when doesn’t contain air prefix

2014.12.17

Added SELECTED notification event dispatched when the user selects a notification Android: Corrected application id check when doesn’t contain air prefix

2014.12.08

Corrected missing EventDispatcher functions from base class iOS: Implemented autoreleasepools for all C function calls

2014.12.01

New application based key check, removing server checks

01-11-14

Added header image

01-11-14

Android: Addition to correctly handle an invalid id value