Skip to content

0.11.1

Compare
Choose a tag to compare
@dhei dhei released this 30 Oct 21:25
· 2225 commits to develop since this release
099ebd6

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. Use Crashes.setListener() API instead. The three callbacks in Crashes.setEventListener() are renamed in Crashes.setListener() as follow:
    • willSendCrash() -> onBeforeSending()
    • didSendCrash() -> onSendingSucceeded()
    • failedSendingCrash() -> onSendingFailed()
  • Push.setEventListener() API is renamed as Push.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() and Crashes.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