Hi Dave,
Crosswalk QA tried the Crosswalk based Cordova build Canary
9.38.199.0/10.38.209.0, and Beta 8.37.189.6 with Cordova Mobile Spec tests
(https://github.com/apache/cordova-mobile-spec/tree/3.5.x ) which including 17
plugins, the third party DOMLauncher
(https://github.com/AricwithanA/DOMLauncher2 ) is tested weekly as well, didn't
see the "cordova fails to load the plugins" issue.
Could you please let us know your detailed steps? Please check the test steps
we did:
Download Crosswalk base Cordova binary from
https://download.01.org/crosswalk/releases/crosswalk/android/canary/10.38.210.0/arm/crosswalk-cordova-10.38.210.0-arm.zip
or
https://download.01.org/crosswalk/releases/crosswalk/android/canary/10.38.210.0/x86/crosswalk-cordova-10.38.210.0-x86.zip
$ unzip crosswalk-cordova-10.38.210.0-arm.zip
$ cd crosswalk-cordova-10.38.210.0-arm/
$ ./bin/create hello com.test.hello hellotest
$ cd hello/
$ plugman install --platform android --project ./ --plugin
https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git#r0.2.9
Update index.html under hello/assets/www/ with following code snippets:
<div id='platform'>platform</div>
<div id='version'>version</div>
<div id='cordova'>cordova version</div>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript">
function onDeviceReady() {
document.getElementById("cordova").innerHTML = cordova.version;
document.getElementById("platform").innerHTML = device.platform;
document.getElementById("version").innerHTML = device.version;
}
document.addEventListener("deviceready", onDeviceReady, false);
</script>
$ ./cordova/build
$ ./cordova/run
Run the app on device, the APIs provided by plugin-device works as
attached.
1. Please use the cordova.js by "./bin/create", currently the version of
supported Cordova plugins is 3.5.0.
https://crosswalk-project.org/#wiki/[email protected]
2. The CORDOVA_JS_BUILD_LABEL in cordova.js is 3.5.0
3. You can comment out this line on cordova.js if it pops up dialogs in Browser
(in line 352), it's better to check the results on device (are you using Apache
Ripple?):
return prompt(argsJson, 'gap:'+JSON.stringify([service, action,
callbackId]));
BR
Belem
-----Original Message-----
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Dave
Richardson
Sent: Monday, September 22, 2014 5:24 PM
To: [email protected]
Subject: Re: [Crosswalk-help] Crosswalk Cordova 10 issue
Hello,
I just tried 9.38.208.1, seems like the error was already there.
Greetings
On 22-9-2014 11:10, Balestrieri, Francesco wrote:
> Hi Dave,
>
> Thanks for reporting this. Have you had the chance to try Crosswalk 9
> and if so, does the same issue occur with that version?
>
> Francesco
>
> On 22/09/14 11:51, "Dave Richardson" <[email protected]> wrote:
>
>> Hello,
>>
>> Just wanted to report an issue i'm having with Crosswalk Cordova 10,
>> which I tried today.
>> When I launch the app cordova fails to load the plugins.
>>
>> This is what happens:
>> http://stackoverflow.com/questions/16920596/phonegap-html-app-and-var
>> ious-
>> alerts-hang-browser
>>
>> And one of the answers is that the wrong cordova.js file is included,
>> and that might be right.
>>
>> P.S. If i replace the Cordovalib contents with Crosswalk Cordova 8 it
>> all works.
>> An example app with some plugins installed is enough to replicate
>> this issue (the source of the index.html doesn't matter).
>>
>> Greetings
>> Dave
>> _______________________________________________
>> Crosswalk-help mailing list
>> [email protected]
>> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
> ---------------------------------------------------------------------
> Intel Finland Oy
> Registered Address: PL 281, 00181 Helsinki Business Identity Code:
> 0357606 - 4 Domiciled in Helsinki
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
>
>
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help