Skip to content

Latest commit

 

History

History
356 lines (242 loc) · 19.3 KB

CHANGELOG.md

File metadata and controls

356 lines (242 loc) · 19.3 KB

Version 1.8.0

Features

  • Preparation work for a future change in transmission protocol and endpoint for Analytics data. There is no impact on your current workflow when using App Center.

Fix

  • To prevent crashes, caused by misusing SDK, native modules will no longer reject promises. #386
  • As a consequence Crashes.generateTestCrash does not crash in release Android builds to align with the other Android SDKs (Java and Xamarin), and iOS builds in App Store environment no longer crash when calling that same method to align with Apple and Xamarin SDKs.

Misc

  • Enhanced Pod integration process by adding dependencies to target with the current project name. #369
  • Enhanced android linking process. #370
  • Changelog file added. #382

Version 1.7.1

Bugfixes

  • Fix AppCenterReactNativeShared pod version issue for appcenter-crashes module. #361

Version 1.7.0

Features

[App Center Push Android] The Firebase messaging SDK is now a dependency of the App Center Push SDK to be able to support Android P and also prevent features to break after April 2019 based on this announcement. You need to follow some migration steps after updating the SDK to actually use Firebase instead of the manual registration mechanism that we are providing. The non Firebase mechanism still works after updating the SDK but you will see a deprecation message, but this will not work on Android P devices until you migrate. After updating the app to use Firebase, you will also no longer see duplicate notifications when uninstalling and reinstalling the app on the same device and user.

Bugfixes

  • Fix jest tests mock path issue. #340

Misc

  • SDK supports react-native v0.56.0.
  • This release includes the changes from the underlying AppCenter Apple SDK in version 1.8.0. Please check out its changelog.
  • This release includes the changes from the underlying AppCenter Android SDK in version 1.7.0. Please check out its changelog.

Version 1.6.0

Bugfixes

  • Fix jest tests failure when importing App Center packages. #303
  • Fix framework imports that break CocoaPods install. #319
  • Update Android build tools to the latest version 27.0.3. #320
  • Remove Android support library that isn't used anywhere. #328

Misc

  • This release includes the changes from the underlying AppCenter Apple SDK in version 1.7.1. Please check out its changelog.
  • This release includes the changes from the underlying AppCenter Android SDK in version 1.6.1. Please check out its changelog.

Version 1.5.1

Bugfixes

  • Fix recursive header expansion and argument list too long issue. #290
  • Shorten log tags for Android bridge code to address tag too long issue on Android API <= 23. #300
  • Fix App Center log not working issue. #301

Misc

  • This release includes the changes from the underlying AppCenter Apple SDK in version 1.6.1. Please check out its changelog.
  • This release includes the changes from the underlying AppCenter Android SDK in version 1.5.1. Please check out its changelog.

Version 1.5.0

Bugfixes

  • Make "Vendor" folder part of the framework search path. #275
  • Make push notfication title and message null but never undefined. #277

Misc

  • Refined on-boarding prompt message of react-native link. #271
  • Allow using cocoapods without react native link #244
  • This release includes the changes from the underlying AppCenter Apple SDK in version 1.6.0. Please check out its changelog.
  • This release includes the changes from the underlying AppCenter Android SDK in version 1.5.0. Please check out its changelog.

Version 1.4.0

Bugfixes

  • Returns NO from requiresMainQueueSetup() in iOS native modules to avoid react native warnings. #238
  • Adds LICENSE.md to Products folder to make cocoapod integration easier during SDK release process. #250
  • Fixes react-native 0.53 prompt glitches when linking. #252
  • Avoid android link duplicates for appcenter in react-native 0.53. #254
  • Improves error handling in react-native android linker script. #256
  • Adds GitHub Issue Template. #258

Misc

  • This release includes the changes from the underlying AppCenter Apple SDK in version 1.5.0. Please check out its changelog.
  • This release includes the changes from the underlying AppCenter Android SDK in version 1.4.0. Please check out its changelog.

Version 1.3.0

This release contains a bug fix.

Bugfixes

  • Support CocoaPods 1.4 #237

Known Issue

react-native link for this and earlier releases using React Native versions above 0.52.2 does not work properly with our SDK. We are currently investigating this, but in the meantime, please use version 0.52.2.


Version 1.2.0

This release contains bugfixes and a breaking change. The SDK now requires iOS 9 or later.

Bugfixes

  • Fix warnings when sending crashes without a listener. #192
  • The test app doesn't show an error when a binary attachment is not present. #193
  • Fix a bug where Analytics.trackEvent doesn't allow message with no properties. #202
  • Perform a case-insensitive search for AppDelegate based on package.json. #213
  • Don't check for the platform when checking for the pod command. #217

Misc

  • This release includes the changes from the underlying AppCenter Apple SDK in version 1.3.0. Please check out its changelog.
  • This release includes the changes from the underlying AppCenter Android SDK in version 1.2.0. Please check out its changelog.

Version 1.1.0

Features

  • [Android] The Firebase SDK dependency is now optional. If Firebase SDK is not available at runtime, the push registers and generate notifications using only App Center SDK. The Firebase application and servers are still used whether the Firebase SDK is installed into the application or not. The SDK is still compatible with Firebase packages. But if you don't use Firebase besides App Center, you can now remove these packages and refer to the updated getting started instructions to migrate the set up. Migrating the push set up in the application remains optional.
  • [iOS] Support brownfield iOS app with Podfile to install using react-native link (with react-native v0.50 or later) #177. See example Podfile here.
  • appcenter-crashes getErrorAttachments callback now works with ES2107 async/await functions #179. Please see Add attachments to a crash report of App Center documentation for more information.

Bugfixes

  • Fix a bug where the license is not included in AppCenterReactNativeShared CocoaPod #174
  • Fix a bug in appcenter-crashes module to make sure crashes won't get processed when crashes is disabled #181

Misc


Version 1.0.1

Bugfixes

  • Fixes an issue in React Native iOS where Crashes.setListener() sometimes doesn't get the callback when iOS application launches too quickly.

Misc


Version 1.0.0

Visual Studio App Center General Availability (GA).

Breaking Change

This version contains breaking changes due to the renaming from Mobile Center to App Center. If you have existing apps using Mobile Center SDK, please follow the react-native sdk migration guide to upgrade to App Center SDK.

Misc


Version 0.11.2

Bugfixes

  • Fix a compiler warning in RNCrashes native module #153

Misc


Version 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. 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


Version 0.10.0


Version 0.9.0


Version 0.8.1


Version 0.8.0


Version 0.7.0

This update contains fixes some issues in our new push & custom properties functionality:

  • When the user taps on a push notification message to launch the app, the notification info is now properly passed along to the push callback
  • Custom properties of type 'Date' are now handled properly, with the right data type
  • The MobileCenter class now has a getInstallId method, returning the Mobile Center device unique identifier. It can be useful in debugging.

If you are not using Cocoapods, use frameworks from the version 0.10.1 of the Mobile Center SDK for iOS.


Version 0.6.1

  • Fixed naming issue with RNMobileCenterShared modulemap. This problem caused RNMobileCenterShared import not found errors in 0.6.0, but those should disappear with this fix.

Version 0.6.0

  • Updated to use 0.10.x versions of the iOS and Android native Mobile Center SDKs.
  • Added new mobile-center package to handle common Mobile Center functionality, including support for custom properties and setting the logging level.
  • Added callback support for Push.
  • Added the ability to set custom properties. Custom properties are name/value pairs you set on the client which are then sent to Mobile Center. They can be used in the Mobile Center web portal to create targeted audiences for push notifications, based on the value of those properties. And in the future you'll be able to use them for other things in Mobile Center too.
  • Improved error messages for the react-native link step. Also updated to no longer prompt for app secret during react native link if the app secret is already set; instead we just output the current value of the app secret along with the path where it's stored if the dev wants to change it manually. That all makes for a more streamlined getting started experience.

Version 0.5.0

  • Updated to use new 0.9.x versions of the iOS and Android native Mobile Center SDKs.
  • Added support for Mobile Center Push. That's in the new mobile-center-push package.
  • Improved error handling in the react-native link scripts.
  • Renamed Analytics.getEnabled to Analytics.isEnabled, to be consistent with the other RN modules and native SDKs, which all use isEnabled. This also fixes a bug on Android where that method didn't exist.

Version 0.4.0

  • Updated to use new 0.6.x version of the iOS and Android native Mobile Center SDK.
  • Updated RN mobile-center-analytics/mobile-center-crashes dependencies accordingly

Version 0.3.0

  • Updated to use new 0.5.x version of the iOS native Mobile Center SDK.
  • That SDK update had one breaking API change: [Misc] setServerUrl method has renamed to setLogUrl.

Version 0.2.1

Changed iOS build flags:

  • Added bitcode support for release builds. Building your app with bitcode isn't encouraged, as it complicates uploading symbols for Mobile Center crash stack traces, but now it's possible if desired.
  • Added some security related compiler flags, making consistent with the Mobile Center native iOS SDK
  • Build for release

Version 0.2.0

This version has breaking changes.

With this update, the React Native Mobile Center SDK now wraps the latest native Mobile Center SDKs: iOS SDK 0.4.x and Android SDK 0.5.x.

API changes Crashes.hasCrashedInLastSession() and Crashes.lastSessionCrashReport() and now methods; they were formerly constants. They are also async methods. This change was needed since those two APIs are now async on Android, in order to support strict mode. On iOS, the wrapped native SDK methods are synchronous and the JavaScript versions just post a response right away.

APIs related to crash attachments have been removed, as that feature isn't yet available. Previously the APIs could have been called but didn't do anything, which was confusing. We'll add the APIs back when the feature ships.


Version 0.1.0

Initial release.