Remove Permissions on CocoonJS Games

0 favourites
From the Asset Store
Easily generate many levels from a set of pre-built scenes (Construct 3 template)
  • Does anyone know how to remove the default Android permissions on a game created using CocoonJS cloud compiler?

    It seems that when you create a game with the cloud compiler, the following permissions are automatically added to the apk:










    This is a problem for me for two reasons:

    a) This prevents me from giving the game a Content Rating of 'Everyone' on Google Play. Google automatically bumps the rating up to 'low maturity' if the app asks for location permissions. My game is a game for preschool children, so I need to set a rating of 'Everyone'.

    b) Some users are put off by games that seek excessive permissions, as there is a lot of malware out there.

    Does ludei have any plans to make these setting optional?

  • You'll need to decompile the unsigned apk then modify the relevant xml, recompile, sign and align. I've tried doing this with an apk multi-tool but have always ended up with errors. Would be great if ludei could have the cloud generate a set of files that can be dropped into Eclipse.

  • You need to ask Ludei about this. I don't think there's anything we can do to change the permissions when exporting from C2.

  • Hi, you should decompile the apk file and change the "AndroidManifest.xml" and then recompile it again. Inside the "AndroidManifest.xml" you'll find the permission line like "<uses-permission android:name="android.permission.INTERNET" />". It should work when you delete it. Here is the link for tutorial.

  • Thanks for the replies guys.

    The tutorial on decompiling the apk looks far too complicated and scary for me. It took me so long to get my app working in the first place, that I don't want to risk messing it up.

    I guess I will have to wait and hope that ludei gives us this option in the future...

  • Hi sicetix ... in the end, I followed the steps of the tutorial as far as I could.

    I managed to decompile the app and remove the xml signs

    But I did not understand how to recompile the app

    The tutorial was unclear about this. I originally signed my app using a keystore file I created by following the ludei tutorial ... I do not understand how to re-sign the app...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi everyone,

    Yes, the Cloud Compiler currently does that because we don't yet have a method to selectively enable/disable features in CocoonJS, so every possible permission that any part of CocoonJS can ever use must be requested.

    We're working on a system to selectively enable/disable certain parts of our system (camera,store,ads...) so those permissions aren't needed, but it's not yet finished and it'll take a few weeks at least to be released.

    Until then, we think your only option is to try your luck with the apk tool other users have suggested.

  • Thanks ludei -- I can wait a few weeks or so!

  • ludei Any progress on this issue?

  • Perhaps an easy way would be for the Developer to tell Ludei what permissions they want their app to have?

    Perhaps via some checkboxes or the like?

  • 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

  • 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

  • My understanding is next cocoonjs which should be out soon will do just that

  • It's been since 2012 and still no sign of movement. Really poor form.

  • It's been since 2012 and still no sign of movement. Really poor form.

    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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)