What is the allowClearUserData attribute do in the android manifest file?
The manifest file describes essential information about your app to the Android build tools, the Android operating system, and Google Play.
When you build an Android app by using Quantum Visualizer, an AndroidManifest. xml file is created in the app's corresponding dist folder. The file is located at WorkspaceName>/temp/<AppName>/build/luaandroid/dist.
Similar to the App Transport Security (ATS) feature in iOS (see also best practice 6.5 Implement App Transport Security), Android 6.0 and later makes it easier to prevent an app from using cleartext network traffic (e.g., HTTP and FTP without TLS) by adding the android:usesCleartextTraffic attribute to the Android ...
android:supportsRtl. Declares whether your application is willing to support right-to-left (RTL) layouts. If set to true and targetSdkVersion is set to 17 or higher, various RTL APIs will be activated and used by the system so your app can display RTL layouts.
The allowClearUserData is an option that let's the application specify if the user's data can/cannot be deleted. By default, this flag is set to true. However it can be changed to false. The attribute can be set for your app. However any other app cannot use this attribute to clear your app's user data.he attribute allows boolean value, that is either "true" or "false". If set to true, the application manager has the right to clear the data.
Example:
<application>
<application android:allowClearUserData=["true" | "false"]
</application>
This must be placed within the android manifest file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With