Menu

Our free tier is five scans a month, and the only thing counting them is the phone
📰

Our free tier is five scans a month, and the only thing counting them is the phone

DEV Community: reactnative·Daniel Pertu·16 days ago
#8p7IDsVN
#devtoreactnative#devto#dev#scans#scan
Long article (1207 words) — no AI summary yet.
Reading 0:00
15s threshold

Open munchable.app and look at the phone mock near the top of the page. Under the barcode it says:

5 of 5 free scans left this month

That line is real product copy, not marketing filler. The free plan allows five scans a calendar month and Premium is unlimited, which the pricing section states in one sentence. What I want to write about is where that number lives, because the obvious answer is wrong.

It is not in our database. Nothing on our servers knows you have scanned anything at all.

The counter is two values in device storage

The whole quota is a string and an integer in the on-device profile, persisted to AsyncStorage:

/** Free tier: scans per calendar month (premium = unlimited). */ export const FREE_SCAN_LIMIT = 5 ;

// ... scanPeriod : string ; // "2026-11" scansThisPeriod : number ; // 0..n

Enter fullscreen mode

Exit fullscreen mode

Reading what is left is three lines:

remainingScans : ( ) => { if ( get ( ) . isPremium ) return Infinity ; const used = get ( ) .…

Continue reading — create a free account

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