Home
Softono

IOSCustomInteractivePushNotification

Open source Swift
31
Stars
7
Forks
0
Issues
2
Watchers
6 years
Last Commit

 About IOSCustomInteractivePushNotification

A simple demo showcasing interactive custom push notification UI that has several custom UI

Platforms

Web Self-hosted macOS iOS

Languages

Swift

Links

Need Help Installing IOSCustomInteractivePushNotification?

We provide expert installation service for this software. Our team will install, configure, and secure IOSCustomInteractivePushNotification on your server. plans start at just $30.

IOSCustomInteractivePushNotification

View on GitHub

Interactive Custom Push Notification UI with Simulated Remote Push Notification

Alt text

A simple demo showcasing interactive custom push notification UI that has several custom UI:

  • Video Player using XCDYoutubeKit
  • Star Rating control using Cosmos
  • A plain UITextView
  • Several UIButton

Requirement

  • Xcode 11.4

Installation

  • Clone and run the project from simulator
  • Use the provided APNS file in the project to drag and drop to target simulator
  • Replace the app id using your own app id
  • Set the value of Simulator Target Bundler key in the apns file to your app id
  • Open the notification preview

Sample APS Payload

Make sure the extension of the file is apns (not .JSON)

{
   "aps" : {
      "alert" : {
         "title" : "A new trailer has arrived for you",
         "body" : "Fast and Furious F9 Official Trailer"
      },
      "category" : "testNotificationCategory",
      "sound": "bingbong.aiff",
      "badge": 3,
   },
   "videoId" : "Kopyc23VfSw",
   "description": "Release date: 05-21-2020",
   "Simulator Target Bundle": "com.alfianlosari.apnspushsimulate"
}