Dan avatar image
Dan suggested charlesreed commented

Remove permission constraints on apps running on Sandbox devices / emulators

In 3 years of Clover development this is my biggest problem with developing on the platform. I'm sure it used to work in the early days, install an app over adb and forget about it.

As a sandbox developer, I should be able to reinstall my apps when I want without worrying about permissions, that should be the whole reason the sandbox exists.

I have multiple sandbox devices, multiple emulators, multiple merchants and multiple apps. When I come to work on an app, I generally have to do the same steps:
  • install over adb
  • realise there's no permissions
  • open sandbox dashboard
  • find the app
  • click preview in app market
  • make sure I'm looking at the right merchant
  • click install, choose plan
  • open Register on device / emulator
  • click sync, wait a few seconds for permissions to be synced
  • run app again
  • hope it worked.
Now I can do usually do this in less than 5 minutes now but it is quite cumbersome. You should watch me try and explain this to a new developer :)

So my suggestion should anyone see it is to examine the reasons why sandbox apps need to interact with the app market at all, and if possible just leave sandbox apps as having access to all permissions.

The only drawback I can see is going to be developers who forget permissions exist, and therefore forget to select the right ones when publishing an app.

Well I have a solution to that as well: make us list the permissions in the manifest with the uses-permission tag. That means on-upload the market can check the permissions match what is checked in the dashboard, and if they don't, reject the apk.
App MarketSandbox
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Comment

charlesreed avatar image
charlesreed commented

You have a wonderful ability for coming up with original ideas. I admire how you think and how you present your views in this article. I was pleasantly pleased by your writing. I appreciate how you elevated the grandeur of my encounter. When you become lost, ask geometry dash meltdown for help to make things easier. That is among the things that have assisted me in getting beyond a variety of challenges.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write a Comment

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Welcome to the
Clover Developer Community

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.