this works... xwalk version 23

This commit is contained in:
jason.wall 2017-08-25 16:46:07 -04:00
parent 85e19fec4a
commit cb0ec0fc12
5 changed files with 43 additions and 43 deletions

View File

@ -69,7 +69,7 @@
<engine name="android" spec="^6.2.3" /> <engine name="android" spec="^6.2.3" />
<plugin name="cordova-plugin-console" spec="^1.0.5" /> <plugin name="cordova-plugin-console" spec="^1.0.5" />
<plugin name="cordova-plugin-crosswalk-webview" spec="^2.3.0"> <plugin name="cordova-plugin-crosswalk-webview" spec="^2.3.0">
<variable name="XWALK_VERSION" value="22+" /> <variable name="XWALK_VERSION" value="23+" />
<variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" /> <variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" />
<variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect" /> <variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect" />
<variable name="XWALK_MODE" value="embedded" /> <variable name="XWALK_MODE" value="embedded" />

View File

@ -87,19 +87,19 @@
}, },
"cordova": { "cordova": {
"plugins": { "plugins": {
"cordova-plugin-crosswalk-webview": {
"XWALK_VERSION": "22+",
"XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
"XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
"XWALK_MODE": "embedded",
"XWALK_MULTIPLEAPK": "true"
},
"cordova-plugin-console": {}, "cordova-plugin-console": {},
"cordova-plugin-device": {}, "cordova-plugin-device": {},
"cordova-plugin-splashscreen": {}, "cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {}, "cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {}, "cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {} "ionic-plugin-keyboard": {},
"cordova-plugin-crosswalk-webview": {
"XWALK_VERSION": "23+",
"XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
"XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
"XWALK_MODE": "embedded",
"XWALK_MULTIPLEAPK": "true"
}
}, },
"platforms": [ "platforms": [
"android" "android"

View File

@ -8,12 +8,32 @@
"res/xml/config.xml": { "res/xml/config.xml": {
"parents": { "parents": {
"/*": [ "/*": [
{
"xml": "<feature name=\"Device\"><param name=\"android-package\" value=\"org.apache.cordova.device.Device\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"SplashScreen\"><param name=\"android-package\" value=\"org.apache.cordova.splashscreen.SplashScreen\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"StatusBar\"><param name=\"android-package\" value=\"org.apache.cordova.statusbar.StatusBar\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Whitelist\"><param name=\"android-package\" value=\"org.apache.cordova.whitelist.WhitelistPlugin\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Keyboard\"><param name=\"android-package\" value=\"io.ionic.keyboard.IonicKeyboard\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{ {
"xml": "<preference name=\"webView\" value=\"org.crosswalk.engine.XWalkWebViewEngine\" />", "xml": "<preference name=\"webView\" value=\"org.crosswalk.engine.XWalkWebViewEngine\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<preference name=\"xwalkVersion\" value=\"22+\" />", "xml": "<preference name=\"xwalkVersion\" value=\"23+\" />",
"count": 1 "count": 1
}, },
{ {
@ -35,26 +55,6 @@
{ {
"xml": "<preference name=\"android-minSdkVersion\" value=\"16\" />", "xml": "<preference name=\"android-minSdkVersion\" value=\"16\" />",
"count": 1 "count": 1
},
{
"xml": "<feature name=\"Device\"><param name=\"android-package\" value=\"org.apache.cordova.device.Device\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"SplashScreen\"><param name=\"android-package\" value=\"org.apache.cordova.splashscreen.SplashScreen\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"StatusBar\"><param name=\"android-package\" value=\"org.apache.cordova.statusbar.StatusBar\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Whitelist\"><param name=\"android-package\" value=\"org.apache.cordova.whitelist.WhitelistPlugin\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Keyboard\"><param name=\"android-package\" value=\"io.ionic.keyboard.IonicKeyboard\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
} }
] ]
} }
@ -79,14 +79,6 @@
"cordova-plugin-console": { "cordova-plugin-console": {
"PACKAGE_NAME": "walljm.dynamicbible" "PACKAGE_NAME": "walljm.dynamicbible"
}, },
"cordova-plugin-crosswalk-webview": {
"XWALK_VERSION": "22+",
"XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
"XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
"XWALK_MODE": "embedded",
"XWALK_MULTIPLEAPK": "true",
"PACKAGE_NAME": "walljm.dynamicbible"
},
"cordova-plugin-device": { "cordova-plugin-device": {
"PACKAGE_NAME": "walljm.dynamicbible" "PACKAGE_NAME": "walljm.dynamicbible"
}, },
@ -101,6 +93,14 @@
}, },
"ionic-plugin-keyboard": { "ionic-plugin-keyboard": {
"PACKAGE_NAME": "walljm.dynamicbible" "PACKAGE_NAME": "walljm.dynamicbible"
},
"cordova-plugin-crosswalk-webview": {
"XWALK_VERSION": "23+",
"XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
"XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
"XWALK_MODE": "embedded",
"XWALK_MULTIPLEAPK": "true",
"PACKAGE_NAME": "walljm.dynamicbible"
} }
}, },
"dependent_plugins": {}, "dependent_plugins": {},
@ -141,11 +141,11 @@
], ],
"plugin_metadata": { "plugin_metadata": {
"cordova-plugin-console": "1.0.5", "cordova-plugin-console": "1.0.5",
"cordova-plugin-crosswalk-webview": "2.3.0",
"cordova-plugin-device": "1.1.4", "cordova-plugin-device": "1.1.4",
"cordova-plugin-splashscreen": "4.0.3", "cordova-plugin-splashscreen": "4.0.3",
"cordova-plugin-statusbar": "2.2.3", "cordova-plugin-statusbar": "2.2.3",
"cordova-plugin-whitelist": "1.3.1", "cordova-plugin-whitelist": "1.3.1",
"ionic-plugin-keyboard": "2.2.1" "ionic-plugin-keyboard": "2.2.1",
"cordova-plugin-crosswalk-webview": "2.3.0"
} }
} }

View File

@ -38,12 +38,12 @@ module.exports.metadata =
// TOP OF METADATA // TOP OF METADATA
{ {
"cordova-plugin-console": "1.0.5", "cordova-plugin-console": "1.0.5",
"cordova-plugin-crosswalk-webview": "2.3.0",
"cordova-plugin-device": "1.1.4", "cordova-plugin-device": "1.1.4",
"cordova-plugin-splashscreen": "4.0.3", "cordova-plugin-splashscreen": "4.0.3",
"cordova-plugin-statusbar": "2.2.3", "cordova-plugin-statusbar": "2.2.3",
"cordova-plugin-whitelist": "1.3.1", "cordova-plugin-whitelist": "1.3.1",
"ionic-plugin-keyboard": "2.2.1" "ionic-plugin-keyboard": "2.2.1",
"cordova-plugin-crosswalk-webview": "2.3.0"
}; };
// BOTTOM OF METADATA // BOTTOM OF METADATA
}); });

View File

@ -69,7 +69,7 @@
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /> <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
<preference name="loglevel" value="DEBUG" /> <preference name="loglevel" value="DEBUG" />
<preference name="webView" value="org.crosswalk.engine.XWalkWebViewEngine" /> <preference name="webView" value="org.crosswalk.engine.XWalkWebViewEngine" />
<preference name="xwalkVersion" value="22+" /> <preference name="xwalkVersion" value="23+" />
<preference name="xwalkLiteVersion" value="xwalk_core_library_canary:17+" /> <preference name="xwalkLiteVersion" value="xwalk_core_library_canary:17+" />
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" /> <preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" />
<preference name="xwalkMode" value="embedded" /> <preference name="xwalkMode" value="embedded" />