novid20org / novid20-android-sdk

NOVID20 Android SDK Source Code
https://novid20.org
GNU General Public License v3.0
36 stars 3 forks source link

UID vs. user ID mismatch #9

Open michaelroland opened 4 years ago

michaelroland commented 4 years ago

On NovidSdkImpl.kt:132, the config.uid value is read, and, if empty, config.userId is updated to a newly generated UUID.

It is unclear what this code is actually supposed to do for the following reasons:

myfknoll commented 4 years ago

Thank you for your feedback.

Well we have removed the fake userId generation, and added now a kind of onboarding workflow in the app code, where the user needs to be online to "register" in order to get this public userid.

If there is no stored userId in the config, the SDK will not be able to start, see also NovidSdkImpl.kt:256