Due to Android restrictions on Instant Apps, data collection may be degraded compared to full Android applications. However, the library must still be included for the SDK to function properly.
Add the following permissions to your AndroidManifest.xml:
AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.myapp"> <!-- Required for network communication --> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- Optional: For location-based data collection --> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <application ... </application></manifest>
Location permissions are optional but recommended for more accurate fraud detection. You must request these permissions at runtime on Android 6.0 (API 23) and higher.