Nice video. thanks man. still waiting this kind of videos in future.
@physasteroid44372 жыл бұрын
Thank you broo!
@alparslanmetehan96783 жыл бұрын
Can I fork this and share a modificated version of this in github? I can make it show the coordinates aswell.
@shivaburade3 жыл бұрын
Yes you can
@dancewithbhoomi78263 жыл бұрын
Thanks a lot !!
@bhupeshpattanaik71503 жыл бұрын
I was trying contact permission , the permission dialog Box has only two options allow and deny , AND NOT deny permanently 🤷🏻♂️🤔
@shivaburade3 жыл бұрын
Maybe you are trying on different android version.
@bhupeshpattanaik71503 жыл бұрын
@@shivaburade thanks , I checked in different android version and it solved my issue 👍
@TheWellington19973 жыл бұрын
Is the same process for IOS? Can you send me a video about handling iOS permissions?
@EmreYavuzalp4 жыл бұрын
Cool, but how to add location permissions and ask for it? Then write the location, at least as city?
@shivaburade4 жыл бұрын
Hi Emre, if you want to ask location permission you need to update androidManifest.xml with the permissions you want to ask. In case of Location it would be: Now to ask for permission, you can use. Permission.location.request() You can see the example here -- pub.dev/packages/permission_handler Coming to how to write/get current user location. You need to use Location Package from Flutter. More info here -- pub.dev/packages/location I hope this answers all your questions.
@king40534 жыл бұрын
@@shivaburade there's additional options for location. the locationAlways and locationWhenInUse. which should I use for keeping permission forever (possible for background access)?
@shivaburade4 жыл бұрын
@@king4053 Use LocationAlways for keeping permission forever. If you want to check permission status for locationAlways and locationWhenInUse. Refer to this link stackoverflow.com/questions/58680190/flutter-location-permission-when-in-use-or-always I hope this helps you. And sorry for the late reply, I was stuck in some work.
@altafc224 жыл бұрын
storage permissions are not working in android 10+ os could you please give some idea how to do it
@shivaburade4 жыл бұрын
Actually, they are working. I have just tested it. Did you add into androidManifest.xml ? if you have added then await Permission.storage.request(); Should ask for permission. Check if you have whitelisted the storage permission, whitelisting permission means to add permissions in androidManifest.xml This link should help you. stackoverflow.com/questions/60284925/what-does-whitelisted-mean-for-write-external-storage
@umairkhalid94724 жыл бұрын
@@shivaburade storage permission not working even after doing all mentioned above
@umairkhalid94724 жыл бұрын
@@shivaburade MissingPluginException(No implementation found for method requestPermissions on channel flutter.baseflow.com/permissions/methods
@shivaburade4 жыл бұрын
@@umairkhalid9472 Hi Umar, I am not entirely sure why storage permission is not working in your case because it is working at my side. Having said that I did research regarding MissingPluginException and I found this Github issue which you may find useful github.com/Baseflow/flutter-permission-handler/issues/308 also, check this: stackoverflow.com/questions/50985468/flutter-missingpluginexception-with-several-plugins
@AliYar-Khan3 жыл бұрын
how to ask for permissions on the start of the app?
@shivaburade3 жыл бұрын
you can override initState and then ask for permission. for example: @override void initState() { // TODO: implement initState super.initState(); checkpermission_phone_logs(); //ask permission. }
@shivaburade3 жыл бұрын
let me know if it helps you
@AliYar-Khan3 жыл бұрын
@@shivaburade thanks ... It helps
@shivaburade3 жыл бұрын
@@AliYar-Khan welcome!! don't forget to subscribe, thanks!!