Skip to content

AIR Native Extension to open the Notification Settings for an iOS app. From there the user can choose to toggle Push Notification Settings.

Notifications You must be signed in to change notification settings

robbieboyd-io/ANEOpenSettings

Repository files navigation

ANEOpenSettings

This AIR Native Extension allows iOS8+ devices to be directed to the Notifications Center. This is handy when you want to prompt the user to toggle their Push Notification settings for inside your app.

Note: This is is just iOS8+ as this feature is relatively new. You may need to add instructions to direct the user to Notification Center on previous version of iOS. This can be checked by using ANEOpenSettings.isSupported.

Example

if(ANEOpenSettings.isSupported())
{
    ANEOpenSettings.instance.openSettings();
} else {
    trace(this + " : this version of iOS is not supprted for this ANE");
}

I used the word "this" a lot.

About

AIR Native Extension to open the Notification Settings for an iOS app. From there the user can choose to toggle Push Notification Settings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published