MapsAPI icon indicating copy to clipboard operation
MapsAPI copied to clipboard

Sdcard usage for caching requires more permissions than Google's Maps API

Open mar-v-in opened this issue 10 years ago • 1 comments

This means, applications might have problems accessing or writing to the cache which can end in empty maps or no maps at all.

Possible workaround for self-compiled apps is to add android.permission.READ_EXTERNAL_STORAGE and android.permission.WRITE_EXTERNAL_STORAGE as used permission.

To use a global cache without requiring storage permission, we need a helper application (a ContentProvider?) that has the required permissions and does not require them for map tile access.

mar-v-in avatar Mar 14 '14 19:03 mar-v-in

Wouldn't it be an alternative to simply fall back to a per-application cache if the read/write permissions are missing? That sounds easier to implement, at least.

RalfJung avatar Aug 18 '15 10:08 RalfJung