Readme. Fixed activate.
This commit is contained in:
parent
a5bdc83170
commit
ce86308b37
@ -18,7 +18,7 @@ React Native bridge to the [AppMetrica](https://appmetrica.yandex.com/) on both
|
|||||||
import AppMetrica from 'react-native-appmetrica';
|
import AppMetrica from 'react-native-appmetrica';
|
||||||
|
|
||||||
// Starts the statistics collection process.
|
// Starts the statistics collection process.
|
||||||
AppMetrica.activateWithConfig({
|
AppMetrica.activate({
|
||||||
apiKey: '...KEY...',
|
apiKey: '...KEY...',
|
||||||
sessionTimeout: 120,
|
sessionTimeout: 120,
|
||||||
firstActivationAsUpdate: true,
|
firstActivationAsUpdate: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user