Comments (11)
Which way did you used to install crosswalk lite?
from cordova-plugin-crosswalk-webview.
i'm using phonegap build, i switch to lite using this param in the config.xml:
<preference name="xwalkMode" value="lite" />
from cordova-plugin-crosswalk-webview.
Hello, we are using crosswalk 17 lite via cordova with the command line interface and face the same problem.
Lots of our beta testers are confused to see the term 'crosswalk', because they do not know what 'crosswalk' is and think they have just downloaded some kind of adware or similar.
I know, that the crosswalk project got shutdown, but we hope that this issue might get fixed, since this is pretty much a show stopper for us.
Why not simply remove the 'crosswalk' term from the dialog or even give control over the dialog text?
from cordova-plugin-crosswalk-webview.
Given Crosswalk is not being actively maintained, I'm afraid this will be solved any time soon. With that said, should anyone step up this will likely only be fixed in recent, non-lite versions. Crosswalk Lite is seriously outdated compared to the non-Lite version and has not seen any updates in a very long time.
from cordova-plugin-crosswalk-webview.
Thanks for your qick reply, though unfortunately with bad news.
So as far as I understand it, only chance for us would be either:
(1) to build crosswalk lite and the cordova plugin ourselves and circumvent the maven server process.
or (2) to change the crosswalk .so with a hex editor by erasing the 'crosswalk' name from the dialog and then signing our .apk again.
Since (1) seems overkill and not well documented, we will certainly opt for (2).
Regarding crosswalk lite being outdated - we totally do not mind. We only need a reliable platform to run our static html/css/js files. Without crosswalk, we consider giving up the webplatform for android, since we do not feel safe with an ever-green chrome updating itself all the time. We feel pretty frustrated, that Intel decided to drop the project.
from cordova-plugin-crosswalk-webview.
What can we do to solve this issue and be able to configure this text ?
This very issue makes the whole Crosswalk-lite projet unusable in an international app...
from cordova-plugin-crosswalk-webview.
There is a way to modify the text that appears on the first run. In order to do this you will need to decompress your apk after you run ionic cordova build android
, using either APK Editor on your device or APK Tool on your PC.
**Using APK Editor **
Install your apk on your device.
Download APK Editor from the Play Store.
Open APK Editor and then select "Select Apk from App".
Select your app.
Select full edit.
Under the Strings Tab, look for crosswalk_install_title
and decompression_progress_message
.
Edit both of these, then select build.
Your app will be rebuilt and signed.
Install and test app. You will see that the decompression has now changed.
Using APK tool
Download the Apk tool jar file. Install instructions can be found here https://ibotpeaches.github.io/Apktool/install/
Place jar file in the same folder as apk.
Open console and navigate to the folder, run the following command java -jar apktool.jar d test.apk
, where test.apk is your apk.
A folder name test will be created, again test will be the name of your apk. This folder will contain the files and folders generated as a result of decompressing your apk.
Navigate to res/values/strings.xml
In strings.xml search for crosswalk_install_title
and decompression_progress_message
.
Edit them.
Save
Compile apk by running java -jar apktool.jar b test.apk
, again this will be run in the same folder as your apk. This will create an apk which is located in the dist folder of the folder created by running the previous decompression command.
You then need to sign the apk as the apk tool does not do this for you.
You can use this tool to sign your apk https://shatter-box.com/knowledgebase/android-apk-signing-tool-apk-signer/
from cordova-plugin-crosswalk-webview.
Are you seriously considering to hack a binary for an open source project ?
There is an existing preference mechanism, supported by cordova plugin API and configurable in the config.xml file exactly for that. It is used by countless plugins to display customized messages (like the geolocation plugin).
The message to configure has simply to be taken out of the "constant code" and an indirection added to get it from the preference file.
Is this project completely abandoned ?
from cordova-plugin-crosswalk-webview.
I have the same issue - the "Decompressing the Crosswalk project" will just confuse customers? Has anyone found a relatively easy way to get rid of this message on the initial install?
from cordova-plugin-crosswalk-webview.
Same here. How to customize that message?
from cordova-plugin-crosswalk-webview.
Answer of @Blake-007 is too complecate
Simply write two lines in app/src/main/res/values/strings.xml
file
<string name="decompression_progress_message">First app setup executing…</string>
<string name="crosswalk_install_title">Please, wait</string>
They will overwrite the original strings
from cordova-plugin-crosswalk-webview.
Related Issues (20)
- Could not resolve org.xwalk:xwalk_core_library:23+. Response 504 HOT 4
- Could not find xwalk_core_library_canary-64bit.aar (org.xwalk:xwalk_core_library_canary:17.46.460.1). HOT 2
- any example that builds ? now ?
- java.lang.RuntimeException:
- App will shut down on Android 8.0 or later HOT 1
- Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. HOT 5
- Does this support WASM and asm.js? HOT 1
- 64 bit HOT 28
- Firebase problem with xWalk HOT 1
- Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. HOT 1
- Failed to install 'cordova-plugin-crosswalk-webview' HOT 2
- API Target 28 with cordova-plugin-crosswalk-webview dosn't work
- Is it does not work in Ionic4 project?
- [Android] 32 bit not included HOT 1
- Could not find org.xwalk:xwalk_core_library_canary:23.52.576.0.
- How can i modify User Agent of Crosswalk webview
- cordova-plugin-crosswalk-webview-v3 (cordova 9 support and bug fixes) HOT 3
- Unable to find 32-bit lib.so files while analyzing android APK HOT 1
- crosswalk android full version? HOT 1
- compat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-crosswalk-webview.