<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rahul Shinde</title>
    <description>The latest articles on DEV Community by Rahul Shinde (@rahulshinde41).</description>
    <link>https://dev.to/rahulshinde41</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4131614%2F70ec5de4-2279-4533-a10c-6f335f78d5d9.png</url>
      <title>DEV Community: Rahul Shinde</title>
      <link>https://dev.to/rahulshinde41</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rahulshinde41"/>
    <language>en</language>
    <item>
      <title>How I built a movie/TV/anime tracker with React Native, FastAPI &amp; MongoDB (and the AdMob bug that nearly broke me)</title>
      <dc:creator>Rahul Shinde</dc:creator>
      <pubDate>Fri, 18 Sep 2026 13:33:09 +0000</pubDate>
      <link>https://dev.to/rahulshinde41/how-i-built-a-movietvanime-tracker-with-react-native-fastapi-mongodb-and-the-admob-bug-that-2khd</link>
      <guid>https://dev.to/rahulshinde41/how-i-built-a-movietvanime-tracker-with-react-native-fastapi-mongodb-and-the-admob-bug-that-2khd</guid>
      <description>&lt;p&gt;I just shipped &lt;strong&gt;BingeMark&lt;/strong&gt;, a free Android app that tracks movies, TV shows and anime in one place. Here's the stack and two bugs that ate a weekend each.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The stack&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frontend: React Native + Expo (SDK 54)&lt;/li&gt;
&lt;li&gt;Backend: Python + FastAPI&lt;/li&gt;
&lt;li&gt;Database: MongoDB Atlas&lt;/li&gt;
&lt;li&gt;Hosting: Render&lt;/li&gt;
&lt;li&gt;Data: TMDB API (titles, images), OMDb (IMDb ratings)&lt;/li&gt;
&lt;li&gt;Extras: Google Sign-In, Google Drive backup (drive.file scope), AdMob for ads&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;One app for movies, TV and anime&lt;/strong&gt;&lt;br&gt;
Most trackers pick one lane. I wanted all three. The trick was treating everything as TMDB-shaped data, so anime is just TV/movie entries under the hood. One data model and one UI handle all three instead of three separate flows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bug 1: AdMob broke my release build&lt;/strong&gt;&lt;br&gt;
Adding &lt;code&gt;react-native-google-mobile-ads&lt;/code&gt; blew up the Gradle build with &lt;code&gt;compileReleaseKotlin&lt;/code&gt; FAILED. The cause: the newer ads SDK was compiled with Kotlin 2.3, but Expo SDK 54 uses Kotlin 2.1, a metadata mismatch. Fix: pin the library to a version that ships an older &lt;code&gt;play-services-ads&lt;/code&gt; compiled against Kotlin 2.1. Lesson: with Expo, your native deps have to match the Kotlin version Expo bundles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bug 2: a rewatch that wouldn't save&lt;/strong&gt;&lt;br&gt;
Logging a second rewatch threw a 500. It was a classic Python datetime trap: comparing a naive datetime (from Mongo) with an aware one (freshly created) inside a &lt;code&gt;max()&lt;/code&gt;. Fix: a small helper that normalizes everything to UTC-aware before comparing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Match native dependency versions to your Expo/Kotlin version before you debug for hours.&lt;/li&gt;
&lt;li&gt;Always store and compare datetimes as timezone-aware.&lt;/li&gt;
&lt;li&gt;Keep one clean data model even when the content types look different. It saves you everywhere later.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's live if you want to poke at it: &lt;a href="https://play.google.com/store/apps/details?id=com.bingemark.app" rel="noopener noreferrer"&gt;https://play.google.com/store/apps/details?id=com.bingemark.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy to answer anything about the stack in the comments.&lt;/p&gt;

</description>
      <category>reactnative</category>
      <category>python</category>
      <category>mobile</category>
      <category>buildinpublic</category>
    </item>
  </channel>
</rss>
