Hello Radek,
On 28 September 2015 at 14:31, Irbis <[email protected]> wrote:
>
> The problem here (to my understanding) is that the CrossWalk automatically
> sets up the permissions, overwriting or extending already present
> permissions. By default it adds practically every and all possible
> permissions.
This is a misunderstanding. Crosswalk itself only needs a very limited
set of permissions regarding network access in order to run. But the
default crosswalk AndroidManifest.xml adds a few more regarding webcam
and the like, such that trying various examples is easy.
We will make it more clear, and also advise downstream integrators,
that the default set of permissions is not the minimal one.
> I am aware of the method of rewriting the permissions from the manifest but
> its a very edgy solution. Do I really have to crack my own game to make it
> work? And if so - then whats the point of using Intel XDK/Crosswalk anyway,
> when I still have do the job manualy.
>
> Possible solution here would be Crosswalk just staying the heck away from
> permissions. Leaving the users with the task of adding them. Which btw was
> just like that in the previous Crosswalk version, where it all worked fine.
> The programmers, who have full access to the permissions setup within
> Crosswalk will be able to add them anyway. And we, Construct 2/Intel XDK
> users will be enabled again to produce games without cracking them after
> export.
Even if you are not calling yourself a programmer, it is important to
understand the basic concepts of security and permissions when
publishing software. I would very much suggest to read up on the
relevant documentation¹ and familiarise yourself with how they are
handled in the XDK or any other tools you are using. For a basic app
with network access, try starting with the following set of
permissions:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
Don't hesitate to ask if you have additional question.
Best,
Rob
¹ https://developer.android.com/guide/topics/manifest/manifest-intro.html#perms
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help