fix read me

This commit is contained in:
Primakov Alexandr Alexandrovich 2023-08-08 16:26:58 +03:00
parent 8b148a3a0d
commit c55d66f0ee
2 changed files with 2 additions and 27 deletions

View File

@ -3,14 +3,7 @@ React Native bridge to the [AppMetrica](https://appmetrica.yandex.com/) on both
## Installation ## Installation
1. `npm install react-native-appmetrica --save` 1. `npm install @jil/react-native-appmetrica --save`
2. If React Native version <= 0.59: \
`react-native link react-native-appmetrica`
3. iOS only
* if `${PROJECT_DIR}/ios/Podfile` exists: \
`npx pod-install`
* if `${PROJECT_DIR}/ios/Podfile` don't exists: \
[Setup AppMetrica](https://appmetrica.yandex.com/docs/mobile-sdk-dg/tasks/ios-quickstart.html) and placed frameworks at `${PROJECT_DIR}/ios/Frameworks`
## Usage ## Usage

View File

@ -1,5 +1,5 @@
{ {
"name": "react-native-appmetrica", "name": "@ijl/react-native-appmetrica",
"title": "Yandex AppMetrica React Native Plugin", "title": "Yandex AppMetrica React Native Plugin",
"version": "2.0.0", "version": "2.0.0",
"description": "React Native plugin for AppMetrica analytics tool", "description": "React Native plugin for AppMetrica analytics tool",
@ -7,24 +7,6 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": {
"type": "git",
"url": "git+https://github.com/yandexmobile/react-native-appmetrica.git"
},
"keywords": [
"yandex",
"appmetrica",
"metrica",
"analytics",
"tracking",
"react-native",
"ecosystem:react-native",
"react-native-ios",
"react-native-android"
],
"author": {
"name": "YANDEX LLC"
},
"license": "MIT", "license": "MIT",
"homepage": "https://appmetrica.yandex.com/docs", "homepage": "https://appmetrica.yandex.com/docs",
"peerDependencies": { "peerDependencies": {