mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 19:47:10 +00:00
feat(android): keep device awake and unlocked so the app stays foreground
This commit is contained in:
1 parent
2331cb9866
commit
a6e2e04d9b
2 files changed
+30
No files matched your search
@@ -50,6 +50,9 @@ func Execute(ctx context.Context, options Options, stdout io.Writer) error {
|
||||
if err := android.EnsureDevice(ctx, options.Device, options.AVD, stdout); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := android.PrepareDevice(ctx, options.Device); err != nil {
|
||||
return err
|
||||
}
|
||||
case "ios":
|
||||
resolved, err := resolveIOSTarget(ctx, options, stdout)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user