kevincaicedo / imei_plugin

plugin for get imei in android with flutter
MIT License
31 stars 44 forks source link

Android want PHONE permissions #7

Open kleinpetr opened 5 years ago

kleinpetr commented 5 years ago

When I call getImei in main, the app shows permission popup for PHONE permissions before start app. When I click to allow or disallow permissions then the app shut down...

badrussamsi commented 4 years ago

hi @kleinpetr i have same error, do you have solution for fix this error?

kleinpetr commented 4 years ago

No. Now I am using this plugin https://pub.dev/packages/device_id

badrussamsi commented 4 years ago

If use this plugin https://pub.dev/packages/device_id how about handle your permission?

kleinpetr commented 4 years ago

No need it

Klein Petr Tvorba mobilních a webových aplikací www.kleinpetr.com +420 606 954 642 petr@kleinpetr.com IČO: 03771571

Dne po 30. 12. 2019 8:59 uživatel badrussamsi notifications@github.com napsal:

If use this plugin https://pub.dev/packages/device_id how about handle your permission?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kevincaicedo/imei_plugin/issues/7?email_source=notifications&email_token=AEDYEPIALQYUD3MFN2WL26DQ3GS5HA5CNFSM4HYOQDEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZYXXA#issuecomment-569609180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDYEPJFM2V7INBPPR34LS3Q3GS5HANCNFSM4HYOQDEA .

yash365 commented 4 years ago

i am also getting the same issue, getting following error : java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference in flutter