Wix Code | Using the database feature with a mobile app

Hello, Can the new wix code “Database” function be used to obtain an output of the member login info to then connect the database to an app for users to login via our app the same way they do via our site?

Hi,
If I understood your question, then yes. You can expose and reuse site functionality, code and databases using HTTP-functions .

Okay, and this is a little.off question, but still related to wix code, but is it possible with the “Members Profile” features of using wix code if logged-in users can add/upload their own music and there be a source to play it similar to the Wix Music player? — I don’t see the Wix Music player allowing it to be connected to a data base yet still.

Right, Wix Music player not integrated yet to wix code. It’s on our backlog to enable it.

Okay!, great to at least know thats being considered!, just curious if there’s any timeframe for that?

Also, last question while I have you available, say I want a “profile picture” “bubble” in the corner of the screen (header), sourced by the database image in which they have already uploaded — to signify a user is signed into a specific account. Now the issue seems to be getting that bubble with the profile image to update accordingly between logging in & out, and switching accounts. Any tip or suggestions that you could offer on what I might be missing?

Regarding timeframe - don’t have one at the moment.

Regarding user image - you can use onLogin () to get the current user and change the bubble accordingly.