Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: actions to enable permissions #184

Open
3 tasks
tenhobi opened this issue Feb 24, 2023 · 1 comment
Open
3 tasks

feat: actions to enable permissions #184

tenhobi opened this issue Feb 24, 2023 · 1 comment
Labels
feature New feature or request

Comments

@tenhobi
Copy link

tenhobi commented Feb 24, 2023

Description

Flutter Driver cannot interact with native elements, and transitively Fluttium cannot. It might, however, be possible to enable permissions at least manually so that no native dialogs would block the app open.

It should be possible on Android using adb flutter/flutter#12561 (comment) and on iOS using applesimutils flutter/flutter#12561 (comment)

Because it is quite a mainstream feature, so I suggest creating it as a build-in action. That, however, might add a dependency, so maybe creating an external action would be better? If so, I could take a look at it.

Requirements

  • Implement an action for Android
  • Implement an action for iOS
  • Maybe implement generic action for both Android and iOS?
@tenhobi tenhobi added the feature New feature or request label Feb 24, 2023
@wolfenrain
Copy link
Owner

This is something I want to explore with Fluttium as well, my main goal for any built-in action is that it is supported multi platform. So desktop and web should also work correctly. I think for this specifically just an action wont cut it as you might also want to pass some parameters to web's instance, like the --fake-ui to accept any permission request automatically.

If you are open to it, you can do some initial research in how this could work for Fluttium otherwise I'll be adding this to my ROADMAP (that I still have to write down lol)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants