rn-linkrunner 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/lib/commonjs/index.js +1 -1
- package/lib/module/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -6,16 +6,16 @@ React Native Package for [linkrunner.io](https://www.linkrunner.io)
|
|
|
6
6
|
|
|
7
7
|
### Step 1: Prerequisites
|
|
8
8
|
|
|
9
|
-
rn-linkrunner also uses `react-native-device-info`, `@react-native-community/netinfo` and `react-native-play-install-referrer`. You can install these packages with the following command:
|
|
9
|
+
rn-linkrunner also uses `react-native-device-info`, `@react-native-community/netinfo`, `@react-native-async-storage/async-storage` and `react-native-play-install-referrer`. You can install these packages with the following command:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install react-native-device-info @react-native-community/netinfo react-native-play-install-referrer
|
|
12
|
+
npm install react-native-device-info @react-native-community/netinfo @react-native-async-storage/async-storage react-native-play-install-referrer
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
or
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
yarn add react-native-device-info @react-native-community/netinfo react-native-play-install-referrer
|
|
18
|
+
yarn add react-native-device-info @react-native-community/netinfo @react-native-async-storage/async-storage react-native-play-install-referrer
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Then run `cd ios && pod install` to install pods for the package.
|
package/lib/commonjs/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var _reactNative = require("react-native");
|
|
|
8
8
|
var _reactNativeDeviceInfo = _interopRequireDefault(require("react-native-device-info"));
|
|
9
9
|
var _helper = require("./helper");
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
const package_version = '0.6.
|
|
11
|
+
const package_version = '0.6.2';
|
|
12
12
|
const app_version = _reactNativeDeviceInfo.default.getVersion();
|
|
13
13
|
const baseUrl = 'https://api.linkrunner.io';
|
|
14
14
|
const initApiCall = async (token, source, link) => {
|
package/lib/module/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Linking } from 'react-native';
|
|
2
2
|
import DeviceInfo from 'react-native-device-info';
|
|
3
3
|
import { device_data, getLinkRunnerInstallInstanceId } from './helper';
|
|
4
|
-
const package_version = '0.6.
|
|
4
|
+
const package_version = '0.6.2';
|
|
5
5
|
const app_version = DeviceInfo.getVersion();
|
|
6
6
|
const baseUrl = 'https://api.linkrunner.io';
|
|
7
7
|
const initApiCall = async (token, source, link) => {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -3,7 +3,7 @@ import DeviceInfo from 'react-native-device-info';
|
|
|
3
3
|
import { device_data, getLinkRunnerInstallInstanceId } from './helper';
|
|
4
4
|
import type { TriggerConfig, UserData } from './types';
|
|
5
5
|
|
|
6
|
-
const package_version = '0.6.
|
|
6
|
+
const package_version = '0.6.2';
|
|
7
7
|
const app_version: string = DeviceInfo.getVersion();
|
|
8
8
|
|
|
9
9
|
const baseUrl = 'https://api.linkrunner.io';
|