Skip to content

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

Notifications You must be signed in to change notification settings

alfianlosari/iOSCustomInteractivePushNotification

Repository files navigation

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"
}

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published