Hi John!
AddApplicationText(
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="Removed API Key for post"/>
<meta-data android:name="com.google.android.gms.version"
android:value="
@Integer/google_play_services_version"/>
)
AddManifestText(
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="31"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
AddManifestText(<uses-feature android:name="android.hardware.telephony" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.flash" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.location.gps"/>)
'AddPermission("android.permission.ACCESS_COARSE_LOCATION")
AddPermission("android.permission.INTERNET")
AddPermission("android.permission.ACCESS_FINE_LOCATION")
AddPermission(android.permission.RECORD_AUDIO)
AddPermission("android.permission.WAKE_LOCK")
AddPermission("android.permission.DEVICE_POWER")
'AddPermission("android.permission.ACCESS_COARSE_UPDATES")
AddPermission("android.permission.READ_PHONE_STATE")
AddPermission("android.permission.VIBRATE")
AddPermission(android.permission.USE_FINGERPRINT)
AddPermission(android.permission.SEND_SMS)
AddPermission(android.permission.PROCESS_OUTGOING_CALLS)
'AddPermission(android.permission.READ_EXTERNAL_STORAGE)
'AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
'AddPermission("android.permission.CAMERA")
'AddPermission("android.permission.FLASHLIGHT")
'AddPermission("android.hardware.camera")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:largeHeap, "true")
'End of default text.
''android:name="com.google.android.geo.API_KEY"
''android:name="com.google.android.geo.API_KEY"
SetApplicationAttribute(android:usesCleartextTraffic, "true")
AddManifestText(<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="31" />
)
AddApplicationText(
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="$PACKAGE$.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
)
CreateResource(xml, provider_paths,
<files-path name="name" path="shared" />
)
AddPermission(android.permission.REQUEST_INSTALL_PACKAGES)
CreateResourceFromFile(Macro, JhsIceZxing1.CaturePortrait)
'************ Google Play Services Base ************
AddApplicationText(
<activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="false"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="
@Integer/google_play_services_version" />
)
SetActivityAttribute(frmVideo, android:screenOrientation, "unspecified")