sarriaroman / photoviewer

PhotoViewer Cordova Plugin
MIT License
155 stars 202 forks source link

Build fails - Cordova@11 android@11 #228

Closed pixellet14 closed 1 year ago

pixellet14 commented 1 year ago

I get the following error on build attempt

Could not find method compile() for arguments [com.commit451:PhotoView:1.2.4] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

sarriaroman commented 1 year ago

Solved in 1.3.0

pixellet14 commented 1 year ago

Yayyyyyy it's working!!!! THANKS!!!

sarriaroman commented 1 year ago

Nice to hear that it works! can I close the issue then?

pixellet14 commented 1 year ago

yes yes plsss close it

matteobarale commented 1 year ago

Sorry but how can I install version 1.3 through npm? https://www.npmjs.com/package/com-sarriaroman-photoviewer?activeTab=versions here I see 1.2.5 as the latest release

pixellet14 commented 1 year ago

Sorry but how can I install version 1.3 through npm? https://www.npmjs.com/package/com-sarriaroman-photoviewer?activeTab=versions here I see 1.2.5 as the latest release

no no no don't do that! I did the same mistake...just install via git link as mentioned there already... it works for me (cordova 11 & android@latest)

matteobarale commented 1 year ago

Yes it's work also for me, but it's difficult to maintain in that way

ShriVarkhedi commented 1 year ago

Hi @pixellet14, Could you please share the GIT command to install the latest version ? I couldn't find any as such.

Thanks in advance.