- [Breaking change] Remove
AppCenter.setCustomProperties
API.
- [Feature] Improved
AES
token encryption algorithm usingEncrypt-then-MAC
data authentication approach.
- [Feature] Add support for tracking handled errors with
Crashes.trackError
.
- [Fix] Fix build failure on Xcode 13, because of warning
completion handler is never used
. Only observable when SDK is integrated as source code. Workaround: SetTreat Warnings as Errors
toNo
in target's build settings. - [Improvement] Update PLCrashReporter to 1.10.0.
- [Feature] Add a
AppCenter.setNetworkRequestsAllowed(bool)
API to block any network requests without disabling the SDK.
- [Fix] Fix umbrella header warnings in Xcode 12.5.
- [Fix] Remove old support libraries for compatibility with apps without enabled Jetifier tool.
- [Fix] Fix error nullability in crashes delegate.
- [Fix] Merge the device information from the crash report with the SDK's device information in order to fix some time sensitive cases where the reported application information was incorrect.
- [Improvement] Update PLCrashReporter to 1.9.0.
- [Feature] Use XCFramework format for the AppCenterReactNativeShared pod, it allows running the SDK on Apple Silicon simulators.
- [Feature] Support Mac Catalyst. Cocoapods 1.10.1+ is required.
- [Improvement] Use ASWebAuthenticationSession for authentication on iOS 12 or later.
- [Fix] Fix formatting of stack trace in the
ErrorReport
.
- [Fix] Fix
double-quoted
warnings in Xcode 12. - [Fix] Fix a crash when SQLite returns zero for
page_size
. - [Feature] Use XCFramework format for the binary distribution via CocoaPods. CocoaPods version 1.10+ is a requirement now.
- [Fix] Fix removing throwable files after rewriting error logs due to small database size.
- [Fix] Pin podspec dependencies to prevent a conflict between major releases of npm packages and dependant pods.
- [Breaking change] Bumping the minimum Android SDK version to 21 API level (Android 5.0), because old Android versions do not support root certificate authority used by App Center and would not get CA certificates updates anymore.
- [Fix] Fix
Undefined symbols for architecture x86_64
on Xcode 12. - [Fix] Fix
NSInvalidArgumentException
when using non-string object as a key inNSUserDefaults
. - [Fix] Fix
NSDateFormatter
initialization in a concurrent environment. - [Fix] Fix naming conflict with iOS 14 private Apple framework.
- [Improvement] Update PLCrashReporter to 1.8.0.
App Center Push has been removed from the SDK and will be retired on December 31st, 2020. As an alternative to App Center Push, we recommend you migrate to Azure Notification Hubs by following the Push Migration Guide.
- [Fix] Pin podspec dependencies to prevent a conflict between major releases of npm packages and dependant pods.
- [Fix] Fix sending attachments with a
null
text value.
- [Fix] Fix an
IncorrectContextUseViolation
warning when calculating screen size on Android 11. - [Fix] All SQL commands used in SDK are presented as raw strings to avoid any possible static analyzer's SQL injection false alarms.
This version has a breaking change on iOS - it drops Xcode 10 support, Xcode 11 is a minimal supported version now.
- [Fix] Fix crash when local binary data (where unsent logs or unprocessed crashed are stored) is corrupted.
- [Fix] When carrier name is retrieved incorrectly by iOS, show
nil
as expected instead of "carrier" string.
- [Fix] Fix possible delays in UI thread when queueing a large number of events.
- [Improvement] Update PLCrashReporter to 1.7.1.
- [Fix] Fix reporting stacktraces on iOS simulator.
- [Improvement] Use namespaced
NSUserDefaults
keys with the MSAppCenter prefix for all the keys set by the SDK. Fixed a few keys missing namespace.
- [Improvement] Update PLCrashReporter to 1.6.0.
- [Fix] Remove the multiple attachments warning as that is now supported by the portal.
- [Improvement] Update PLCrashReporter to 1.5.1.
- [Fix] Change minidump filter to use file extension instead of name.
- [Fix] Fix removing minidump files when the sending crash report was discarded.
- [Fix] Fix dependency vulnerabilities in the appcenter-link-scripts package and in the appcenter package
devDependencies
.
- [Fix] Fix an error where appcenter.podspec.json could not be found when using CocoaPods version 1.8.x.
- [Fix] Fix issues with
use_frameworks!
directive. - [Fix] Fix an issue where React Native SDK would not send wrapperSdk information.
- [Fix] Optimization of release objects from memory during the execution of a large number of operations.
- [Fix] Disable module debugging for release mode in the SDK to fix dSYM warnings.
- [Fix] Fix SDK crash at application launch on iOS 12.0 (
CTTelephonyNetworkInfo.serviceSubscriberCellularProviders
issue). - [Fix] The SDK was considering 201-299 status code as HTTP errors and is now fixed to accept all 2XX codes as successful.
- [Improvement] Replaced sqlite query concatenation with more secure bindings.
- [Fix] Fix infinite recursion when handling encryption errors.
App Center Auth is retired and has been removed from the SDK.
App Center Data is retired and has been removed from the SDK.
- [Fix] Fix incorrect app version when an NDK crash is sent after updating the app.
- [Behavior change] Change the path to the minidump directory to use a subfolder in which the current contextual data (device information, etc.) is saved along with the .dmp file.
- [Improvement] Update PLCrashReporter to 1.4.0.
- [Fix] Improve log messages for errors when it failed to read/write auth token history.
- [Fix] Fix sending crashes if an application is launched in background.
- [Fix] Validate error attachment size to avoid server error or out of memory issues (using the documented limit which is 7MB).
- [Fix] Fix an issue where crash might contain incorrect data if two consecutive crashes occurred in a previous version of the application.
- [Fix] Validate error attachment size to avoid server error or out of memory issues (using the documented limit which is 7MB).
- [Fix] Fix typescript compiler errors related to const enum usage and missing return types.
- [Fix] Fix warnings in Xcode 11 when SDK is installed via CocoaPods.
- [Fix] Avoid throwing an error when
trackEvent
is called with null property values.
- [Fix] Fix typescript compiler errors related to const enum usage.
- [Fix] Fix typescript compiler errors related to const enum usage.
- [Fix] Fix dependency vulnerabilities in all App Center packages.
- [Behavior change] Fix a security issue in the way native Android crashes are processed. The exception message is now
null
and the exception stack trace is the raw Java stack trace.
- [Fix] Reduced retries on Data-related operations to fail fast and avoid the perception of calls "hanging".
- [Fix] Fixed a react-native link issue for RN prior to 0.60 where App Center pods may be added incorrectly to Podfile.
- [Fix] Fix token storage initialization if services are started via
[MSAppCenter startService:]
method. - [Fix] Redirect URIs are now hidden in logs.
- [Fix] Fix interactive sign in on iOS 13. Temporary fix, will be revisited in the future.
- [Feature] Updated the Microsoft Authentication Library dependency to v0.7.0.
- [Fix] Fix crash involving SDK's
ms_viewWillAppear
method.
This version of App Center React Native SDK includes a new module: Data.
The App Center Data service provides functionality enabling developers to persist app data in the cloud in both online and offline scenarios. This enables you to store and manage both user-specific data as well as data shared between users and across platforms.
- [Feature] App Center Auth logging now includes MSAL logs.
- [Fix] Fix silently signed out on application restart if appcenter-auth module is initialized after other appcenter modules.
- [Fix] Redirect URIs are now hidden in logs.
- [Feature] Catch low memory warning and provide the API to check if it has happened in last session:
Crashes.hasReceivedMemoryWarningInLastSession()
.
- [Fix] Fix confusing information log about the availability of the Firebase SDK.
- [Fix] Fix sending the push installation log after delayed start.
- [Feature] Support React Native 0.60.0.
- [Fix] Remove unsecure UUID fallback when UUID generation theorically fails, in reality it never fails.
- [Fix] Check for running in App Center Test will now work when using AndroidX instead of the support library.
- [Fix] Drop and recreate the database when it is corrupted.
- [Fix] The in memory cache of error reports is now cleared when disabling Crashes.
- [Fix] Fix incorrect file name of iOS appcenter-auth.podspec of Auth SDK.
Version 2.1.0 of the App Center React Native SDK includes a new module: Auth.
App Center Auth is a cloud-based identity management service that enables developers to authenticate application users and manage user identities. The service integrates with other parts of App Center, enabling developers to leverage the user identity to view user data in other services and even send push notifications to users instead of individual devices.
- [Fix] Fix a crash when calling
Push.setEnabled
whenappcenter.json
contains both"start_automatically": false
and"enable_push_in_javascript": true
. - [Fix] Update Firebase dependency and AppCenter push logic to avoid a runtime issue with the latest Firebase messaging version 18.0.0.
- [Fix] Fix registering push notifications in the UI thread when delaying the start of the Push module.
Version 2.0.0 has a breaking change, it only supports Xcode 10.0.0+.
- [Feature] Removed interactive prompts when running
react-native link
. The documentation now has instructions how to manually configure the SDK. - [Fix] Add missing licence copyright headers to most of the files. The
.md
extension has been removed in package licence files.
- [Fix] Fix a crash at startup when the serialized
Throwable
file for an error report is not found.
- [Fix] Print an error and return immediately when calling
Crashes.notifyWithUserConfirmation
while not usingCrashes.setListener
.
- [Fix] Fix updating push installation when setting or unsetting the user identifier by calling
AppCenter.setUserId
.
- [Fix] Fix
react-native link
not patchingAppDelegate.m
correctly on React Native 0.59. - [Fix] Fix a crash in case decrypting a value failed.
- [Fix] Fix network connection state tracking issue, which prevented sending data in some restricted networks.
- [Fix] Fix possible deadlock on changing network connection state.
- [Fix] Fix crash on invoking an optional push callback when it isn't implemented in the push delegate.
- [Fix] Fix a possible deadlock if the SDK is started from a background thread.
- [Fix] Fix a crash if database query failed.
- [Fix] The SDK normally disables storing and sending logs when SQLite is failing instead of crashing the application. New SQLite APIs were introduced in version 1.9.0 and the new API exceptions were not caught, this is now fixed.
- [Fix] Fix a lint error caused by a string value injected by link script.
- [Fix] Fix a race condition crash on upgrading the application to newer version.
- [Fix] Fix exception if we receive deep link intent with setup failure before onStart.
- [Fix] Fix checking updates for applications installed on corporate-owned single-use devices.
- [Feature] AppCenter SDK now supports the User ID string, with a maximum of 256 characters, that applies to crashes and push logs. Settable via
AppCenter.setUserId
.
- [Fix] Fix TLS 1.2 configuration for some specific devices running API level <21. The bug did not affect all devices running older API levels, only some models/brands, and prevented any data from being sent.
- [Fix] Extend the current session instead of starting a new session when sending events from the background. Sessions are also no longer started in background by sending an event or a log from another service such as push, as a consequence the push registration information will be missing from crash events information.
- [Fix] Fix issue with forcing Chrome to open links when other browsers are the default.
-
[Fix] No longer use the deprecated
compile
Gradle keyword in the App Center gradle modules. Please note that ifreact-native link
was executed prior to version 0.58 of React Native, the app/build.gradle file will still contain references to thecompile
keyword, this behavior is from thereact-native link
command and not from App Center SDK files. To resolve all warnings you need to follow the operations in that order:- Update react-native to version 0.58+ and update App Center SDK packages.
- Edit app/build.gradle to replace
compile
byimplementation
. - Run
react-native link
again.
-
[Feature] Allow users to set userId that applies to crashes, error and push logs.
- Introduce new
LogLevel
constants, deprecating old ones. - Fix bug with linking process being stuck when developing on windows machines. #471.
- Fix logs duplication on unstable network.
- Do not delete old logs when trying to add a log larger than the maximum storage capacity.
- [Android] Fix disabling logging of network state changes according to
AppCenter.LogLevel
. - [iOS] Fix reporting carrier information using new iOS 12 APIs when running on iOS 12+.
- [iOS] Fix a memory leak issue during executing SQL queries.
- [iOS] Fixes an issue where duplicate crash logs could be sent.
- [Android] Fix a bug where crash data file could leak when the database is full.
- [Feature] Support delaying Push notification permission dialog #287.
- [Fix] Fix build.gradle for release builds #481.
- [Android] Fix push notification received event for pushes received in foreground after re-enabling the push service.
- [Android] Fix lint issue on modern projects using latest react-native versions #451.
- [iOS] Fix an issue where concurrent modification of custom properties was not thread safe.
- [iOS] Validating and discarding Not a Number (NaN) and infinite double values for custom properties.
- [iOS] Use standard SQL syntax to avoid affecting users with custom SQLite libraries.
- [iOS] Get database page size dynamically to support custom values.
- [Android] Fix a bug which prevents attachments from being sent if file name is not specified.
- [Android] Fix Preventing stack overflow crash while reading a huge throwable file.
- [Android] Use latest Firebase version #365.
- [iOS] Fix
push:didReceivePushNotification:
callback not triggered on notification tapped or received in foreground when aUNUserNotificationCenterDelegate
is set. If you have implemented this delegate please remove any call to theMSPush#didReceiveRemoteNotification:
method as it's now handled by the new User Notification Center Delegate Forwarder.
- Add typescript declaration files for the APIs documented at https://docs.microsoft.com/en-us/appcenter/sdk #247.
- 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 consuming the SDK as pod dependencies for non standard projects not using react-native link #326.
- Don't automatically add mock Jest files when installing the App Center packages. #436.
- [Android] Fix validating and discarding NaN and infinite double values when calling setCustomProperties.
- [iOS] Add missing network request error logging.
- [iOS] Fix the list of binary images in crash reports for arm64e-based devices.
- Fix a bug preventing AppCenter to start modules on Android. #407.
- 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.
- 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.
- Enhanced Pod integration process by adding dependencies to target with the current project name. #369
- Enhanced android linking process. #370
- Changelog file added. #382
- Fix AppCenterReactNativeShared pod version issue for appcenter-crashes module. #361.
[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.
- Fix jest tests mock path issue. #340.
- 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.
- 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.
- 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.
- 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.
- 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.
- Make "Vendor" folder part of the framework search path. #275.
- Make push notfication title and message null but never undefined. #277.
- 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.
- 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.
- 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.
This release contains a bug fix.
- Support CocoaPods 1.4 #237.
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.
This release contains bugfixes and a breaking change. The SDK now requires iOS 9 or later.
- 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.
- 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.
- [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.
- 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.
- This release also includes changes from underlying AppCenter Apple SDK: https://github.com/microsoft/appcenter-sdk-apple/releases/tag/1.1.0
- This release also includes changes from underlying AppCenter Android SDK: https://github.com/microsoft/appcenter-sdk-android/releases/tag/1.1.0
- Fixes an issue in React Native iOS where Crashes.setListener() sometimes doesn't get the callback when iOS application launches too quickly.
- This release also includes changes from underlying AppCenter Apple SDK: https://github.com/microsoft/appcenter-sdk-apple/releases/tag/1.0.1
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.
- This release also includes changes from underlying AppCenter Apple SDK: https://github.com/microsoft/appcenter-sdk-apple/releases/tag/1.0.0
- This release also includes changes from underlying AppCenter Android SDK: https://github.com/microsoft/appcenter-sdk-android/releases/tag/1.0.0
- Fix a compiler warning in RNCrashes native module #153.
- This release also includes changes from underlying iOS SDK: https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.14.1
- 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()
- 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.
- Fix a bug in Android that JS send events before native Java loads would crash application #135.
- This release also includes changes from underlying iOS SDK: https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.14.0
- This release also includes changes from underlying Android SDK: https://github.com/Microsoft/mobile-center-sdk-android/releases/tag/0.13.0
- New Feature - getSdkVersion() API for getting mobile center react native SDK version at runtime #126.
- Support Android only project in react-native link #107.
- Support iOS only project in react-native link #107.
- Fix a bug in setCustomProperties() API where boolean property is always set to true #114.
- Fix a bug where mobile center analytics is always enabled even analytics is supposed to "Enable in JavaScript" #117.
- Fix a typo in crashes logging in onSendingFailed #120.
- Fix a bug in iOS react-native link script issue #123.
- This release also includes changes from underlying iOS SDK: https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.12.2 https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.12.3 https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.13.0
- Breaking change Updated CustomProperties API parameters to align with other Mobile Center SDKs. Please refer to the updated documentation.
- Fix updating code when changing iOS prompt answers when running react-native link a second time.
- This release also includes changes from underlying Android SDK of the following versions: https://github.com/Microsoft/mobile-center-sdk-android/releases/tag/0.12.0
- This release also includes changes from underlying iOS SDK: https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.12.0 https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.12.1
- Fix hasCrashedInLastSession in iOS to return a boolean value instead of an integer (was 0 or 1).
- Fix getLastSessionCrashReport on iOS to return null instead of an empty report object when app did not crash in last session.
- Fix importing Javascript modules into Jest tests where Babel is typically disabled.
- This release also includes changes from underlying Android SDK of the following versions: https://github.com/Microsoft/mobile-center-sdk-android/releases/tag/0.11.2
- This release also includes changes from underlying iOS SDK: https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.11.1 https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.11.2
- Implement error attachments for crash reports.
- Fix updating cocoapods dependencies on Mobile Center for iOS when running react-native link after updating the npm packages.
- Fix react-native link on ios projects that were renamed after initial creation such as when using create-react-native-app and then ejecting to a different name.
- Fix Android bridge on applications that depend on React Native Android bridge version 0.47.0 or later.
- Fix a bug where analytics and crash dependencies for iOS were always installed even if you don't use both modules.
- This release also includes changes from underlying Android SDK of the following versions: https://github.com/Microsoft/mobile-center-sdk-android/releases/tag/0.11.0 https://github.com/Microsoft/mobile-center-sdk-android/releases/tag/0.11.1
- This release also includes changes from underlying iOS SDK: https://github.com/Microsoft/mobile-center-sdk-ios/releases/tag/0.11.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.
- 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.
- 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.
- 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.
- 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
- 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.
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
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.
Initial release.