Remove Permissions on CocoonJS Games

Discussion and feedback on Construct 2

Post » Fri May 24, 2013 2:38 pm

So I guess ludei is coming out soon with an update (I think?) so you can pick what permissions you want, but I did try the manual process of doing it myself by decompiling the apk and it seems the only permissions I can really remove successfully are the location permissions. If I remove any other permission it seems to break the app
B
57
S
10
G
6
Posts: 455
Reputation: 8,530

Post » Wed May 29, 2013 11:32 am

I hope they update cocoonjs soon because i need to remove all permissions too, and my idea is release my game in less than a month :S
B
31
S
7
G
2
Posts: 157
Reputation: 3,735

Post » Wed May 29, 2013 12:03 pm

@zutri

My understanding is next cocoonjs which should be out soon will do just that
B
30
S
11
G
6
Posts: 398
Reputation: 6,211

Post » Fri Feb 14, 2014 2:13 am

It's been since 2012 and still no sign of movement. Really poor form.
B
60
S
21
G
18
Posts: 1,741
Reputation: 16,800

Post » Fri Feb 14, 2014 10:08 am

[QUOTE=Silverforce] It's been since 2012 and still no sign of movement. Really poor form.[/QUOTE]
This issue has been solved months ago. There are still problems with physics and ad support but despite that i think cocoonjs is now a viable solution for mobile games.
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Fri Feb 14, 2014 11:13 am

[QUOTE=Knifegrinder] [QUOTE=Silverforce] It's been since 2012 and still no sign of movement. Really poor form.[/QUOTE]
This issue has been solved months ago. There are still problems with physics and ad support but despite that i think cocoonjs is now a viable solution for mobile games.[/QUOTE]

How is it solved? Apps compiled by CocoonJS have 7 permissions by default, we cannot selectively pick.
B
60
S
21
G
18
Posts: 1,741
Reputation: 16,800

Post » Fri Feb 14, 2014 12:35 pm

I have these permissions on my builds.

android.permission.WRITE_EXTERNAL_STORAGE
android.permission.INTERNET
android.permission.ACCESS_NETWORK_STATE
android.permission.READ_PHONE_STATE
android.permission.VIBRATE
android.permission.RECEIVE_BOOT_COMPLETED

All of them are quite standard for a game. I don't see anything "scary" for a potential customer like camera access and geolocalization.
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Fri Feb 14, 2014 12:42 pm

My latest compiled have these permissions by default: none of which I need for my game at all.

1. Storage, modify or delete contents of SD card.
2. Phone calls, read phone status and identity.
3. Network Comm, full network access.
4. Your location.
5. System tools, test access to protected storage (WTF does it need this?!)
6. Network Comm, view network connections.
7. Prevent device from sleeping (fine).

Exactly same game compiled via Intel Crosswalk:
1. Network Comm, view network connections.

Note that Storage permission to edit contents of SD card is NOT required for Webstorage saving to function at all.
Silverforce2014-02-14 12:43:00
B
60
S
21
G
18
Posts: 1,741
Reputation: 16,800

Post » Fri Feb 14, 2014 11:12 pm

Same here. Not fixed. I lol'd at @ludei saying it would be fixed in a few weeks.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
68
S
8
G
6
Posts: 929
Reputation: 9,356

Post » Tue Apr 22, 2014 4:55 pm

Did anyone try that tutorial linked earlier? and did it work?
Im going to try it tonight/tomorrow, ill let you know if it worked for me.
EDIT: worked!
B
8
S
4
Posts: 120
Reputation: 1,266

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: henryScirra, shinichild and 11 guests