← Flutter & Dart learning path
Flutter & Dart · Module 10 of 10

Testing and publishing

Test apps and release to Play Store and App Store.

📖 Key ideas

  1. Unit, widget and integration tests: flutter test.
  2. Build Android: flutter build appbundle (AAB) signed with your upload key.
  3. Build iOS: flutter build ipa (needs a Mac and Apple Developer account).
  4. Update version in pubspec.yaml (version: 1.2.0+5).
  5. Add app icons, splash screen, privacy policy and store listings.
💡 Real-life example: Publishing is sending your app to two shops (Play Store, App Store) with labels, photos and a signed passport.
Widget testTests a widget in isolation
AABAndroid App Bundle for Play Store
Upload keyKeystore used to sign Android uploads
Build numberThe +N part of version