yandexmobile / react-native-appmetrica

React Native bridge to the AppMetrica on both iOS and Android.
MIT License
52 stars 132 forks source link

How works tracking of application installing #19

Open kasl opened 5 years ago

kasl commented 5 years ago

I'm trying to set up the tracking described in appmetrica docs The documentation says:

  1. Installs the application and launches it (it is the first run that is considered an installation).
  2. AppMetrica SDK, integrated into the application, reports this to the server.

I understand that do not need to send any events, the SDK itself sends the data. I integrated the SDK, but I do not see any data in the admin panel (0 installs every time). I also tried to sniffing traffic of my application and also do not see that it would send some requests to the appmetrica. We also use sdk in native applications, everything works fine there. It is enough to integrate sdk and initialize with api key. The question is: what am I doing wrong in RN case?

p.s. My case is Device Fingerprint Matching.

kasl commented 5 years ago

installation on the android was successful and no crashes code index.js:

import AppMetrica from 'react-native-appmetrica'
AppMetrica.activateWithApiKey('*********');