When I use the window.ShowpadLib.getUserInfo() method from the SDK, it returns different values in iPad and Web apps.
- in the iPad app it returns something like "104"
- in a Web app and in a local development environment, it returns a hash like "d24b569669e53a765bbf729834459c25".
For some reason we want to store the userId inside a value in appsdb store(instead of getting this as param of entry). And this leads to the problem that sometimes we want to update the value (initially created in iPad) and save it for the user who originally created the entry in the database, but when building a query where the user ID is 104, we get an error that the entry was not found.
My main question is why are the userIDs different on the platforms?
Please sign in to leave a comment.