Repository navigation
Releases
v1.3.5 — Working GIFs, real social icons, photo replies, presence + tour fixes
PocketNet v1.3.5 — Working GIFs, real social icons, photo replies, presence + tour fixes
Bug-fix + polish pack on top of v1.3.4.
Fixes
- GIF search works again. Giphy's public Beta API key now returns
403 BANNEDfor everyone, which broke in-app GIF search. The keyless fallback now uses Tenor v1 with the documented anonymous web key — search returns real GIFs without any setup. - First-run tour reliably shows for new sign-ups.
markTourPending()now also emits aDeviceEventEmitterevent so an already-mountedAppTourflips into the prompt phase right after sign-up, instead of waiting for the next remount. - Self online bubble stays green. The presence heartbeat now optimistically refreshes the local
profile.lastSeenAtso your own avatar is green immediately.ProfileHeaderalso treatsisCurrentUseras always-online, and the status composer hardcodes online for the self avatar.
New features
- Photos in comments. New camera button in every comment composer opens the system image picker, uploads to the
post-imagesbucket, and inserts the URL.CommentCardnow rendersjpg/jpeg/png/gif/webpinline. - Real platform icons on profile social links. GitHub, YouTube, Twitch, X (inline SVG), Discord (inline SVG), and a globe for personal websites. Two display modes per field:
- Link mode (value starts with
http(s)://): just the icon, clickable, opens the full URL. - Handle mode (anything else): icon +
@handlenext to it. For platforms with a known URL shape (X, Twitch, YouTube, GitHub) the icon is still clickable and resolves to the canonical profile URL.
- Link mode (value starts with
- Bigger home logo. The home hero logo is now twice its old size and dropped the square shell — just the mark.
Install
- APK:
PocketNet-v1.3.5.apk - SHA-256:
7a9f1132831feab22bd0a83cd9fd82ac0e468b9dd1640a87c3ccec83fa775624 - Android 9+ recommended. Enable "Install unknown apps" for your browser/file manager and tap the APK to install.
PocketNet v1.3.4
PocketNet v1.3.4
A profile-customization and presence pass. Everything below is in the APK attached to this release.
New features
- Bigger banner, cleaner identity. The profile header banner is taller, the pfp overlaps it, and your @username, display name, and level chip now sit cleanly below the banner instead of crowding it.
- Animated border motion options. Animated profile borders no longer always rotate. Pick the motion that matches your vibe: static, rotating, pulsing, breathing, or shimmer. Live preview updates as you change it.
- More static border presets. "Classic" is no longer the only non-animated option — added new color presets and decorative styles including a glowing neon border and flames.
- Technologist dev badge. The @DOsuka dev badge now uses 🧑💻 instead of the wolf emoji.
- GIF or JPEG profile card export. Pick the format when sharing your card. The GIF path captures eight frames of your live animated border on-device and encodes a real animated GIF — no servers, no key needed.
- Keyless GIF search. GIF search inside the composer now works without users (or me) needing a Tenor API key. Search and tap to drop a GIF into any post or reply, the same way you can on Twitter or Discord.
- Comment pfps + tap-through. Comments now show the author's profile picture and tapping the avatar or name jumps to that user's profile.
- Live online presence. The little online bubble actually means online now — it goes green when the user has heartbeat-pinged recently and grey otherwise.
- First-run app tour. New accounts get an optional Pocket Foxy walkthrough after onboarding that points out Home, Communities, and the profile customization studio. Skip button is right there if you don't want it.
Install
- Download
PocketNet-v1.3.4.apkbelow. - Verify the SHA-256 checksum:
84b93bb56b48406680755e45d21cfce86a34af48367a6fc601aec9c2686316fd
- Sideload on any Android phone or handheld.
Compatibility
Built and tested against AYN Odin, Loki, and Thor handhelds plus standard Android phones. Same package id and signing certificate as previous releases — installing this APK over a previous PocketNet build will preserve your account and data.
Not affiliated with AYN, Cocoon, Daijisho, ES-DE, Beacon, RetroAchievements, Tenor, Giphy, Supabase, or Expo.
PocketNet v1.3.3
PocketNet v1.3.3
Quality-of-life batch: live profile preview, themed border categories, custom GIF borders, GIF replies/posts, deletable own comments, full community editing, and pull-to-refresh everywhere.
Highlights
- Live preview in edit-profile — see banner/avatar/border/bio changes before saving.
- Static & Animated border categories, plus new Lightning / Fire / Glitch animated presets.
- Upload your own GIF border (600 × 600 recommended). Stored in the new
border-imagesbucket. - Delete your own comments & replies with confirmation.
- Communities revamp: avatar + banner + bio + social links + animated card borders, plus a dedicated Edit community screen for the creator. Owners + moderators can pin/unpin posts (owner has more power).
- Per-community notifications — toggle "Notify me on new posts" from the community page.
- Tenor GIF picker for replies and the top-level post composer (Tenor v2 with
EXPO_PUBLIC_TENOR_KEY, paste-URL fallback when no key). - Pull-to-refresh on every feed-like screen: home, discover, profile, create, settings, notifications, friends, user, community.
- Cropping for profile & community avatar/banner (1:1 and 3:1 aspect).
- Fix: "mime type image/gif is not supported" upload errors — all media buckets now accept GIF/WEBP.
Security & Plumbing
- All new RPCs (
pin_community_post,update_community,set_community_notify,delete_comment) areSECURITY DEFINERwithsearch_path=public,REVOKEd from anon/public andGRANTed only to authenticated. - New
community-avatars+border-imagesstorage buckets with per-user write policies and public read. - New community-post notifications respect block lists & banned roles.
- No new secrets added;
EXPO_PUBLIC_TENOR_KEYis optional and gracefully degrades.
Build
- Version
1.3.3· versionCode16 - APK:
PocketNet-v1.3.3.apk - SHA-256:
6ddff7daac860702d1e43926bb1c80b3eca07e345bf3c10f7d6231768094e623
PocketNet v1.3.2
PocketNet v1.3.2
Reply threads, @mentions, notifications inbox, friend + follow coexistence, "Other" text input on every picker, XP / leveling, animated profile card borders, GIF avatars + banners, and a RetroAchievements help popover.
Highlights
- Reply directly to comments — threaded with the original commenter highlighted
- Tag people with
@username— real notification, block-aware on the server - New Notifications inbox: bell on Home with unread count, every ping in one place
- Friends and Follow now coexist
- Pick "Other" on any favourite picker and type your own
- Level up by posting, commenting, getting reactions, follows, community joins
- Level chip next to your name + level-up notification on every climb
- Profile card borders: presets (
classic,neon,sunset,aurora,gold,retro,plasma) or paste your own HTTPS image URL — animated GIFs supported and wrap the entire card - Animated GIF avatars and banners
?help popover next to the Achievements empty state explains the Web API key with safety warnings
Security
notificationstable: RLS owner-only SELECT/UPDATE/DELETE, no INSERT policy. Notifications can only be inserted by SECURITY DEFINER triggers.- All new triggers use
set search_path = public. add_xp()is granted to nobody; called only by definer triggers.extract_mentioned_ids()granted only toauthenticated.custom_border_urlCHECK rejects non-HTTPS / non-image / oversize values at the DB layer (nodata:orjavascript:URLs).
APK
- PocketNet-v1.3.2.apk
- SHA-256:
39b7ec755d7774769b9aa4642fc9acc3b519a6ef7cda70f9639fd3df7daaf463 - versionCode
15, version1.3.2
PocketNet v1.3.1 — RA login fix + DEV badge
PocketNet v1.3.1
A bug-fix-plus release. The big one: RetroAchievements login was returning HTTP 403 on real devices because RA's WAF rejects the default React Native okhttp User-Agent. v1.3.1 sends an explicit PocketNet/1.3.1 UA on every call to retroachievements.org. v1.3.1 also wires the RA score directly into the profile (so it stays up to date even without a Web API key), adds per-friend notification preferences, and introduces a single-account DEV badge with a pulsing glow.
New features
- RA score sync. When you log in to RetroAchievements your hardcore + softcore score is written to your profile (
ra_points,ra_softcore_points). When you re-open the app the score refreshes in the background via the connect-tokenlogin2flow — no password needed. - Per-user notification preferences. On any friend or follow's profile, pick exactly which pings you want: new posts, new achievements, new comments, or new friend connections. Stored owner-only in
notification_preferenceswith RLS. - DEV badge. A new permanently-glowing badge for the developer (
@dosuka). The eligibility check lives insideclaim_dev_badge()SECURITY DEFINER on the server — the badge cannot be granted to any other account, andaward_badge('dev')is explicitly denied. - OG + Collector backfill.
award_badge('verified')andaward_badge('collector')were missing in v1.3.0 so onboarding silently no-op'd those calls. v1.3.1 adds both branches server-side.
Fixes
- RetroAchievements login no longer returns 403. Root cause: Cloudflare WAF rejecting the default RN okhttp User-Agent. Fix: every request to
retroachievements.orgnow sendsUser-Agent: PocketNet/1.3.1 (+https://github.com/DosukaSOL/PocketNet). - Empty score on token-only login. Profiles with an RA token but no Web API key now display the cached score from
profiles.ra_pointsinstead of "—".
Security
claim_dev_badge()is SECURITY DEFINER and reads the caller's username fromprofilesviaauth.uid()— no way to grant the DEV badge by spoofing.award_badge('dev')is explicitly rejected by the server.notification_preferenceshas RLS enabled with owner-only policies (user_id = auth.uid()).- The RA password is still never persisted; only
ra_username+ra_tokengo touser_secrets. npm run check:secretspasses.
APK
- File:
PocketNet-v1.3.1.apk - SHA-256:
8c92ec114846e5055b0324a458862b742bd6b3dd6409224b29eabf7452e44ebc - versionCode: 14
PocketNet v1.3.0 — Badges, RA login, profile cleanup
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()andpublic.award_badge(text)SECURITY DEFINER RPCs. Both verify eligibility against real data before mutatingprofiles.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
PocketNet v1.2.0 — RetroAchievements + Profile Cards + Push
PocketNet v1.2.0 — RetroAchievements + Profile Cards + Push
v1.2 turns the profile into the heart of the app. Profile headers now surface six tappable stats — posts, replies, friends, followers, communities, achievements — backed by RetroAchievements integration, a privacy lock for sensitive profiles, push-notifications opt-in, and a pixel-perfect profile-card exporter.
What's new
- 🏆 RetroAchievements integration. Link your RA account in Settings (username + Web API key, stored owner-only in the new
user_secretstable). Your profile now shows badge art, point totals, and recent unlocks pulled live from the RA Web API. - 🧮 Profile counts row. Heart (followers), handshake (friends), message (replies), users (communities), trophy (achievements), and posts — every chip is tappable.
- 💬 Replies section. A new tab on every profile listing the user's comments on other people's posts.
- 🏘️ "Places" → "Communities" everywhere.
- 🔒 Privacy lock. Settings → Privacy lock. Only friends + followers can view locked profiles. Enforced via the new
can_view_profile(uuid)SECURITY DEFINER RPC. - 🖼️ Profile card exporter. Pick a border (Classic / Aurora / Sunset / CRT / Holo / Midnight), toggle the full card (off by default), and save a PNG to your gallery. Compact 1080 × 1620 px (inner 984 × 1524) · Full 1080 × 2400 px (inner 984 × 2304) · 48 px border. Only the card is captured.
- 🔔 Push notifications. Opt-in on first onboarding, toggle anytime in Settings. New
push_tokenstable with owner-only RLS. (Server-side delivery wiring lands in a follow-up build — tokens are stored against your account but PocketNet does not yet send pushes from the backend.) - 👆 Tap any avatar or name on a post to jump to that profile.
- 🔆 Bigger BrandMark on Home.
- 📝 Updates section in Settings — in-app patch notes, refreshed every build.
- 💾 Sessions survive APK updates — AsyncStorage-backed Supabase auth, no re-login when you update from v1.1.
Fixes
- Messages tab now scrolls properly (outer
Screenwrapper owns scroll, FlatList setsscrollEnabled={false}).
Security
user_secrets,push_tokens, andprofiles.is_privateare all RLS-locked to the owner.anonaccess revoked.can_view_profile(uuid)SECURITY DEFINER function returns a boolean only.- No service-role key in the client.
npm run qa(typecheck + lint + jest + secret scan) is clean.
Versioning
version→1.2.0, AndroidversionCode→12.- Added
expo-notificationsandexpo-media-libraryplugins.
APK
- File:
PocketNet-v1.2.0.apk(≈ 99 MB) - SHA-256:
8aa7fd6fe478ed15a4132bb264124fd2991ecb5b750e3fd0c4b984fb74a9763c
PocketNet v1.1.0 — For You + Explore + follows
PocketNet v1.1.0 — For You + Explore + follows
v1.1 turns the Home tab into a real social surface. The command-bar card is gone, the wordmark is front and center, and the feed splits into two views: the people you actually care about (For You Page) and everyone else (Explore).
New features
- For You Page + Explore feeds. Home now opens on a centered PocketNet wordmark with a big BrandMark and a segmented control between For You Page (you + friends + followed players + your communities) and Explore (everyone else, no community-only posts).
- Follow system. Follow players without friending them. New
followstable with RLS. - "Other" custom inputs in onboarding. Every catalog picker (handhelds, frontends, systems, games) has an Other chip that reveals a free-text field. Custom entries persist into dedicated
custom_*columns. - Multi-handheld picker. Pick every device you actually use.
- Branded "Posted" toast. Cyan→purple gradient pill that fades after 1.5s. No more Alert dialogs after posting.
- GIF in the composer. New GIF button uploads animated
.gifwith the correct MIME type. - Profile stats moved. Feed / Friends / Unread now live on the Profile tab.
Fixes
- Discover Add button flips through Add → Requested → Friend, and shows Accept when the other side requested you first.
- Username uniqueness is pre-checked and surfaces the friendly "Username already taken, try a different name" before signup hits Supabase Auth.
Security
followsis RLS-locked. Inserts requirefollower_id = auth.uid(); deletes are scoped to the row owner.is_username_available(text)is SECURITY DEFINER, granted only toanon+authenticated, returns a boolean.npm run qa(typecheck + lint + jest + secret scan) is clean.
APK
PocketNet-v1.1.0.apk — SHA256 59815b3e20641261096aca65c3a3d04ca5b98cfdaacf0bc77e195920bac89a54
PocketNet v1.0.0 — first stable release
First stable release of PocketNet, the handheld-native social layer for Android gaming handhelds.
What's new in v1.0
Direct messages
- Private 1:1 DMs with RLS that lets only the two participants of a thread read or write
- SECURITY DEFINER
find_or_create_dm_thread(other_user_id)enforces canonical pair ordering and refuses blocked pairings - Realtime delivery via Supabase Postgres Changes
- Messages tab with unread badges
- "Message" button on every user profile and on the friends list
Friends + presence
- New friends screen with online dots and accept/decline for incoming requests
profiles.last_seen_atheartbeat (touch_last_seenRPC) pinged on bootstrap, every 60s, and on app foreground- Presence labels render "Online" / "Last seen Nm ago" / etc.
Multi-step onboarding wizard
- Seven-step flow: avatar → banner → bio → handheld + frontend → favorite systems & games → social links → preview
- Back, Skip, and Next on every step
- Live profile preview before saving
Orientation fix
- Switched from forced PORTRAIT_UP lock to OS-managed
default - AYN Thor's rotated secondary screen no longer launches sideways
Versioning
version1.0.0- Android
versionCode10
APK
PocketNet-v1.0.0.apk— Android (universal preview build)- SHA-256:
97641d05bfaae17e49d2f0b7839b525b722385b0f707b809f44530e2f25b99d0
Install on any Android 10+ device. PocketNet is standalone and is not affiliated with AYN, Cocoon, Daijisho, ES-DE, Beacon, Supabase, Expo, or any other mentioned company/project.
PocketNet v0.1.4 — first-install flow & orientation fixes
Fixes
- Real sign-up gate on first install. The v0.1.3 APK was missing baked-in Supabase env vars and silently fell back into preview mode, which showed seed users and skipped the auth screen. Build env is now configured in
eas.jsonand the APK ships with a real backend config. - No more mock data in release builds. Feed, friends, friend requests, communities, and notifications all start empty until Supabase returns your real data. The seed users (Pocket Pilot, Mira, Ren) only show in explicit local preview mode.
- Preview button hidden in release. Login screen no longer offers a 'Preview beta' shortcut when Supabase is configured.
- Portrait lock for dual-screen handhelds. Added
expo-screen-orientationand a runtimelockAsync(PORTRAIT_UP)call. Fixes the AYN Thor launching sideways on its secondary display when the AndroidManifest hint alone wasn't enough.
APK
- File:
PocketNet-v0.1.4-preview.apk - Size: 97 MB
- SHA-256:
b7655bb1361fd5c197a06fd3080aeecb969130a311c8c0605a2b9d7bb0140a5b - App version: 0.1.4 · Android versionCode: 4
- Built from commit: d6605c9
Install
- Uninstall any previous PocketNet build (data layout / seed flush).
- Sideload the APK on your Android handheld (enable 'Install unknown apps' for your file manager if prompted).
- Sign up with email + password. Confirm the email via the link → opens the GitHub Pages confirmation page → tap Open PocketNet.