Using wix database for an application

Hi everyone,
i’m bulding a type of social network using wix.
I’m using the database to collect all the data like email, password, name.
Now i’ve a problem: I’m building the app in Xcode (swift) for IOS and then I think I’ll use Java for Andoid.
But i don’t know how can i use the same database for the website and the app, I mean how can i connect the database to the app,
thanks

Sir please check this maybe it will help you https://www.youtube.com/watch?v=tYMq5dfgb3w&t=9s . It can be done by exposing your site API and then fetch that API from your desired platform.

thanks a lot,
i haven’t understood how can i take the database api and then how to connect it to xcode