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
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
Add comment