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
- ”Last item reached” warning is thrown when no search results are found in UI Toolkit Layout Debugger
- UI Elements overlap in the Shortcuts window when docked and resized to a smaller window size
- UIBuilder DataSourcePath dropdown fails to show properties when binding to abstract classes
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
Add comment