Skip to content

Commit

Permalink
Fixing ios initialization part in ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzemehdi authored Sep 15, 2024
1 parent 29def58 commit fe729de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ class AppDelegate: NSObject, UIApplicationDelegate {
//By default showPushNotification value is true.
//When set showPushNotification to false foreground push notification will not be shown.
//You can still get notification content using #onPushNotification listener method.
NotifierManager.shared.initialize(configuration: NotificationPlatformConfigurationIos(showPushNotification: true))
NotifierManager.shared.initialize(configuration: NotificationPlatformConfigurationIos(
showPushNotification: true,
askNotificationPermissionOnStart: true)
)

return true
}
Expand Down

0 comments on commit fe729de

Please sign in to comment.