sebastian
Posts: 0
Joined: Tue Oct 21, 2014 9:46 pm

How to implement external JS scripts? (e.g. Adding fastclick.js to your app)

Hi Appery team,

I need your expertise again and really appreciate all the help you provided in the getsatification forums. I've researched the forums, your youtube videos and tutorials on the website but haven't really found what I was looking for. I also played around with the app setting = external reasources page but had no luck.

I was wondering how you would implement an external script such as https://github.com/ftlabs/fastclick

When I upload my app onto my device I notice there is some lag time between the time I click a button and a script running (e.g. opening a popup). I would like to add flastclick to see if I can remove some lag time.

Thanks again for taking the time to read this and for your help in the past

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

How to implement external JS scripts? (e.g. Adding fastclick.js to your app)

I have not used fastclick but in general this should work...

add the cdn to external resources in app settings:

https://cdnjs.cloudflare.com/ajax/lib...

or create a new js file and copy and paste the contents of the js file there.

Return to “Issues”