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

Plugin breaks after updating to {N} 6 #45

Closed hermandinho closed 5 years ago

hermandinho commented 5 years ago

Hello guys and thkans for the great plugin. Every things was working for {N} 5.4. But when i migrated to {N} 6.0, i receive this error during build

Exception in thread "main" java.lang.RuntimeException: Class not found android.support.v4.view.ViewPager.OnPageChangeListener at org.nativescript.staticbindinggenerator.Generator.getClass(Generator.java:549) at org.nativescript.staticbindinggenerator.Generator.getInterfacesFromCache(Generator.java:532) at org.nativescript.staticbindinggenerator.Generator.writeBinding(Generator.java:283) at org.nativescript.staticbindinggenerator.Generator.generateBinding(Generator.java:171) at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:234) at org.nativescript.staticbindinggenerator.Generator.generateBindings(Generator.java:121) at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:97) at org.nativescript.staticbindinggenerator.Main.main(Main.java:50)

is there a solution for that?

PeterStaev commented 5 years ago

Hey @hermandinho , the fix for this is available 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.

adilsaeed31 commented 5 years ago

@PeterStaev I am trying to install this plugin but it's not downloading for me?

PeterStaev commented 5 years ago

@adilsaeed31 , have you subscribed to the service and logged in to the custom npm registry?

adilsaeed31 commented 5 years ago

@PeterStaev I have logged in but didn't go for the subscription I want to test this plugin as per my requirement.

PeterStaev commented 5 years ago

@adilsaeed31 you cannot access the plugin w/o an active subscription. You can use the current version of the plugin with NS 5.x if you want to try it out w/o subscribing.

adilsaeed31 commented 5 years ago

@adilsaeed31 I can't use this I've already updated my NS to 6.

PeterStaev commented 5 years ago

Well then there is no other option - the NS 6 support for this plugin is available only under the ProPlugins subscription. So the only options are you either pull the code and make the required changes yourself, or subscribe to the program.

adilsaeed31 commented 5 years ago

@PeterStaev Give me some idea how I can do it I'm totally new with nativescript and nativescript plugin development