top | item 36648309

(no title)

sourabhv | 2 years ago

I thought of this years ago and even tried implementing this but my knowledge that time was very limited. So eventually I gave up.

I think before android implemented their permission system, os like Xiaomi’d implemented their permissions by feeding fake data to the app in case user reject a permission.

discuss

order

zzo38computer|2 years ago

I think that feeding fake data by default in case use reject a permission is not appropriate. There should be an option to do that (or, like I suggested, a way for the user to write programs to program it to feed whatever data they want), although I think that by default if a permission is rejected it should just provide empty data (e.g. an empty contacts list) or an appropriate error code (e.g. network error or disk error or cannot acquire satellite, just as though that error had actually occurred), rather than making up fake data.