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 doctorFirst, install all necessary dependencies:
flutter packages getCheck for any outdated packages:
flutter pub outdatedUpgrade outdated packages to their latest major versions:
flutter pub upgrade --major-versionsNavigate to the android directory and build the app:
cd android
./gradlew app:assembleDebug -Ptarget=`pwd`/../integration_test/appium_test.dartFor Simulator - Debug mode
flutter build ios integration_test/appium_test.dart --simulatorFor Real Device - Release mode
flutter build ipa --release integration_test/appium_test.dart