Android Configuration
This config.xml
file controls the basic settings of an app applied to each application and Cordovawebview interface. This section details the selection parameters that apply only to Android builds. The. config. file files here provide information about the global configuration options.
-
keeprunning
(Boolean, The default is ): Determines whether the application continues to run in the background even in , pause
pause will not exit this app when the app is in the background, in Cordova WebView just stops the execution of the code.
< preference name = "keeprunning" = "false" />
LoadUrlTimeoutValue
(number, default to 20000
, seconds): The time to wait before throwing a timeout error when loading a page. This example specifies 10s instead of the default 20s:
<name= "Loadurltimeoutvalue" value= "10000"/>
SplashScreen
: The res/drawable
extension of the file minus sign in the directory. All kinds of resources in different subdirectories must share this name.
<name= "SplashScreen" value= "Splash"/>
SplashScreenDelay
(number, defaults to 5000
): The time the splash screen image is displayed.
<name= "Splashscreendelay" value= "10000"/>
InAppBrowserStorageEnabled
(Boolean, defaults to true
): Controls whether the Inappbrowser open page can access the same localstorage and Websql storage when the page is opened in the default browser.
Please leave a message if the translation is inaccurate or incorrect.
Android configuration (Android config)