Development repository for the App Center SDK for React Native
OTHER License
Bot releases are hidden (Show)
Published by dhei over 6 years ago
Bugfixes
NO
from requiresMainQueueSetup()
in iOS native modules to avoid react native warnings. #238
Misc
Published by achocron over 6 years ago
This release contains a bug fix.
Bugfixes
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.
Published by ElektrojungeAtWork over 6 years ago
This release contains bugfixes and a breaking change. The SDK now requires iOS 9 or later.
Bugfixes
Analytics.trackEvent
doesn't allow message with no properties. #202
pod
command. #217
Misc
Published by dhei almost 7 years ago
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
AppCenterReactNativeShared
CocoaPod #174Misc
Published by dhei almost 7 years ago
Bugfixes
Crashes.setListener()
sometimes doesn't get the callback when iOS application launches too quickly.Misc
Published by dhei almost 7 years ago
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
Published by dhei almost 7 years ago
Bugfixes
Misc
Published by dhei almost 7 years ago
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 reportFor more information, please see Customize your usage of Mobile Center Crashes.
Bugfixes
Misc
Published by dhei about 7 years ago
getSdkVersion()
API for getting mobile center react native SDK version at runtime #126react-native link
#107react-native link
#107setCustomProperties()
API where boolean property is always set to true #114react-native link
script issue #123Published by dhei about 7 years ago
react-native link
a second time.Published by dhei about 7 years ago
Published by guperrot about 7 years ago
react-native link
after updating the npm packages.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.Published by max-mironov over 7 years ago
This update contains fixes some issues in our new push & custom properties functionality:
New feature:
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.
Published by max-mironov over 7 years ago
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.
Published by max-mironov over 7 years ago
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.
Published by max-mironov over 7 years ago
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.
Published by max-mironov over 7 years ago
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
Published by BretJohnson over 7 years ago
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.
Published by BretJohnson over 7 years ago
Changed iOS build flags:
Published by BretJohnson over 7 years ago
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.
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.