Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tim-smart/dart_emulators
A utility library to automate mobile emulators.
https://github.com/tim-smart/dart_emulators
Last synced: about 2 months ago
JSON representation
A utility library to automate mobile emulators.
- Host: GitHub
- URL: https://github.com/tim-smart/dart_emulators
- Owner: tim-smart
- License: mit
- Created: 2021-06-23T10:04:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T05:21:14.000Z (about 1 year ago)
- Last Synced: 2024-07-08T21:04:52.370Z (2 months ago)
- Language: Dart
- Size: 188 KB
- Stars: 22
- Watchers: 5
- Forks: 9
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# emulators
A utility library to automate mobile emulators.
Can be used to automate screenshots on multiple devices.
## Example project
https://github.com/tim-smart/flutter-emulators-screenshots-demo
This project demonstrates how to use this package to generate screenshots for a
Flutter project.# FAQ
## iOS status bar not aesthetically correct
Make sure you have iOS 16 or lower in the simulator (so not iOS 16.1 or higher) if you want a default status bar (time, battery, etc.) to make it the same for all screenshots.
Make sure you have iOS 15.5 or lower in the simulator for phones (such as iPhone 8 Plus) that have the carrier name in the status bar, so the plugin will remove it and add cellular signal bars.
See https://stackoverflow.com/questions/74507031/xcrun-simctl-status-bar-not-working-on-xcode-14-1
## Random errors / hangs with Android emulators
You might hit an `adb` bug. A symptom is that the output of the command
`adb -s emulator-5554 emu avd name` is **empty** when the emulator is running
(where `emulator-5554` is the name of your emulator).If the file `~/.emulator_console_auth_token` **exists and is empty**, stop the
emulator and remove the file.See https://github.com/tim-smart/dart_emulators/issues/4 for more info.