Menu

6 Android lessons from shipping my first Expo app to Google Play
📰

6 Android lessons from shipping my first Expo app to Google Play

DEV Community: reactnative·Saqib Iqbal·about 15 hours ago
#63aij7u3
#devtoreactnative#devto#dev#play#android
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.