No description, website, or topics provided.
Java C++ Makefile
Latest commit 90eb43c Jan 6, 2017 @alexklints alexklints committed on GitHub Update comment
Permalink
Failed to load latest commit information.
metrica-sample-android Update comment Jan 6, 2017
.gitignore Fix .gitignore Oct 29, 2014
Readme.md Up AppMetrica to 2.62 Dec 30, 2016

Readme.md

Usage example of Yandex.Metrica for Android Apps.

How to start

  • Clone repository: git clone https://github.com/yandexmobile/metrica-sample-android.git
  • Current relevant sample is metrica-sample-android.
  • The sample was created by Android Studio.
  • In the folder with name "libs" & "jniLibs" you can find all necessary libraries.
  • You only should obtain and define your own API_KEY.
  • Example of using Reporters shown in project library
  • Now we are ready to launch project!

ProGuard: If you use ProGuard, you need to keep com.yandex.metrica classes. You can use the following lines of code:

  • -keep class com.yandex.metrica.impl.* { *; }
  • -dontwarn com.yandex.metrica.impl.*

  • -keep class com.yandex.metrica.* { *; }

  • -dontwarn com.yandex.metrica.*

Notes

  • The last mobmetricalib library has the version 2.62 and the level of API is 52. Because of using aar version of library, it's only can be defined optional permissions.

  • Alternatively you can add the last version of Metrica for Apps to your project as maven artifact from the maven central:

    • groupId: com.yandex.android
    • artifactId: mobmetricalib
    • version: 2.62

Documentation

License

License agreement on use of Yandex.Metrica for Apps SDK is available at: http://legal.yandex.ru/metrica_termsofuse/.