OneSignalSDK 1.9.0 Release
With this new SDK we have added a set of new features based on your feedback in addition to some bug fixes. If you’re using the Corona Simulator you will automatically get this new version when you build with 2014.2511 or newer. Corona Enterprise users, this will be available in plugin downloads after CoronaEnterprisePlugins.2015.2647.tgz. If you’re still using our GameThrive SDK please follow our OneSignal Corona SDK Overview to get up to date with our new SDK.
Features
- EnableNotificationsWhenActive - (Android & Amazon devices only) - Set to true if you want notifications to show in the notification area when the user is in your app.
- EnableInAppAlertNotification - Set to true if you want notifications to show as a native alert when the user is in your app.
- SetSubscription - Set to false to unsubscribe the user from OneSignal push notifications.
- PostNotification - Allows you to send a notification from user to user or schedule a future one to the same device.
- Improved debugging from SetLoggingLevel
Fixes
- iOS - isActive is correctly set to false in the DidReceiveRemoteNotification callback when a user opens a notification from the notification center.
- Android - Fixed bug where DidReceiveRemoteNotification would stop firing after the user exited your app by pressing the back button.
- EnableSound and EnableVibrate now call the correct functions.
Feel free to post any questions or if you have any issues related to the new SDK here.