<?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: Yogin Parmar</title>
    <description>The latest articles on DEV Community by Yogin Parmar (@yogin_parmar).</description>
    <link>https://dev.to/yogin_parmar</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%2F4260528%2F56c18686-f796-48df-91b8-00fe15dfcc88.jpg</url>
      <title>DEV Community: Yogin Parmar</title>
      <link>https://dev.to/yogin_parmar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yogin_parmar"/>
    <language>en</language>
    <item>
      <title>My budget app has no INTERNET permission. Here's what that costs.</title>
      <dc:creator>Yogin Parmar</dc:creator>
      <pubDate>Mon, 23 Nov 2026 14:36:06 +0000</pubDate>
      <link>https://dev.to/yogin_parmar/my-budget-app-has-no-internet-permission-heres-what-that-costs-4l3l</link>
      <guid>https://dev.to/yogin_parmar/my-budget-app-has-no-internet-permission-heres-what-that-costs-4l3l</guid>
      <description>&lt;p&gt;I'm building DailyBudget, an Android app that reads bank SMS on the phone and turns a salary into one number: what you can spend today. It has no &lt;code&gt;INTERNET&lt;/code&gt; permission. The manifest opens with a comment saying so:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="c"&gt;&amp;lt;!-- No INTERNET permission on purpose: financial data never leaves the device. --&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That one missing line shapes almost every engineering decision in the app. Here's what it costs, what it doesn't protect against, and how you can check any app yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why go this far
&lt;/h2&gt;

&lt;p&gt;Bank SMS are a diary. Salary, EMIs, rent, the food order at 2am, which shop you were in on Saturday. Many money apps that read them send them to a server to categorise spends, because server-side parsing is faster to ship and easier to fix.&lt;/p&gt;

&lt;p&gt;I wanted a stronger promise than "we encrypt it" or "we don't sell it". With no &lt;code&gt;INTERNET&lt;/code&gt; permission, the app itself can't open a socket. You don't have to trust my privacy policy. You can check the permission list.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check the final APK, not the manifest you wrote
&lt;/h2&gt;

&lt;p&gt;The manifest in &lt;code&gt;src/main&lt;/code&gt; is only half the story. Libraries ship their own manifests and Gradle merges them in. Any dependency could add &lt;code&gt;INTERNET&lt;/code&gt; and you'd never see it in your own file.&lt;/p&gt;

&lt;p&gt;So I check the built release APK:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aapt2 dump permissions app/build/outputs/apk/release/app-release.apk
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output for DailyBudget:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;uses-permission: name='android.permission.RECEIVE_SMS'
uses-permission: name='android.permission.READ_SMS'
uses-permission: name='android.permission.POST_NOTIFICATIONS'
uses-permission: name='android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS'
uses-permission: name='android.permission.RECORD_AUDIO'
uses-permission: name='android.permission.WAKE_LOCK'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED'
uses-permission: name='android.permission.FOREGROUND_SERVICE'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No &lt;code&gt;INTERNET&lt;/code&gt;. The last four came from WorkManager, which runs the 9am and 10pm summaries. &lt;code&gt;ACCESS_NETWORK_STATE&lt;/code&gt; looks alarming but only lets the app ask whether a connection exists. It can't send anything.&lt;/p&gt;

&lt;p&gt;If I ever add a library that pulls in &lt;code&gt;INTERNET&lt;/code&gt;, this check catches it before a release goes out.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;No crash reporting.&lt;/strong&gt; No Crashlytics, no Sentry. When something breaks on someone's phone, I find out only if they tell me. The project's own rules file says it plainly: don't add analytics, crash reporting or network libraries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No analytics.&lt;/strong&gt; I can't see which screens people use or where they drop off. Every product decision comes from what people tell me.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No cloud sync.&lt;/strong&gt; Change phones and your history doesn't follow you. Backup is off too (&lt;code&gt;android:allowBackup="false"&lt;/code&gt;), so it doesn't quietly end up in a cloud backup either.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No server-side fixes.&lt;/strong&gt; The SMS parser runs on the phone. If a bank changes its message format, the fix has to ship as an app update. To keep that from hurting, every bank pattern lives in one file and every format has a test fixture. I ran about 1,800 of my own bank SMS through the parser, and the roughly 45 formats in them are now redacted fixtures. There are 73 unit tests in total.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Some features need a workaround.&lt;/strong&gt; The "Ask" tab takes voice input, which normally means a cloud speech API. Instead the app hands audio to the phone's own speech recognition service, so this app still never touches the network.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it doesn't protect against
&lt;/h2&gt;

&lt;p&gt;I want to be precise about this one, because "can't go online" is easy to overclaim.&lt;/p&gt;

&lt;p&gt;Without &lt;code&gt;INTERNET&lt;/code&gt; the app can't make network calls itself. Data can still leave the phone another way: Android lets apps hand data to other apps through intents. If I wrote code that opened a browser with your balance in the URL, or offered a share sheet, another app could send it. What the missing permission removes is the easy, invisible path: no SDK or library can phone home on its own. Any hand-off to another app is code I'd have to write on purpose, and it would show up in a review.&lt;/p&gt;

&lt;p&gt;So the honest promise is: no internet permission, and nothing uploaded by the app.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that's still open
&lt;/h2&gt;

&lt;p&gt;Crash reports are the problem I haven't solved. Options I'm weighing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write crashes to a local file and add a "Send crash log" button that opens the user's email app with the log attached. User-initiated, visible, no network code in my app.&lt;/li&gt;
&lt;li&gt;A "Copy debug info" button for people to paste into a chat or a form.&lt;/li&gt;
&lt;li&gt;Ship more defensively: more tests, slower releases, a beta channel of people who'll actually report bugs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Option 1 feels right, but it depends on users bothering to press the button.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters for the product
&lt;/h2&gt;

&lt;p&gt;The product idea is one number a day instead of twelve budget categories. Privacy is what might get someone who's nervous about giving an app their bank SMS to try it anyway.&lt;/p&gt;

&lt;p&gt;If you've shipped an app with no network access, how did you handle crash reports? I'd like to hear what actually worked.&lt;/p&gt;

</description>
      <category>android</category>
      <category>privacy</category>
      <category>kotlin</category>
      <category>buildinpublic</category>
    </item>
  </channel>
</rss>
