react-native-onesignal icon indicating copy to clipboard operation
react-native-onesignal copied to clipboard

I do not want the permission request that you open the application.

Open umutkocak opened this issue 2 years ago • 1 comments

Description:

I do not want the permission request that you open the application. Environment

"react-native": "0.68.2",
"react-native-onesignal": "^4.3.11",

Code:

Ekran Resmi 2022-07-27 15 04 02

umutkocak avatar Jul 27 '22 12:07 umutkocak

Hi @umutkocak,

I apologize for the delayed response. This SDK will not automatically show the push permission prompt when the application is opened. You call the method OneSignal.promptForPushNotificationsWithUserResponse() to show it.

kOSSettingsKeyAutoPrompt existed in version 3.x.x but is now deprecated.

nan-li avatar Aug 12 '22 23:08 nan-li