triniwiz / nativescript-image-zoom

Apache License 2.0
19 stars 14 forks source link

SubsamplingScaleImageView is not a constructor #7

Closed HintOfLemon closed 6 years ago

HintOfLemon commented 6 years ago

If the demo apps cannot help and there is no issue for your problem, tell us about it

I run 'tns plugin add nativescript-image-zoom' and everything installs fine. The error occurs when I load a page with the control present. I do include the xlmns on the page element, but the application crashes with this error: 'TypeError: com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView is not a constructor File: image-zoom.js, line: 13, column: 15'

Which platform(s) does your issue occur on?

-Android

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

I just installed it, and used it in xml as specified, with: src="~/res/img1.jpg" and no other attributes.

Is there any code involved?

triniwiz commented 6 years ago

Thee plugin needs to be updated to support 4.x

triniwiz commented 6 years ago

Update to the latest version