Skip to Content
Sep 12 at 10:40 AM

SAP MDK - Play audio in MDK app (Mobile Development Kit)



we are developing an MDK offline app (Android, Web w/o offline obviously) and we need to play different audios when actions are executed.

We tried to use (in a JS rule) the Javascript Web Audio API but we are facing the following issues:

  • We are not able to import a mp3 file inside the project -> when we do it the deploy always fails
  • If we use an external URI, on the web app it works but on the mobile app we see that the Audio class is not defined

Is there any way to achieve this requirement?

Thanks & Regards,