Skip to content

PocketNet v1.3.0 — Badges, RA login, profile cleanup

Choose a tag to compare

@DosukaSOL DosukaSOL released this 19 May 04:25
· 5 commits to main since this release

PocketNet v1.3.0 — Badges, RA login, profile cleanup

Highlights

  • OG badge — first 50 only. Anyone who completes onboarding while fewer than 50 OGs exist gets the permanent OG badge. The 50-slot cap is enforced inside a SECURITY DEFINER Postgres function so the client cannot exceed it.
  • Earnable badges. 13 badges total — Verified, Retro Linked, Wordsmith, Prolific, Centurion, Connector, Social Butterfly, Popular, Influencer, Community Builder, Pioneer, Collector — awarded server-side from real data. Tap any badge on a profile to see what it means and how it was earned.
  • RetroAchievements login with username + password. The settings card now defaults to a simple sign-in form. PocketNet hands the password to RA over HTTPS once and immediately discards it — only the username and session token are stored owner-only in user_secrets. The Web API key flow is still available as an "Advanced" option for the full achievement feed.
  • Push toggle on devices without FCM. Standalone Android builds without Firebase credentials previously crashed when fetching an Expo push token. We now catch the failure, persist a synthetic local-device marker, and keep the toggle state correct so in-app and scheduled notifications still work.
  • Profile header cleanup. Removed the redundant Pocket card section, the "Dual OLED" plate in banners, and the unverified-looking orange shield icon — replaced by your earned badges.

Security notes

  • Badges can only be granted through public.claim_og_badge() and public.award_badge(text) SECURITY DEFINER RPCs. Both verify eligibility against real data before mutating profiles.badges. Anonymous role is revoked from both functions.
  • The RA password is never written to Supabase, AsyncStorage, or logs — only the username and session token returned by dorequest.php?r=login2.
  • Push token fallback uses a local:<platform>:<timestamp> marker so server-side fan-out can safely ignore non-Expo tokens.

Install

Download PocketNet-v1.3.0.apk below, transfer it to your Android handheld, and install from your file manager. If you're upgrading from v1.2 your session is preserved — no re-login required.

  • SHA-256: 17d4d18d0875059304d9ad6715fcef3b89b12407013af09477e072103e8bc0ee
  • Version code: 13