Search Issue Tracker
Fixed
Fixed in 2.2.2
Votes
0
Found in [Package]
2.2.1
Issue ID
MNB-60
Regression
No
Remote Notification Presentation Options for iOS are not used with Register for Push Notification on App Launch disabled
When using the Mobile Notifications package on iOS the Remote Notification Foreground Presentation Options are not used when the Register for Push Notification on App Launch option is disabled.
This means that for a user to make use of their presentation options they need to always have the "Register for Push Notification on App Launch" option enabled.
In the attached pngs you can see both the settings menu and the code where the issue is present. In the native generated code you can see that there is an if statment that stops these presentation options from being applied in the case of authorize on launch is disabled.
How to reproduce:
1. Download the attached "iOS Register For Push" project
2. Build and deploy the project to iOS (make sure "Request Authorization on App Launch" is disabled)
3. Select the Cookie option
4. Observe the notification that appears after the loading bar fills
Expected outcome: Notification will respect the foreground presentation options
Actual outcome: Notification will not respect the foreground presentation options
Reproducible with: 2022.3.5f1 (user-provided info)
Reproduced with: iPhone XR (user-provided info)
Note: Unable to reproduce on any LTS versions
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- OnTriggerExit2D events are not triggered when disabling Collider, despite "Callbacks On Disable" being enabled
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
- [Ubuntu] Possible for Create menu to show sections with no options inside
- [Usability] Not possible to set Editor Window text colour to be default black without workaround
Add comment