I'm a solo developer from Lahore, and a few weeks ago I shipped my first Android app: Lensora , an offline document scanner and PDF toolkit built with Expo SDK 54 / React Native 0.81 . It scans pages with Google's ML Kit document scanner, runs OCR on the device, stores everything in SQLite and does PDF work with pdf-lib.
The app worked perfectly in development. Then real phones, release builds and Play Console recommendations happened. Here are six things that bit me, with the fixes. Hopefully they save you a weekend.
1. "Enable R8 optimization" broke my database, only in release
Play Console showed me two friendly recommendations: "Optimization isn't enabled" and "Optimized resource shrinking isn't enabled" . The Expo template minifies with proguard-android.txt , which turns R8's optimization passes off.…