Repository navigation
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