OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Xamarin app with OneSignal. https://onesignal.com
Other
104
stars
50
forks
source link
State Getter Implementations and Null Reference crash fix #267
Additional state getters and fixes for null reference crash on notification open for Beta 2 release of OneSignal-Xamarin-SDK 4.0.0
Details
Motivation
The getters for Subscription States provide an API for users to read the device's Notificiation Permissions and Subscription states
Notifications received could cause a null reference exception on click
Delayed Android observers to avoid throwable thrown by initialization before initWithContext.
Scope
Add getters for Device State, Notification Permission, Push Subscription State, Email Subscription State, and SMS Subscription State. The State getters are read only and cannot be edited directly
Xamarin Android Notification fix to null reference crashes on notification open
Delay Android observers initialization
Minor Cleanup and fixes
Public API Changes
The documentation will need to be updated for Xamarin to provide these new methods.
DeviceState, NotificationPermission, PushSubscriptionState, EmailSubscriptionState and SMSSubscriptionState
Description
Line Summary
Additional state getters and fixes for null reference crash on notification open for Beta 2 release of OneSignal-Xamarin-SDK 4.0.0
Details
Motivation
initWithContext
.Scope
Public API Changes
The documentation will need to be updated for Xamarin to provide these new methods.
DeviceState
,NotificationPermission
,PushSubscriptionState
,EmailSubscriptionState
andSMSSubscriptionState
This change is![Reviewable](https://reviewable.io/review_button.svg)