I have created a component in hybrid-reference-app and tried to include the JS through external and internal JS code. This is working on website and the Emulator (Chrome Ctrl+Shift+M) , But it's not working on APP.
HTML created path -> "/apps/hybrid-reference-app/components/social/social.html"
JS created path -> "/apps/hybrid-reference-app/components/socialshare/js/share.js"
Questions :
- Is there any restriction to use Javascript and Jquery in PhoneGap APP on AEM ?
- How to include external JS files in Components ?