What's Changed
- Fix
requestPermission
to returnfalse
when permission is denied in #1591
Native SDK Updates
Update Android SDK to 5.0.4
- Update PropertiesModel's deserialization of tags to not use Model.initializeFromJson in OneSignal/OneSignal-Android-SDK#1884
- Retrieve current ADM PurchasingListener assuming it returns a nullable. in OneSignal/OneSignal-Android-SDK#1888
- Fix: Add synchronized blocks to prevent ConcurrentModificationException in OneSignal/OneSignal-Android-SDK#1876
- Update work-runtime dependency version in OneSignal/OneSignal-Android-SDK#1890
- General protection against exceptions that occur on a thread. in OneSignal/OneSignal-Android-SDK#1887
Update iOS SDK to 5.0.3
- Fix badge clearing when calling clearAll in OneSignal/OneSignal-iOS-SDK#1335
- Fix crash with direct influence but nil direct id OneSignal/OneSignal-iOS-SDK#1327
- Fix forwarding notification opens from non onesignal notifs OneSignal/OneSignal-iOS-SDK#1326
Full Changelog: 5.0.2...5.0.3