Fixing occasionally setting badge number on background thread
- Setting the application badge count will now always occur on the main thread #970
Always validating that mallocs are successful
- OneSignal now always validates that manual memory allocation is successful. #969
This release corresponds to OneSignal-iOS-SDK Release 3.6.1