If you haven't already, add Adrop to Android and make sure that Adrop Metrics is enabled in your project
Initialize Adrop
// 1. use Application Context// 2. true for production// 3. If you are using this SDK in specific countries, // pass an array of ISO 3166 alpha-2 country codes.Adrop.initialize( application, production =false, targetCountries =arrayOf<String>())
// 1. use Application Context// 2. true for production// 3. If you are using this SDK in specific countries, // pass an array of ISO 3166 alpha-2 country codes.boolean production =true;String[] targetCountries = {};Adrop.INSTANCE.initialize(getApplication(), production, targetCountries);
Set user properties
You can set properties to describe the users of your app. Check the preset defined for the keys we support. Read more about the AdropMetrics.
val key ="YOUR_PROPERTY_KEY"valvalue="YOUR_PROPERTY_VALUE"AdropMetrics.setProperty(key, value)
String key ="YOUR_PROPERTY_KEY";String value ="YOUR_PROPERTY_VALUE";AdropMetrics.setProperty(key, value);