wolfenrain / fluttium

Fluttium, the user flow testing tool for Flutter

Home Page:https://fluttium.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: actions to enable permissions

tenhobi opened this issue · comments

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?

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)