Hi Junwei,

Could you help on this question?
    about xwalk extension, is extension used for js call java native function 
like cordova plugin ? if yes, what's the different between them ?

From: Zhang, Xiaofeng [mailto:[email protected]]
Sent: Tuesday, April 26, 2016 4:06 PM
To: JAMIE JIN (EUCD-EUC-ISD-OOCLL/ZHA)
Cc: [email protected]; Wei, Xiaosong; Fu, Junwei
Subject: RE: XWalk related questions

I don't familiar with this domain.
I think xwalk extension only expose apis in H5 standard, while Cordova plugin 
can be customized, that means any APIs you implemented.

@Fu, Junwei, please help to answer this question.

Best Regards :)
Xiaofeng Zhang

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
Sent: Tuesday, April 26, 2016 3:01 PM
To: Zhang, Xiaofeng
Cc: 
[email protected]<mailto:[email protected]>;
 Wei, Xiaosong
Subject: RE: XWalk related questions

Hi XiaoFeng,

         Some questions about xwalk extension, is extension used for js call 
java native function like cordova plugin ? if yes, what's the different between 
them ?


From: Zhang, Xiaofeng [mailto:[email protected]]
Sent: Tuesday, April 26, 2016 11:11 AM
To: JAMIE JIN (EUCD-EUC-ISD-OOCLL/ZHA)
Cc: 
[email protected]<mailto:[email protected]>;
 Wei, Xiaosong
Subject: RE: XWalk related questions

While API version is based on what new APIs we completed and added.
------> new APIs means new interfaces and implements in xwalk runtime lib ?
   ..............yes

Generally, if B download 20,  A will still works, because we will ensure the 
compatibility while upgrading.
-----> so, mostly, if runtime lib update to a newer version, older xwalk 
application could still work without upgrade ?
          .............. yes, but not sure.

Best Regards :)
Xiaofeng Zhang

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
Sent: Tuesday, April 26, 2016 10:59 AM
To: Zhang, Xiaofeng
Cc: 
[email protected]<mailto:[email protected]>;
 Wei, Xiaosong
Subject: RE: XWalk related questions

While API version is based on what new APIs we completed and added.
------> new APIs means new interfaces and implements in xwalk runtime lib ?

Generally, if B download 20,  A will still works, because we will ensure the 
compatibility while upgrading.
-----> so, mostly, if runtime lib update to a newer version, older xwalk 
application could still work without upgrade ?



From: Zhang, Xiaofeng [mailto:[email protected]]
Sent: Tuesday, April 26, 2016 10:42 AM
To: JAMIE JIN (EUCD-EUC-ISD-OOCLL/ZHA); Wei, Xiaosong
Cc: 
[email protected]<mailto:[email protected]>
Subject: RE: XWalk related questions

I will help to try answer some questions. Please see my comments below.

Best Regards :)
Xiaofeng Zhang

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
[email protected]<mailto:[email protected]>
Sent: Tuesday, April 26, 2016 10:03 AM
To: Wei, Xiaosong
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Crosswalk-help] XWalk related questions

Hi Xiaosong,

      Could you help answer version upgrade of xwalk runtime lib and app ?
      from the document of version checking,

1.       why version is different but api is same ?
[Xiaofeng] Crosswalk version is totally different with Crosswalk API version. 
Crosswalk version release cycle is modeled on the Chromium release cycle,  
follows a six week release cadence. You can see the details here: 
https://github.com/crosswalk-project/crosswalk-website/wiki/Release-dates and 
https://github.com/crosswalk-project/crosswalk-website/wiki/release-methodology.
 While API version is based on what new APIs we completed and added.

2.       is it unable to make sure the version of xwalk runtime lib is same as 
app specified?
[Xiaofeng] you can't, because in shared mode, xwalk runtime lib is an 
independent apk, another app in device may specify a different version with 
your app.

3.       do you have Corresponding table of version and api?
[Xiaofeng] see the comments in question 1

4.       Does it mean install a high xwalk  runtime lib version app  may need 
another lower xwalk runtime lib app upgrade which in same device, such as app A 
use runtime lib is 15, app B use runtime lib is 20, current device runtime lib 
is 15, if 15 is not in min api~ api, B will download version 20 to install to 
device, but A won't work again, so it need to upgrade,right?
[Xiaofeng] Maybe, but it depends on if app B use the new feature or api in 20.
        Generally, if B download 20,  A will still works, because we will 
ensure the compatibility while upgrading.
[cid:[email protected]]

      Below is I test :

App version

Lib version

Result

info

18.48.477.13

17.46.448.10

XWalk core version matched

[App Version] build:18.48.477.13, api:5, min_api:1
[Lib Version] build:17.46.448.10, api:5, min_api:5

17.46.448.10


18.48.477.13

XWalk core version matched

lib version, api:5, min api:5
app version, api:5, min api:5



From: Wei, Xiaosong [mailto:[email protected]]
Sent: Monday, April 25, 2016 2:43 PM
To: JAMIE JIN (EUCD-EUC-ISD-OOCLL/ZHA); 
[email protected]<mailto:[email protected]>
Subject: RE: XWalk related questions

You are right. The downloaded runtime APK in download mode won't be installed 
as usual, it's put under you app's private storage and it's under your fully 
control. That means you can upgrade it on demand and you can get the same 
benefit as that in embedded mode, an extra benefit compared with embedded mode 
is that the size of your App APK is reduced significantly.

To use shared mode or download mode, it depends on your need. If you just want 
to shrink your app size and don't care much about on which runtime it runs, 
shared mode may be a good option.

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
Sent: Monday, April 25, 2016 2:20 PM
To: Wei, Xiaosong; 
[email protected]<mailto:[email protected]>
Subject: RE: XWalk related questions

So download mode the runtime lib won't be installed in device after download 
like shared mode, but put to app storage?
 When downloaded into app, app size will become larger than previous ?
 These two modes, are there other 
weakness<http://www.baidu.com/link?url=hhnqYSkY5nXCziEntzHqJ9OzMxTsB5K_q7W7JbHqtPG1FXZfW35GTcRRtNG8fHy157L0g-cEt0X8Mkc1zwXCi3gZvrzS8ROTKJ43NEo9kMq>
 except long time waiting when first launch, and  do you think which is better?

From: Wei, Xiaosong [mailto:[email protected]]
Sent: Monday, April 25, 2016 2:12 PM
To: JAMIE JIN (EUCD-EUC-ISD-OOCLL/ZHA); 
[email protected]<mailto:[email protected]>
Subject: RE: XWalk related questions

No. the downloaded runtime is put under your app's private storage and others 
won't be able to access it.

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
Sent: Monday, April 25, 2016 1:49 PM
To: Wei, Xiaosong; 
[email protected]<mailto:[email protected]>
Subject: RE: XWalk related questions

Hi XiaoSong,
      Thanks for your reply.
       So Download Mode couldn't be shared by multiple Download-mode app, why? 
Is it unable to check run time lib existed or not ?

From: Wei, Xiaosong [mailto:[email protected]]
Sent: Monday, April 25, 2016 1:39 PM
To: JAMIE JIN (EUCD-EUC-ISD-OOCLL/ZHA); 
[email protected]<mailto:[email protected]>
Subject: RE: XWalk related questions


1.       what's the different between XWalk Shared Mode and Download Mode?
[XS] Simply put, for App packaged in shared mode, multiple shared-mode Apps 
share the same runtime. For App packaged in download mode, the downloaded 
runtime is under your control, it's similar to embedded mode except that the 
runtime is downloaded at the first launch.

2.       why download mode need sign the apk same with project app?

[XS] It's for security concern, however you could disable the signing check by 
setting xwalk_verify=false.

3.       Need xwalk_verify set to be enable when in distribute app?

[XS] it's enabled by default, if you don't want to enforce the security check 
you could set it to disable.

4.       What's the different between XWalkRuntimeLib.apk and 
XWalkRuntimeLibLzma.apk except the size, and what should take care when using?

[XS] It's for reducing size. XWalkRuntimeLibLzma.apk is only used in download 
mode.


From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
[email protected]<mailto:[email protected]>
Sent: Monday, April 25, 2016 11:28 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [Crosswalk-help] XWalk related questions

Hi support,

   Could you help on below questions:

1.       what's the different between XWalk Shared Mode and Download Mode?

2.       why download mode need sign the apk same with project app?

3.       Need xwalk_verify set to be enable when in distribute app?

4.       What's the different between XWalkRuntimeLib.apk and 
XWalkRuntimeLibLzma.apk except the size, and what should take care when using?



Disclaimer : This email and all contents are subject to the following 
disclaimer:
http://emaildisclaimer.oocl.com/default.html


Disclaimer : This email and all contents are subject to the following 
disclaimer:
http://emaildisclaimer.oocl.com/default.html


Disclaimer : This email and all contents are subject to the following 
disclaimer:
http://emaildisclaimer.oocl.com/default.html


Disclaimer : This email and all contents are subject to the following 
disclaimer:
http://emaildisclaimer.oocl.com/default.html


Disclaimer : This email and all contents are subject to the following 
disclaimer:
http://emaildisclaimer.oocl.com/default.html


Disclaimer : This email and all contents are subject to the following 
disclaimer:
http://emaildisclaimer.oocl.com/default.html


Disclaimer : This email and all contents are subject to the following 
disclaimer:
http://emaildisclaimer.oocl.com/default.html
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to