ZEGOCLOUD / zego_uikit_prebuilt_call_flutter

MIT License
17 stars 17 forks source link

Permissions - display over other apps #56

Closed moesaid closed 3 months ago

moesaid commented 3 months ago

Environment

Technology Version
Flutter version 3.24.0
Plugin version 4.14.3
Android version vanillaIceCream
iOS version
macOS version
Xcode version
Google Chrome version

Device information: emulator

Description

using

ZegoUIKitPrebuiltCallInvitationService().init()

On the first initialization and permission requests, the Permissions - display over other apps open settings without popup. and return status.

Expected behavior: there should be a popup question for the user,and it should be customizable since the list will be different from user to user; it is confusing what to do; a customizable instruction would be nice.

The init function shouldn't be void and should have some return status to know if and debug and future planing if there's something wrong with the initialization.

Current behavior:

Steps to reproduce

  1. run init()
  2. accepts permissions
  3. settings opened without any explanation.

Images

as a user i won't be sure what to do here!

Screenshot 2024-08-14 at 5 17 01 AM
yoer commented 3 months ago

Do you mean to add a permission confirmation box? Will this view pop up after confirmation?

moesaid commented 3 months ago

Do you mean to add a permission confirmation box?

Yeah, a pop-up with a confirmation box like any other native permission pop-up. Just to keep a close native experience and to let the user know what to do.

Will this view pop up after confirmation?

no, it should be before going to the settings to simulate a native experience


A type return instead of the void to know the status of the initialization and the permissions grants status would be nice!

yoer commented 3 months ago

zego_uikit_prebuilt_call: ^4.15.0 have added permission request pop-up box for android systemAlertWindow