nativescript-community / ui-image

Advanced and efficient image display plugin which uses Fresco (Android) and SDWebImage (iOS) to implement caching, placeholders, image effects, and much more.
Apache License 2.0
36 stars 9 forks source link

Feat/nativescript 6.2 #17

Closed m-abs closed 4 years ago

m-abs commented 4 years ago

Hi,

Thank you for this plugin.

We ran into a minor issue with NativeScript 6.2, that gave a lot for warnings. So I decided to fix it and do that task of upgrading this plugin.

Fixes warning:

fromResource() is deprecated. Use ImageSource.fromResourceSync() instead.

Updates to:

Update to scoped import paths from NativeScript 6.2

farfromrefug commented 4 years ago

Thanks @m-abs ! Will merge it. Though will make the release next week. Plus it needs to be a major release because it is not retro compatible as you now use @nativescript (I want to merge all my plugins to it). Also need to add a note in the Readme for people using tns-core-modules

farfromrefug commented 4 years ago

@m-abs i released a beta version 3.0.0 if you want to test it