PeterStaev / nativescript-image-swipe

A NativeScript widget to easily :point_up_2: and :mag: through a list of images
Apache License 2.0
35 stars 21 forks source link

Cannot read property 'setScaleFactor' of null #52

Closed san3k1990 closed 4 years ago

san3k1990 commented 4 years ago

Sometimes i get an error Cannot read property 'setScaleFactor' of null, when I try to enlarge a picture. This is Error on Android.

StackTrace:
    Frame: function:'onScale', file:'file:///node_modules\nativescript-image-swipe\image-swipe.js:212:0
   Frame: function:'ZoomImageView.onTouchEvent', file:'file:///node_modules\nativescript-image-swipe\image-swipe.js:295:0
   at com.tns.Runtime.callJSMethodNative(Native Method)
...
PeterStaev commented 4 years ago

This should be fixed in the new version of the plugin available in the ProPlugins NPM registry.

All future work of this plugin will be available exclusively as part of ProPlugins initiative. So if you want to get the latest updates/fixes/features make sure you subscribe to the service. You get all my plugins plus many of the most used and high quality plugins for a small monthly subscription fee.