Hi guys,
I've got a question and hoping some more experienced users can assist me here. I'm building a dating app with a swipe feature (the typical tinder swipe experience) and I'm using Supabase. My current backend query setup on the swipeable stack is:
So on the swipable stack I'm quering the list of all users and filtering out the authenticated user.
Now on left or right swipe I would like to add the UUID of the user on the card to a column in my supabase table ie: on right swipe the UUID of the user on the swiped card gets added in my users_liked column in Supabase:
Not sure that this is setup correctly, columns type is set as UUID and and array? Advice here is welcome.
Now looking at my on swipe action:
I've matched the row to the current authenticated user which I assume is correct, and I'm setting the users_liked column fields but the dynmaic variable all I get is userProfiles Rows returned, I've dug in there trying to make it work but not winning at all, should there not be a source for the current card user info?
Appreciate the help!