iOS Tutorial Show an image in remote/push notification

Mac, Local Build Server, and Xcode are needed.

Now you can show an image in push notification just like android.

Usually in ios, the system handles the push notification. But there is an app extension called Notification Service Extention which allows you to modify the notification content. By default, this cannot be done from B4i itself. Check the following tutorial to show an image notification.

NOTE: In this tutorial, NSE means Notification Service Extension

Requirements:
  1. Mac OS
  2. Local Build Server
  3. Xcode (latest preferred)
  4. Access to Apple Developer Account
  5. A real device for testing (optional)
  6. Patience!

Limitations:

Create App ID and Provisioning Profile:
Setup B4i Project for NSE:
Add NSE to your B4i Project:
Notification Payload Structure:

Remember: On new release build B4i will clear the project folder. So you have to add the NSE to your B4i project for each and every release build.
 

Attachments

  • NotificationService.txt
    3.2 KB · Views: 389
  • 1597950703185.png
    27.8 KB · Views: 379
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…