Skip to content

2.2.0

Compare
Choose a tag to compare
@Anush-Shand Anush-Shand released this 05 Apr 10:27
· 16 commits to master since this release
1b2f0db

⚠️ NOTE
2.2.0 produces a crash, please update to 2.2.1 and above.

What's new

API Changes

  • Removes all Xiaomi related public methods as the Xiaomi SDK has been discontinued. Details here.
  • Changes the function definition of setPushToken to setPushToken: function (token, type) i.e it no more accepts region as a parameter.

Bug Fixes

  • [Android Platform]

    • Extends the push primer callback to notify permission denial when cancel button is clicked on PromptForSettings alert dialog.
    • Fixes a crash due to NullPointerException related to deviceInfo.deviceId.
    • Fixes an ANR related to isMainProcess check.
    • Fixes an ANR due to eager initialisation of CtApi triggered by DeviceId generation.
    • Fixes an android build issue related to package name not found for apps with ReactNative version 0.70 or lower.
  • [iOS Platform]

    • Fixes a bug where client side in-apps were not discarded when rendering status is set to "discard".