Easiest way to handle Permissions in Flutter App | Permission Handler

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ธ.ค. 2024

ความคิดเห็น • 12

  • @ankushgautam4277
    @ankushgautam4277 ปีที่แล้ว +1

    I'm not a Flutter Developer, but this helped my team understand the Permission part handling in a very simple way... Thanks... Will be looking for more... Keep it Up... 👍

  • @shasha_lns
    @shasha_lns 8 หลายเดือนก่อน +1

    thanks !!!!☺

    • @flutterplabs
      @flutterplabs  8 หลายเดือนก่อน +1

      You're welcome!

  • @amoke8336
    @amoke8336 7 หลายเดือนก่อน +1

    Permission_checker() async {
    var status = await Permission.storage.status;
    if (status.isDenied) {
    await Permission.storage.request();
    print("Ask for Permission");
    }
    }
    i do that code everything work fine but await Permission.storage.request(); not work

    • @flutterplabs
      @flutterplabs  7 หลายเดือนก่อน +1

      If you are using only single permission, then remove async-await…
      Or if still your code is not working then install Plabs Source App for The Source Code. It’s Free !!!
      Link is in the Description Box 📦

  • @ThisIsMonta
    @ThisIsMonta 11 หลายเดือนก่อน +1

    seems good but you forgot the deny case, how to deal with it ?

    • @flutterplabs
      @flutterplabs  11 หลายเดือนก่อน +1

      If in case you deny permission then you redirect the user to the settings of the app😃

  • @mohamedsalembousalem554
    @mohamedsalembousalem554 ปีที่แล้ว +1

    what is the name of the vscode extension that you use to show errors when typing code ?

    • @flutterplabs
      @flutterplabs  ปีที่แล้ว +1

      There are many extensions i used in my vs code.
      should i make video on that?😅

    • @mohamedsalembousalem554
      @mohamedsalembousalem554 ปีที่แล้ว +1

      @flutterplabs I think you misunderstood me. I found what I was looking for. The name of the extension is : Error Lens. Thanks.

    • @flutterplabs
      @flutterplabs  ปีที่แล้ว

      Ok bro😅