piotrpdev / MelodyShare

Android app for sharing melodies with friends! (SETU Mobile Dev CA)
https://www.youtube.com/watch?v=BSotEKMmxo8
MIT License
0 stars 0 forks source link

Friends fragment #51

Closed piotrpdev closed 6 months ago

piotrpdev commented 7 months ago

https://stackoverflow.com/q/46939765/19020549

Using Admin SDK in app seems like a security risk. Either:

  1. Create a Lambda/Google Function to fetch users using Admin SDK, then call that from the app.

OR

  1. Create a Google Function that triggers when a new user registers, and have it save their ID and some details to the database.

Include setup for function e.g. service account, function version, firebase auth oncreate trigger etc.