My Demo App Flutter is a mobile application developed using Flutter based on Flutter Counter example application. Modified by the Sauce Labs team, this app is designed to demonstrate the robust capabilities of Sauce Labs' mobile devices cloud, with a particular focus on our integration with the Appium Flutter Integration Driver.
You can find additional code examples in our training repository
To build and use this demo app, ensure you have the following dependencies installed on your local machine:
- Flutter SDK
- For Android applications:
- For iOS applications:
To verify that all the necessary requirements are met, run the following command. This will check your system and provide a report on what is installed and what needs to be installed:
flutter doctor
First, install all necessary dependencies:
flutter packages get
Check for any outdated packages:
flutter pub outdated
Upgrade outdated packages to their latest major versions:
flutter pub upgrade --major-versions
Navigate to the android directory and build the app:
cd android
./gradlew app:assembleDebug -Ptarget=`pwd`/../integration_test/appium_test.dart
For Simulator - Debug mode
flutter build ios integration_test/appium_test.dart --simulator
For Real Device - Release mode
flutter build ipa --release integration_test/appium_test.dart