Hi, Mailing list
During Crosswalk Test suite migrate the pack tool from make_apk to app tool,
We found that many test cases got failed due to the permission issue. After 
analysis we found that the default permission template are restrict in app-tool 
than make_apk in bug 
XWALK-5016<https://crosswalk-project.org/jira/browse/XWALK-5016> Crosswalk app 
template defines too many permissions. There is also a related feature for App 
Tools to support permissions 
XWALK-5646<https://crosswalk-project.org/jira/browse/XWALK-5646> Support xwalk 
permissions.
We send this mail to mailinglist to notify other App developers and Users about 
this change. You need to manually add the permissions in manifest.json if you 
build your app with app-tool. This Update impact many existing Crosswalk Apps 
and QA test suites which have permission request.
Check the attachment for the analysis result of permission strategy between app 
tool and make_apk and impacted QA test suite and Crosswalk samples/demos.
Robert, Franceco
For the permission writing strategy in manifest.json, need you to provide a 
document or update the document 
https://crosswalk-project.org/documentation/manifest/permissions.html  to guide 
the user to update/write the app’s manifest, current document is based on 
make_apk strategy.
>From the Bug XWALK-5016 and XWALK-5646, we could not get the final solution 
>for app tool permission support strategy:
1. Does app-tool support default permission in template or not?  Which ones are 
default one? From QA’s test with simple app (hello world), we found that 
ACCESS_NETWORK_STATE,ACCESS_WIFI_STATE,INTERNET are default permission in 
app-tool build, are they default enabled permission? Need your confirmation.
2. Does app-tool support Web API based permissions value in manifest.json 
(check “Permissions required by API” section) or use AndroidManifest.xml 
permission value directly?
If use AndroidManifest.xml permission value, better to document the requested 
permissions for web APIs to facilitate app developer use. Since some APIs may 
request several permissions.

3. for App Tool, permission member in manifest.json need to update: 
xwalk_permissions --> xwalk_android_permissions
Is it the final solution? Since we found in XWALK-5646, you want to deprecate 
xwlak_android_permission, isn’t it? What is the final permission member name?

Thanks
Jenny



Attachment: permissons_apptool_VS_makeapk.xlsx
Description: permissons_apptool_VS_makeapk.xlsx

_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to