Ios
constructor(showPushNotification: Boolean = true, askNotificationPermissionOnStart: Boolean = true, notificationSoundName: String? = null)
Parameters
showPushNotification
Default value is true, by default when push notification is received it will be shown to user. When set to false, it will not be shown to user, but you can still get notification content using
askNotificationPermissionOnStart
Default value is true, when library is initialized it will ask notification permission automatically from the user. By setting askNotificationPermissionOnStart false, you can customize to ask permission whenever you want.
notificationSoundName
Custom notification sound name. Default value is null. If set null, default notification sound will be played. Place the file in the Resources directory of your iOS target. Ensure the file is added to your target's "Build Phases" under "Copy Bundle Resources".