We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
var
1 parent 5195ff4 commit 0fd1a6bCopy full SHA for 0fd1a6b
src/index.ts
@@ -183,7 +183,7 @@ export default class OneSignal {
183
static promptForPushNotificationsWithUserResponse(fallbackToSettingsOrHandler?: boolean | ((response: boolean) => void), handler?: (response: boolean) => void): void {
184
if (!isNativeModuleLoaded(RNOneSignal)) return;
185
186
- var fallbackToSettings = false;
+ let fallbackToSettings = false;
187
188
if (typeof fallbackToSettingsOrHandler === "function") {
189
// Method was called like promptForPushNotificationsWithUserResponse(handler: function)
0 commit comments