• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Adobe AIR Rich Media notifications on iOS 10+

Community Beginner ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

Does anyone able to implement Rich media push notifications for iOS?

My findings:

I'm working on Adobe AIR iOS application and want to implement rich media notifications through Native extensions(ANE). I'm creating iOS static library for ANE with UNNotificationServiceExtension implementation. Also adding serviceextension.appex file as Target Dependency in Static Library target. But not able to add serviceextension.appex in platformoptions.xml packagedDependencies.

Flash code, I've enabled UIBackgroundModes for remote notification.

<key>UIBackgroundModes</key> <array> <string>remote-notification</string> </array>

Service extension code is not getting called and notification is shown without rich media image. Please let me know whether its possible to implement in Adobe AIR or I'm doing something wrong.

TOPICS
Development

Views

507

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Dec 19, 2017 Dec 19, 2017

This can be done, but not as an ANE. You need to make a real iOS app extension in XCode just like in Apple's developer guides. To do this you have to first set up an xcode 'wrapper' project, and you'll have to repackage your app after building it with ADT to add the iOS app extension. This is a very old archived blog post but it pretty much tells you exactly what you need to do to set up the project, short of actually creating the extension(s), for which you can just follow Apple's docs. You can

...

Votes

Translate

Translate
Contributor ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

LATEST

This can be done, but not as an ANE. You need to make a real iOS app extension in XCode just like in Apple's developer guides. To do this you have to first set up an xcode 'wrapper' project, and you'll have to repackage your app after building it with ADT to add the iOS app extension. This is a very old archived blog post but it pretty much tells you exactly what you need to do to set up the project, short of actually creating the extension(s), for which you can just follow Apple's docs. You can even debug these with breakpoints, imagine that

https://web.archive.org/web/20170423101015/http://blogs.adobe.com/rajorshi/2011/11/18/debugging-nati...​

It might seem scary and it is a bit of a pain to set up initially but it works, we have a NotificationServiceExtension and a NotificationContentExtension working fine. Good luck

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines