Help with react native flatlist and context

Job ID: 34860061

Budget: £10 – £20 GBP

Hi

I am looking for a freelancer, who could work with me for a day to finish an aspect of a project i’m working on.

I wish to display student sign In progress from a database table in a react native ui from an api endpoint.This endpoint gives access to a database table that collects information from a database table populated by a location tracker or barcode. Each user has to attend 13 sessions.
I’m using mysql and Laravel nova for backend administration.


Depending on how many times they have signed in (which is recorded in the database).

This screen shows a users overall sign in (attendance) recorded in the database.
At the moment I have code which is using hand coded results. I need to take each users results and display them
in a flatlist and filter the list for a specific user.
I can pull data from the table and display it in a flatlist, however i need to user the logged in user’s iD so i can display their specific results.

This is where I am stuck, I can pull from the API in the code and I know that I need to filter each user by their ID (i.e. user_id)
which i can get from an authContext file in which the user is in a different table.
However I don’t know how to get the result to do this in react native.
Related categories: Laravel React Native