Is it possible to load javascript .js library in Hybrid mobile app?

1
Hi all, Next to the (responsive) web version of our Mendix application we have a Cordova Hydrid app to use the mobile features on the mobile phone of the user. In the webversion we load the following .js lib in the index.html to have a rss-feed widget on the home page of the application: <script src="https://widget.rss.app/v1/carousel.js" type="text/javascript" async></script> Is it also possible to load and use this carousel.js library in the Hybrid Cordova (phonegap) app? If yes, how can I load this javascript lib? Is it allowed to add the script in the index.html of the phonegap package? Thanks for your response. Regards Cillus
asked
1 answers
2

Hi Cillus,

 

You can do this via the components.json which can be found in your theme folder. See documentation

https://docs.mendix.com/refguide/customizing-hybrid-mobile-apps#2-standard-components-json

Cheers, Andries

answered