Hello, I succesfully implement th jqTouch-punch in the app.
I started with the ionic template and trying to drag some pictures, in the preview works fine even in the device browser but in the tester the app just get blank.
what could be wrong ?
Hello, I succesfully implement th jqTouch-punch in the app.
I started with the ionic template and trying to drag some pictures, in the preview works fine even in the device browser but in the tester the app just get blank.
what could be wrong ?
Hi Romeo -
Let's start from the beginning, could you please explain how you added touch-punch into your app?
And what do you mean by the tester here?
Hi Illya,
I added in external resourses:
src="http://code.jquery.com/jquery.min.js"
src="http://code.jquery.com/ui/1.8.17/jque..."
src="jquery.ui.touch-punch.min.js"
reference---: http://touchpunch.furf.com/
To make some images draggable, works fine in mobile preview in browser(pc desktop) ..
and by the tester I mean The apperyio Android native tester for apps (android, iOS devices), here is where the apps just get in blank screen, I also built the apk and installed in my device didn't work either
Hello Romeo,
Could you check are there any errors in console? This (https://devcenter.appery.io/documenta...) should help.
It can be related with touch events which fire on device.
Hello,
There is any error in console, it is just when I building the apk ...
When I remove the jQuery and the jq ui touch-punch libs there is no problem in Appery Tester, just works fine, so I assume that if I built the apk this way it won't be any problem..
Sorry, I mean THERE IS NO ERROR IN CONSOLE
How can I do for make an image draggable whether it is with angular or not and building the apk successfully ?
Romeo, please add all js files (jquery-1.7.2.min.js, jquery-ui.min.js, jquery.ui.touch-punch.min.js) via
Crete new-Javascript
and run JS as in example: pre$('#widget').draggable();/pre
after that you will be able drag and drop this component