Changelog

Version 3.4.0

Released 5 November 2018

  • Added support for Android 9.
  • Improved library logging.
  • Improved the performance of the library and the quality of statistical data.

Version 3.2.2

Released 9 August 2018

  • Improved the performance of the library and the quality of statistical data.

Version 3.2.1

Released 30 July 2018

  • Improved the performance of the library and the quality of statistical data.

Version 3.2.0

Released 23 July 2018

Version 3.1.0

Released 30 May 2018

  • Added deeplink attribution (Re-engagement).
  • Added a mechanism to speed up sending event postbacks for high-frequency events.
  • Added integration with the Play Install Referrer Library. The library provides information about when the app started downloading from Google Play. This can improve attribution accuracy.

Version 3.0.0

Released 25 April 2018

Version 2.80

Released 27 December 2017

  • Added fixes and minor improvements to the library for Android 8.
  • Updated information about the integration process by using the .jar library.
  • The library's API LEVEL is 64. Change it in the AndroidManifest.xml file.

Version 2.78

Released 19 November 2017

  • Added fixes and minor improvements to the library.
  • The library's API LEVEL is 63. Change it in the AndroidManifest.xml file.

Version 2.77

Released 9 October 2017

  • Added support for Android 8.
  • Added fixes and minor improvements to the library.
  • The library's API LEVEL is 62. Change it in the AndroidManifest.xml file.

Version 2.76

Released 17 August 2017

  • Added the reportReferralUrl() method which sets referral URL for app installs.
  • Updated information about the integration process by using the .jar library.
  • Added fixes and minor improvements to the library.
  • The library's API LEVEL is 61. Change it in the AndroidManifest.xml file.

Version 2.73

Released 15 June 2017

  • Added fixes and minor improvements to the library.
  • The library's API LEVEL is 58. Change it in the AndroidManifest.xml file.

Version 2.71

Released 1 June 2017

  • Added the reportAppOpen(String deeplink) method to track app openings with a string deeplink.
  • Fixed an error occurred during the deferred deeplink parameters obtaining.
  • The library's API LEVEL is 56. Change it in the AndroidManifest.xml file.

Version 2.70

Released 16 May 2017

  • Added the deferred deeplink support.
  • Improved the stability of the library.
  • Improved crash collecting during the application launch.
  • Added logging events attributes.
  • The library's API LEVEL is 55. Change it in the AndroidManifest.xml file.

Version 2.62

Released 30 December 2016

  • Improved the stability of the library.
  • Added fixes and minor improvements to the library.
  • The library's API LEVEL is 52. Change it in the AndroidManifest.xml file.

Version 2.60

Released 21 November 2016

  • Added tracking of app openings with a deeplink.
  • Now you can inform AppMetrica that the app was installed on the device before the AppMetrica SDK library was enabled. This allows AppMetrica to distinguish the first app start after integrating the SDK from the very first app start. This type of app launch won't be interpreted as a new user. Learn more.
  • Improved the stability of the library.
  • The library's API LEVEL is 50. Change it in the AndroidManifest.xml file.

Version 2.51

Released 29 September 2016

  • Improved the stability of the library.
  • Added support for Android 7.
  • Prohibited using a Google account for making backup copies of AppMetrica SDK data.
  • The library's API LEVEL is 48. Change it in the AndroidManifest.xml file.

Version 2.42

Released 17 June 2016

  • Improved performance and bug fixes.
  • The library's API LEVEL is 45. Change it in the AndroidManifest.xml file.

Version 2.41

Released 27 March 2016

  • Optimized energy consumption when sending data.
  • The library's API LEVEL is 44. Change it in the AndroidManifest.xml file.

Version 2.40

Released 28 March 2016

  • Added the ability to send statistics using an API key that differs from the app's API key.
  • The library's API LEVEL is 43. Change it in the AndroidManifest.xml file.

Version 2.32

Released 29 November 2016

  • Improved the stability of the library and the quality of statistical data.
  • The library's API LEVEL is 41. Change it in the AndroidManifest.xml file.

Version 2.30

Released 16 December 2015

  • Added the ability to initialize the library using the extended configuration, which guarantees that all the configuration parameters will be applied when the first event is sent.
  • Added the ability to specify information for tracking pre-installed apps.
  • Optimization for improved quality of statistics.
  • The library's API LEVEL is 39. Change it in the AndroidManifest.xml file.

Version 2.23

Released 25 November 2015

  • Added support for Yandex Mobile Ads 2.00.
  • The library's API LEVEL is 38. Change it in the AndroidManifest.xml file.

Version 2.21

Released 20 October 2015

Version 2.0

Released 27 August 2015

  • The library's API LEVEL is 32. Change it in the AndroidManifest.xml file.
  • The format of the API key has been changed. The app ID in a new format is available in the AppMetrica web interface in app editing mode.

    Where to find the API key
  • The method of initializing the library in the app has been renamed from initialize(android.content.Context, java.lang.String) to activate(android.content.Context, java.lang.String).
  • Changed the length of the session timeout. Now it is 10 seconds, by default.
  • The library has been adapted for Android M.
  • Significantly improved performance and reduced power consumption.
  • Deprecated methods have been removed.

    Click to see the list
    • setReportsEnabled(boolean enabled) — Lets you enable and disable sending reports.
    • setDispatchPeriod(int dispatchPeriodSeconds) — Allows you to set the interval in seconds between sending accumulated events to the server.
    • setMaxReportsCount(int maxReportsCount) — Allows you to set the maximum number of events that can be stored up before sending all accumulated events to the server.
    • startNewSessionManually() — Allows you to start a new session manually.
    • sendEventsBuffer() — Allows you to send all accumulated events without waiting for them to automatically be sent to the server.

Version 1.82

Released 19 June 2015

  • The library's API LEVEL is 31. Change it in the AndroidManifest.xml file.
  • Improved quality of calculating statistics for sessions and installs.
  • Migrated to protobuf-nano — the overall size of the library is smaller and it works faster. If you were using the protobuf-2.5.0 library with the AppMetrica library, delete it.
  • The AndroidManifest.xml file does not specify

    provider:

    <provider
        android:name="FULL_PACKAGE_PATH_TO_YOUR_PROVIDER.MetricaContentProvider"
        android:authorities="ROOT_PACKAGE_PATH.MetricaContentProvider"
        android:enabled="true"
        android:exported="true"/>

    the following intent-filter for com.yandex.metrica.MetricaEventHandler:

    <intent-filter>
        <action android:name="com.yandex.metrica.intent.action.SYNC"/>
    </intent-filter>
    
    <intent-filter>
        <action android:name="android.intent.action.PACKAGE_ADDED"/>
        <action android:name="android.intent.action.PACKAGE_DATA_CLEARED"/>
        <data android:scheme="package"/>
    </intent-filter>
  • To use the AppMetrica library, you do not need to create a custom provider class in the application package with the name MetricaContentProvider that inherits from com.yandex.metrica.MetricaContentProvider. Delete it from your app.

Version 1.65

Released 24 February 2015

  • The library's API LEVEL is 21. Change it in the AndroidManifest.xml file.
  • Improved reliability of statistics.

Version 1.60

Released 28 October 2014

  • Added free support for tracking app installations.
  • The library's API LEVEL is 16. Change it in the AndroidManifest.xml file.
  • The main API class has been renamed from Counter to YandexMetrica.
  • All methods are now static, so any use of objects via the Counter.sharedInstance() object should use the YandexMetrica class.
  • The API key (metrica:api:key) in the AndroidManifest.xml file is ignored. It is set programmatically during library initialization in the app: the "activate" method passes the context and API key of your app.
  • The AndroidManifest.xml file does not specify the receiver for com.yandex.metrica.CampaignReceiver. Its intent-filter is specified in receiver for com.yandex.metrica.MetricaEventHandler:

    ...
    <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER"/>
    </intent-filter>
    ...
  • The setLocation(double, double) method is prohibited for setting location. Use the setLocation(android.location.Location) method.
  • Added support for native app crashes.
  • Added events with additional parameters (Json, Attributes).
  • Improved stability and performance.
  • Optimized library start.
  • Improved location handling.