File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 44<dict >
55 <key >CFBundleDevelopmentRegion </key >
66 <string >en </string >
7+ <key >CFBundleDisplayName </key >
8+ <string >OneSignalExample </string >
79 <key >CFBundleExecutable </key >
810 <string >$(EXECUTABLE_NAME) </string >
911 <key >CFBundleIdentifier </key >
Original file line number Diff line number Diff line change 55 <key >CFBundleDevelopmentRegion </key >
66 <string >$(DEVELOPMENT_LANGUAGE) </string >
77 <key >CFBundleDisplayName </key >
8- <string >OneSignalDevApp </string >
8+ <string >OneSignalExample </string >
99 <key >CFBundleExecutable </key >
1010 <string >$(EXECUTABLE_NAME) </string >
1111 <key >CFBundleIdentifier </key >
Original file line number Diff line number Diff line change @@ -707,7 +707,7 @@ + (void)initSettings:(NSDictionary*)settings {
707707 providesAppNotificationSettings = [settings[kOSSettingsKeyProvidesAppNotificationSettings ] boolValue ];
708708
709709 // Register with Apple's APNS server if we registed once before or if auto-prompt hasn't been disabled.
710- if (usesAutoPrompt || registeredWithApple) {
710+ if (usesAutoPrompt || ( registeredWithApple && !self. currentPermissionState . ephemeral ) ) {
711711 onesignal_Log (ONE_S_LL_VERBOSE, @" uses auto prompt or registered with apple" );
712712 if (usesAutoPrompt)
713713 onesignal_Log (ONE_S_LL_VERBOSE, @" uses auto prompt" );
You can’t perform that action at this time.
0 commit comments