Hello,
-
What is the right cli command ?
ionic plugin add cordova-plugin-crosswalk-webview ;
or
ionic browser add crosswalk .
-
What are the right lines to add inside the config.xml.
I've noticed this inside the config.xml
<preference name="xwalkVersion" value="17+" />
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" />
<preference name="xwalkMode" value="embedded" />
<preference name="xwalkMultipleApk" value="true" />
But is there more to write and does it still work without the “desable pull to refresh”?
- Where goes the manifest.json?
Thx
1 Like
like mhartington said:
you simple add the crosswalk plugin. After that you need to build the multiple apk-files.
There is a little example for android.
instead of cordova xxx
commands you can use ionic xxx
Ok and Thank you both.
But
- doing “ionic plugin add cordova-plugin-crosswalk-webview” :
I install crosswalk not only for android but:
“Installing “cordova-plugin-crosswalk-webview” for ios
Installing “cordova-plugin-crosswalk-webview” for windows”
Does it mean that an iOS and WinPh apps will also use Crosswalk as webview?
If yes how to prevent this?
- Crosswalk allows custom Launch Screen through its manifest.json
( https://crosswalk-project.org/documentation/manifest/launch_screen.html ).
How to do the same inside the config.xml?
Thx
No it does not auto install plugins for ios and windows. You confirm this by looking at the plugins
I am getting error when i am adding plugin cordova plugin add cordova-plugin-crosswalk-webview --save
and i am getting this error :-
cordova plugin add cordova-plugin-crosswalk-webview --save
Running command - failed!
[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.
[ERROR] An error occurred while running cordova plugin add cordova-plugin-crosswalk-webview --save (exit code 1):
Error: Cannot find module 'internal/fs'
and my cli is also show :- npm update check failed
Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /Users/sanjeevkumarraja/.config