Did java script code work in android app

hello everyone
i made this app and it works very good on the browser preview but it didn’t work on the sap preview app and when i exported it to apk.

so is the java script code the problem?

here in the chrome preview

and here on the apk

this is the link if you want to try it