Zfinix / carrier_info

📱 Carrier Info gets networkType, networkGeneration, mobileCountryCode, mobileCountryCode, e.t.c from both android and iOS devices.
MIT License
34 stars 48 forks source link

Hi man, why do we need ask permission ? #25

Open baiama opened 1 year ago

baiama commented 1 year ago

await [ Permission.locationWhenInUse, Permission.phone, Permission.sms, ].request();

Sorry, if my question is stupid.
Zfinix commented 1 year ago

It’s needed on the android side to get the required data

On Wed, 28 Dec 2022 at 9:15 AM, baiama @.***> wrote:

await [ Permission.locationWhenInUse, Permission.phone, Permission.sms, ].request();

Sorry, if my question is stupid.

— Reply to this email directly, view it on GitHub https://github.com/Zfinix/carrier_info/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGE3JSJMWOXCJG7AWZN7OJLWPPZIJANCNFSM6AAAAAATLBTPMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Chiziaruhoma O.

Alatouo commented 1 year ago

await [ Permission.locationWhenInUse, Permission.phone, Permission.sms, ].request();

Sorry, if my question is stupid.

Agreed, why do we need all those permissions if the only info that I need is carrier name or country code? Would be great if we could get all freely available data (no permission required) and the ones that require permission as null values.