Giter Site home page Giter Site logo

Comments (11)

rubenlpz avatar rubenlpz commented on June 7, 2024

Which way did you used to install crosswalk lite?

from cordova-plugin-crosswalk-webview.

lordamon avatar lordamon commented on June 7, 2024

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.

Gitfried avatar Gitfried commented on June 7, 2024

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.

rakuco avatar rakuco commented on June 7, 2024

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.

Gitfried avatar Gitfried commented on June 7, 2024

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.

pvdyck avatar pvdyck commented on June 7, 2024

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.

Blake-007 avatar Blake-007 commented on June 7, 2024

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.

pvdyck avatar pvdyck commented on June 7, 2024

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.

gkimpson avatar gkimpson commented on June 7, 2024

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.

 avatar commented on June 7, 2024

Same here. How to customize that message?

from cordova-plugin-crosswalk-webview.

androidovshchik avatar androidovshchik commented on June 7, 2024

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&#8230;</string>
<string name="crosswalk_install_title">Please, wait</string>

They will overwrite the original strings

from cordova-plugin-crosswalk-webview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.