iOS Soft Prompt
Use a soft-prompt in-app message to request push notification permission from users with full context before launching the native iOS permission prompt
OneSignal suggests to use an In-App Message when requesting push notification permission from the user rather than immediately triggering the native iOS permission prompt. Referred to as a "Soft Prompt" this allows you to provide your users context on the nature of the push notifications they can expect to receive, including frequency of notifications. It also helps address the consideration that you can only ever prompt the native iOS permission prompt once.
If the user agrees to the in-app message prompt, you can then show the iOS permission prompt. If they decline the in-app message prompt and tap "Maybe Later" you can repeat the process again at another point, for instance after sign-up or a purchase.
Refer to the OneSignal documentation for steps to configure an iOS soft prompt within the OneSignal portal or programmatically via API.
Updated about 2 months ago