Installation and initialization
AppMetrica Push Unity is a plugin for the Unity3d game platform that includes support for the AppMetrica Push SDK for the Android and iOS platforms.
Before using the AppMetrica Push Unity plugin, you need to enable and initialize the AppMetrica Unity plugin version 3.0.0 or later.
Integrating the plugin
Step 1. Download the AppMetrica Push Unity plugin.
Step 2. Add the plugin to the project — open the project in Unity Editor and import the AppMetricaPush.unitypackage plugin ( ).
Step 3. Open the Assets/AppMetricaPush/ folder and drag the
AppMetrica prefab to the project's main stage.
If the plugin is integrated this way, the AppMetricaPush script on the added prefab automatically initializes the AppMetrica Push SDK.
AppMetricaPush prefab is a singleton. It isn't deleted when switching to a new Unity stage, and it deletes other objects that the
AppMetricaPush script is installed on.
Configuring the plugin
Step 1. To send notifications to devices with iOS version 7 and higher, ma