2017-09-23 13:05:59 +03:00
|
|
|
[![Build Status](https://travis-ci.org/doochik/react-native-appmetrica.svg?branch=master)](https://travis-ci.org/doochik/react-native-appmetrica)
|
|
|
|
[![NPM version](https://badge.fury.io/js/react-native-appmetrica.svg)](https://www.npmjs.com/package/react-native-appmetrica)
|
|
|
|
|
|
|
|
|
2017-09-18 09:46:10 +03:00
|
|
|
# react-native-appmetrica
|
|
|
|
React Native bridge to the AppMetrica on both iOS and Android.
|
2017-09-23 13:15:11 +03:00
|
|
|
|
|
|
|
**NOTE: Only iOS support for now. Feel free to send PR with Android support.**
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
1. Setup [AppMetrica](https://tech.yandex.com/appmetrica/).
|
|
|
|
`YandexMobileMetrica.framework` should be placed at `<project_dir>/ios/` or `<project_dir>/ios/Frameworks/`.
|
|
|
|
Otherwise you'll get build error.
|
|
|
|
2. `npm install --save react-native-appmetrica`
|
|
|
|
3. `react-native link react-native-appmetrica`
|
|
|
|
|