

- Android import module targeting different sdk version install#
- Android import module targeting different sdk version zip file#
- Android import module targeting different sdk version for android#
The consequence is that you must know which version of the iOS SDK the React Native SDK depends on.ĭownload the App Center SDK for React Native frameworks provided as a zip file and unzip it. The latest App Center React Native SDK doesn't necessarily depend on the latest App Center iOS SDK, because the iOS SDK is updated and released before the React Native one. Nonetheless, it's also possible to integrate the iOS native SDK manually. We strongly recommend integrating the SDK via CocoaPods as described above.

).ģ.3 Integrate the SDK manually for React Native without react-native link or CocoaPodsĭo this integration, if you don't want to use CocoaPods. If ist already exists but not part of your Xcode project, you must add it to the Xcode project manually (right-click the app in XCode and click Add files to. 3.1.1.1 Setting AppSecret Option 1: Configuring istĬreate a new file with the name ist with the following content and replace /ist file, and replace the YOUR_APP_SECRET placeholder value with your App Center project's application secret.
Android import module targeting different sdk version install#
Run pod install -repo-update from iOS directory to install CocoaPods dependencies.
Android import module targeting different sdk version for android#
Using App Center SDK with React Native can be done in two ways: Configuring the ist for iOS and appcenter-config.json for Android or by calling the native start functions that accept the appSecret as an argument. 3.1 Integrate the SDK automatically for React Native 0.60 appcenter provides general purpose App Center APIs, useful for multiple services. appcenter-analytics and appcenter-crashes make sense to add to almost every app, as they provide value with no additional setup required. The App Center SDK uses a modular approach, where you just add the modules for App Center services that you want to use. In case you prefer yarn over npm, use the following command to install App Center: yarn add appcenter appcenter-analytics appcenter-crashes -exact Open a Terminal and navigate to the root of your React Native project, then enter the following line to add App Center Analytics and Crashes to the app: npm install appcenter appcenter-analytics appcenter-crashes -save-exact If you're not using CocoaPods in your app, you need to integrate the React Native SDK manually for your iOS app. The default integration of the SDK uses CocoaPods for iOS. At the top right hand corner of the Settings page, click on the triple vertical dots and select Copy app secret to get your App Secret. Once you've created an app, you can obtain its App Secret on the Settings page on the App Center Portal.

If you've already created your app in the App Center portal, you can skip this step. Create your app in the App Center Portal to obtain the App Secret Nonetheless, it's possible to link the SDK manually.Ģ. (If you haven't installed CocoaPods, follow the CocoaPods Getting Started to do so).
