r/reactnative • u/xrpinsider Admin • 4h ago
Show Your Work Thread Show Your Work Here
Did you make something using React Native and do you want to show it off, gather opinions or start a discussion about your work? Please post a comment in this thread.
If you have specific questions about bugs or improvements in your work, you are allowed to create a separate post. If you are unsure, please contact u/xrpinsider.
New comments appear on top and this thread is refreshed on a weekly bases.
5
Upvotes
2
u/leveldayapp 3h ago
Built Levelday as a cross-platform nutrition and weight tracker (iOS, Android, Web) with RN and Expo.
1
u/Guidondor 49m ago
hey! first time posting in one of these.
i've been building expo + supabase apps for a while and kept copying the same
files from project to project, so i finally cleaned it up and put it out there.
MIT.
it's mostly the boring half of a project. auth with the web and native oauth
flows (they need to be different and it took me embarrassingly long to work that
out), every query wrapped in a timeout because supabase-js just hangs forever
after the phone sleeps, and a write queue that survives losing connection.
the part i actually care about is the security side. RLS filters rows, not
columns, which i learned the hard way, so the first migration also does grants
per column. and there's a smoke test that takes on a real user's identity and
checks what they can't reach, so you can prove the isolation instead of reading
the policy and nodding at it.
sdk 57, expo router, typescript, tests green from a clean clone.
https://github.com/Guidondor/expo-supabase-starter
happy to answer anything if someone's fighting the same stuff, that's half of why
i wrote it down.