0.11.1
Breaking Change
Crashes.process()
API that process crashes in JavaScript is deprecated and removed from this version.Crashes.setListener()
API is introduced to provide more functionality and flexibility of processing crashes in JavaScript. For more information, please see Customize your usage of Mobile Center Crashes.Crashes.setEventListener()
API that get sending status for a crash log is deprecated and removed from this version. UseCrashes.setListener()
API instead. The three callbacks inCrashes.setEventListener()
are renamed inCrashes.setListener()
as follow:willSendCrash()
->onBeforeSending()
didSendCrash()
->onSendingSucceeded()
failedSendingCrash()
->onSendingFailed()
Push.setEventListener()
API is renamed asPush.setListener()
, and the callback is renamed as follow:pushNotificationReceived()
->onPushNotificationReceived()
New Feature
Crashes.setListener()
provides the following callbacks:shouldProcess()
callback allows you decide if a particular crash needs to be processed or not.shouldAwaitUserConfirmation()
andCrashes.notifyUserConfirmation()
callback allows you wait for user confirmation before sending crashes.getErrorAttachments()
callback allows you to add attachments to a crashe report
For more information, please see Customize your usage of Mobile Center Crashes.
Bugfixes
- Fix a bug in Android that JS send events before native Java loads would crash application #135
Misc
- This release also includes changes from underlying iOS SDK:
- This release also includes changes from underlying Android SDK: