fix activation method in README.md

This commit is contained in:
NesterovichAlexey 2020-12-22 15:03:52 +03:00 committed by GitHub
parent a5bdc83170
commit b651948d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,