This example app demonstrates the following features:
- Set PositionService source to external.
- Using DataSource to push positions in order to simulate navigation.
- Generate an APK using the command:
flutter build apkwith optional--debugor--releaseflags - Deploy to a connected device using:
flutter run --use-application-binary build/app/outputs/flutter-apk/app-[debug|release].apk
- Clean the project workspace:
flutter clean - Fetch dependencies:
flutter pub get - Build the iOS application:
flutter build ios - Deploy to a connected device:
flutter run
Alternatively, open the Xcode workspace located at <project-path>/ios/Runner.xcworkspace to build, execute and debug directly from Xcode.
- Verify available target devices:
flutter devicesIf Chrome is installed, this will display a Chrome device option (launches browser) and a Web Server option (provides localhost URL) - Generate a production build:
flutter build web - Run in development mode:
flutter run -d chrome(serves application on localhost in Chrome)