Add the following permissions to AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" /> For access to internet <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> For ability to check network connection <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> For location information at a state/zip code level <uses-permission android:name="android.permission.GET_TASKS" /> For applications/services running and installed on the device.
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> For precise location information at a city level <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> For WIFI information, wifi signal stregth, bandwidth and IP
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> For rescheduling background process after a device reboot. <uses-permission android:name="android.permission.WAKE_LOCK" /> For preventing the processor from sleeping when background process is running.
YES. Since iOS 8, in order to use the ‘forceLocation:’ you are required to add specific strings to your App-Info.plist (if your app is called My Awesome App, find My Awesome App-Info.plist). MetricsSDK will show an Info message with the guideline in the debug output. See [Apple docs for Location Permission] or [this blog post]. If you are already using location in your App in iOS 8 and you have confirmed it to work, you will not see the Info message when you start Metrics SDK and you are good to go!
YES. In order to capture the Android advertising ID you will need to integrate the appropriate Google play libraries into your project. If you have already done so, our SDK will automatically capture it. To learn more about the Google Advertising ID. Read Here. To learn how to set up the ID in your project.
YES. When setting your Android Build target to level 21 and above in the android manifest, the GET TASKS Permission is deprecated. Using our SDK with that build target set you will continue to collect App Installed data, Background services, but Apps running data is no longer available. You can choose target 21 to not use the GET TASKS permission or set your build target to under 21 (i.e. 19 or 20) to collect Apps running data.