r/reactnative • u/Maleficent_Glass_557 • 3d ago
Built a zero-backend AdMob & Play Console client with Expo + Material 3 (Architecture & learnings)
Hey r/reactnative,
I wanted to share a mobile dashboard I recently built with React Native and Expo called Publisher Console, along with a few architectural choices made to keep it completely serverless.
Stack & Tools:
- Expo SDK + Expo Router (file-based routing with tab navigation)
- React Native Paper for Material 3 styling (light/dark theme tokens)
- React Query (TanStack Query) for query caching and refetches
- Scoped Google OAuth directly on device
Why Zero-Backend: Most analytics aggregators proxy traffic through a custom backend. Because financial data and Play Console permissions are sensitive, this app communicates directly from the mobile client to Google's REST APIs:
- AdMob API v1: Earnings, impressions, eCPM, and match rates
- Play Developer Reporting API: Crash & ANR rates evaluated against Google Play bad-behavior thresholds
- Google Play Android Developer API v3: Reviews feed and reply functionality
All token management and alert triggers run on-device, meaning zero server hosting costs and complete user data privacy.
There is also an "Explore with demo data" mode built with local fixtures so you can test the UI and charts without connecting credentials.
Happy to answer any questions about the OAuth implementation, Material 3 theming, or the API setup!
1
u/Western_Cap_6934 3d ago
For on-device alerts, showing the last successful refresh would help distinguish fresh data from a delayed check. If you use expo-background-task, its interval is a minimum, not a guarantee of when the OS will run it.
1
u/aintsuraj 3d ago
nice setup. on the oauth side i'd keep the refresh token in expo-secure-store and not async storage, since it's basically the keys to someone's admob and play accounts. also worth planning for token revocation, so the app handles a revoked or expired refresh gracefully and sends people back to sign in instead of just showing empty charts.