cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multi-User Mode in mdk

RaulM
Explorer
0 Kudos
613

Hello experts,

i've recently read Enable Multi-User Mode for MDK Application | SAP Tutorials tutorial and implemented it in my app.

And it seems to fairly work while i am using the Mobileservices client, but seem to be having problems in my .apk. 

I've alerted the clientAPI.isAppInMultiUserMode() result and i get different results. For mobileservices client i get true, but in my apk i get false. Do i have to do something different when implementing this for an android package. Is this functionality supported outside of Mobile services Client?

 

Thank you for your support, Raul

 

View Entire Topic
panushjain
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @RaulM 

Do you have the MultiUserSettings enabled in your local BrandedSettings.json file?

"MultiUserSettings": {
        "MultiUserEnabled": true
      }

Make sure that you have it in your local project before you zip the .mdkproject directory to generate the branded client. I am assuming that you're using Mobile Cloud Build for generating the branded client (.apk).

Thank you.

 

 

RaulM
Explorer
0 Kudos
Hello, yes i am using cloud build. But i dont have a BrandedSettings.json. Where can i edit this? Do i add it in the project manualy? If so, at application.app level?
panushjain
Product and Topic Expert
Product and Topic Expert
0 Kudos
BrandedSettings.json is maintained at metadata folder level i.e. inside your .mdkproject. Refer this sample: https://github.com/SAP-samples/cloud-mdk-samples/tree/main/Showcase_Apps/PDFGenApp/pdfgenapp.mdkproj...