<?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 Saliya</title>
    <description>The latest articles on DEV Community by Rahul Saliya (@rahul_saliya).</description>
    <link>https://dev.to/rahul_saliya</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%2F3986571%2F5b9d986b-1f42-49a5-a7f4-b19f7bcd4982.png</url>
      <title>DEV Community: Rahul Saliya</title>
      <link>https://dev.to/rahul_saliya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rahul_saliya"/>
    <language>en</language>
    <item>
      <title>I Built an Android App That Recovers Deleted Notifications — Here's How (Show Dev)</title>
      <dc:creator>Rahul Saliya</dc:creator>
      <pubDate>Tue, 16 Jun 2026 04:29:58 +0000</pubDate>
      <link>https://dev.to/rahul_saliya/i-built-an-android-app-that-recovers-deleted-notifications-heres-how-show-dev-1ccp</link>
      <guid>https://dev.to/rahul_saliya/i-built-an-android-app-that-recovers-deleted-notifications-heres-how-show-dev-1ccp</guid>
      <description>&lt;p&gt;Have you ever dismissed a notification, then immediately regretted it because it had an OTP or an important message?&lt;/p&gt;

&lt;p&gt;That's exactly why I built &lt;strong&gt;Notification Box&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Android notifications are ephemeral by design — once they're gone, they're gone. WhatsApp previews, OTP codes, delivery alerts, deleted messages — all vanish the moment you swipe them away or the app withdraws them.&lt;/p&gt;

&lt;p&gt;I found myself constantly missing OTPs that expired before I could use them, or losing track of messages from apps that don't keep a proper history.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Notification Box Does
&lt;/h2&gt;

&lt;p&gt;Notification Box runs a lightweight background service that &lt;strong&gt;archives every notification before it disappears&lt;/strong&gt;. Think of it as a notification DVR.&lt;/p&gt;

&lt;p&gt;Key features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📦 &lt;strong&gt;Automatic archiving&lt;/strong&gt; — captures notifications from all apps silently in the background&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Searchable history&lt;/strong&gt; — find any past notification instantly&lt;/li&gt;
&lt;li&gt;🔑 &lt;strong&gt;OTP auto-extraction&lt;/strong&gt; — detects and copies OTP codes automatically&lt;/li&gt;
&lt;li&gt;🗑️ &lt;strong&gt;Recover deleted messages&lt;/strong&gt; — retrieve messages from apps that delete previews&lt;/li&gt;
&lt;li&gt;🔒 &lt;strong&gt;Privacy-first&lt;/strong&gt; — everything stays on your device, no cloud sync&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Technical Side
&lt;/h2&gt;

&lt;p&gt;Built with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kotlin&lt;/strong&gt; + Android SDK&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;NotificationListenerService&lt;/code&gt; for capturing notifications&lt;/li&gt;
&lt;li&gt;Room database for local storage&lt;/li&gt;
&lt;li&gt;Jetpack Compose for the UI&lt;/li&gt;
&lt;li&gt;No root required — uses standard Android accessibility APIs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The trickiest part was handling the &lt;code&gt;NotificationListenerService&lt;/code&gt; lifecycle correctly across different OEM battery optimizations. Samsung and Xiaomi devices in particular aggressively kill background services — I ended up using a foreground service with a minimal notification to keep it alive reliably.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;p&gt;Available on Google Play:&lt;br&gt;
👉 &lt;a href="https://play.google.com/store/apps/details?id=com.rhs.notificationbox" rel="noopener noreferrer"&gt;Notification Box on Google Play&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also launching on Product Hunt on &lt;strong&gt;June 17&lt;/strong&gt; — would love your support!&lt;/p&gt;




&lt;p&gt;I'm Rahul, a full-stack Android &amp;amp; web engineer. Happy to answer any questions about the implementation or the challenges of building a reliable notification listener service on modern Android.&lt;/p&gt;

&lt;p&gt;What notification-related pain points have you run into? Drop them in the comments 👇&lt;/p&gt;

</description>
      <category>android</category>
      <category>productivity</category>
      <category>showdev</category>
      <category>playstore</category>
    </item>
  </channel>
</rss>
