Hello,
I have an issue and could not find any rich documentation for the mobile app, something is missing and I found all customers go with a new app builder but I want to use the cs cart native app
The problem is simply, the app is working with the demo cs-cart data, and once I add my apiKey, baseUrl and siteUrl, the app stops working.
API key is configured on the backend, the evidence is that, when I add the below hardcoded data, the app is working normally and fetch all data.
//const username = ‘example@gmail.com’
//const password = ‘KXXFQksjaoqiZ3dV46V0G7K0W’
const encodedCredentials = base64.encode(${username}:${password}
)
newConf.headers.common.Authorization = Basic ${encodedCredentials}
what is wrong in the hardcoded data, as you know, all registered customers are redirected to the API Profile and can see all Orders etc
I hope that someone tell me the missing info that was not documented, just to make the life easier
Thanks,
Sarah