I have integrated the SDK and getting push notification to the listenser.
let config = UAConfig.init()
config.developmentAppKey = "xx-x-xx-x-x-x-x-x-x-x-x"
config.developmentAppSecret = "xx-x-xx-x-x-x-x-x-x-x-x"
UAirship.setLogLevel(UALogLevel.trace)
UAirship.takeOff(config)
UAirship.push().defaultPresentationOptions = [.alert, .badge, .sound]
Next step is I need to send some custom key and value to the notification when it reaches the app and I click on it, it should have listened in the app and to navigate to a particular page according to the key I received.
[In clear I will send an ID like an id: 1234 and it should be parsed when clicked the notification and it should go the page and display the contents in that id]
Comments
1 comment