Skip to content

Latest commit

 

History

History
178 lines (140 loc) · 6.51 KB

author-notes.md

File metadata and controls

178 lines (140 loc) · 6.51 KB

Author Notes

TODOs

  • Add Tooltip for all the Acronyms
  • Update Android Developer Page
  • Cross-check Play Store's Data Safety and App Store's App Privacy sections
  • Write a script ./tool/android/download-metadata.sh
  • [Android] Append flavor build to Display Name
  • Android add com.google.android.gms.permission.AD_ID permission
  • About Page
    • Rate App for Android and iOS
    • App info link for Android
  • Add Privacy Policy Page, and link it to About Page
  • Reduce gradlew build lints
  • Wrap actions of AppBar
  • Add zero count image placeholder
  • Resolution-aware app icon image
  • Add scroll to top and bottom for list views
  • React to RTL from Android Developer settings
  • Try to write rotate-keys.sh script for ios

Future Tasks

Android

  • Check Impeller
  • Predictive Back

iOS

  • Update .vscode/launch.json
  • Delete Runner scheme
  • Rework on LaunchImage for better understanding
  • Fix log colors
  • Check if Target should be renamed

Blockers

  • Need an iOS device to create Development Profile

Code shrinking / Tree-shaking / Resource shrinking / Obfuscation / Optimization

Android

  • References:
  • No action is needed.
    minifyEnabled, shrinkResources, proguardFile already configured for release buildType in flutter.groovy
  • No need to upload Native Debug Symbols.
    libapp.so and libflutter.so already included in App Bundle at /base/lib/<arch-variants>/.
    Adding android.defaultConfig.ndk.debugSymbolLevel = 'FULL' to build.gradle has no effect in size of the App Bundle.
    This might only require if we have any extra Native library.
  • No need to upload deobfuscation mapping files.
    proguard.map already included in App Bundle at /BUNDLE-METADATA/com.android.tools.build.obfuscation/.

Error Reporting Services

Crashlytics

  • ✅ Dart Debug Symbol Files (Android, iOS stack still obfuscated)
  • ⬜ R8, ProGuard, and DexGuard Mapping Files
  • ✅ dSYM

Sentry

  • ✅ Dart Debug Symbol Files, Source (Android, iOS stack still obfuscated)
  • ⬜ R8, ProGuard, and DexGuard Mapping Files
  • ✅ Web Source Maps
  • ✅ dSYM

Icons Notes

Steps taken to generate icons

Android

  1. In Android Studio, right click drawable folder, select new Image Asset.
  2. In Foreground layer, select appropriate Clip art, resize to 90%.
  3. In Background layer, select appropriate Color.
  4. In Options, choose No for Round Icon.
  5. After asset generation, place ic_launcher_foreground.xml in drawable-anydpi-v26 instead of drawable folder.
  6. Move the colors from ic_background_foreground.xml to colors.xml.
  7. Convert the ic_launcher_foreground.xml to svg format.
  8. Format the xml and svg files.
  9. cp ./android/app/src/main/ic_launcher-playstore.png \
      ./android/fastlane/prod/metadata/android/en-US/images/icon.png
    cp ./android/app/src/main/ic_launcher-playstore.png \
      ./android/fastlane/stag/metadata/android/en-US/images/icon.png
    cp ./android/app/src/main/ic_launcher-playstore.png \
      ./android/fastlane/dev/metadata/android/en-US/images/icon.png

Web

  1. cp ./android/app/src/main/ic_launcher-playstore.png ./web/icons/Icon-512.png
    convert -resize 192x192 \
      ./android/app/src/main/ic_launcher-playstore.png \
      ./web/icons/Icon-192.png
    convert -resize 16x16 \
      ./android/app/src/main/ic_launcher-playstore.png \
      ./web/favicon.png
  2. Open https://maskable.app/editor, select appropriate color in Background layer.
  3. Upload Forground svg file.
  4. Choose Padding 35%, Color strength 100%.
  5. Export required file sizes.

iOS

  1. convert -resize 1024x1024 \
      ./android/app/src/main/ic_launcher-playstore.png \
      ./ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
  2. Open Assets.xcassets in Xcode, delete old AppIcon, create New iOS App Icon, select above image.

Flutter

  1. convert -resize 192x192 \
      ./android/app/src/main/ic_launcher-playstore.png \
      ./assets/app-icons/app-icon.png

README Notes

  • Add git clone --config core.autocrlf=false for Windows

Test Notes

Theme Notes

Commit Notes