Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track device info #205

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

odo-sfct
Copy link
Collaborator

@odo-sfct odo-sfct commented Jun 9, 2024

This PR is through a fork; I actually don't have write access to this repo.

This patch just gets the ball rolling for tracking device.

For now, if we just need OS version and device type (iOS or Android) the Platform built-in library provided by react native is enough.
If we want the device model, we'll need to get react-native-info which can be tackled by someone else.

Backend /v2/ routes are made to follow RESTful route patterns; POST for create, PATCH for partial updates.
The update route in the backend should take into account that a user can have multiple devices (device_id), so the update should save these fields appropriately.

Asana: https://app.asana.com/0/1201140011812889/1207165983004193/f

@odo-sfct odo-sfct force-pushed the ow/track-device-info branch from 63b0cc8 to d6a59cb Compare June 9, 2024 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant