Coder Social home page Coder Social logo

Comments (7)

darshanrampatel avatar darshanrampatel commented on June 2, 2024

@fgagneten Try this: cordova plugin add https://github.com/shprink/ionic-native-transitions#v1.0.3

from ionic-native-transitions.

fgagneten avatar fgagneten commented on June 2, 2024

Ok @darshanrampatel I will try this afternoon. Did you install version 1.0.3 with cordova successfully? Thanks.

from ionic-native-transitions.

fgagneten avatar fgagneten commented on June 2, 2024

@darshanrampatel , I got the following error after running the code that you tell me: cordova plugin add https://github.com/shprink/ionic-native-transitions#v1.0.3

Error: Failed to fetch plugin https://github.com/shprink/ionic-native-transitions#v1.0.3 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Failed to get absolute path to installed module

Version:

Ionic -v

[WARN] Detected locally installed Ionic CLI, but it's too old--using global CLI.
3.19.0-alpha.195e089e

node -v

v6.10.1

npm -v

3.10.8

Let me know if you need another infomation.

from ionic-native-transitions.

johnnynode avatar johnnynode commented on June 2, 2024

Same Here:

$ cordova plugin add https://github.com/Telerik-Verified-Plugins/NativePageTransitions#0.6.5
Error: Failed to fetch plugin https://github.com/Telerik-Verified-Plugins/NativePageTransitions#0.6.5 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
TypeError: Parameter "url" must be a string, not undefined

and

$ cordova plugin add https://github.com/shprink/ionic-native-transitions#v1.0.3
Error: Failed to fetch plugin https://github.com/shprink/ionic-native-transitions#v1.0.3 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
TypeError: Parameter "url" must be a string, not undefined

Fixed by below:

cordova version 7 is not stable.

$ cordova -v
7.1.0

$ sudo npm i -g [email protected]

$ cordova -v
6.5.0

$ cordova plugin add https://github.com/Telerik-Verified-Plugins/NativePageTransitions#0.6.5
Fetching plugin "https://github.com/Telerik-Verified-Plugins/NativePageTransitions" via git clone
Repository "https://github.com/Telerik-Verified-Plugins/NativePageTransitions" checked out to git ref "0.6.5".
Installing "com.telerik.plugins.nativepagetransitions" for android
ANDROID_HOME=/Users/Johnny/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home
Subproject Path: CordovaLib

> Configure project :
Configuration 'compile' in project ':' is deprecated. Use 'implementation' instead.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead
.
        at build_gbu6pfq6xj89i8y3b1w77z6m.run(/Users/Johnny/code/work/app/dds-mobile-app/platforms/android/build.gradle:143)

> Configure project :CordovaLib
publishNonDefault is deprecated and has no effect anymore. All variants are now published.


BUILD SUCCESSFUL in 2s
2 actionable tasks: 1 executed, 1 up-to-date

from ionic-native-transitions.

darshanrampatel avatar darshanrampatel commented on June 2, 2024

Sorry, I was confused before. The ionic-native-transitions is not a cordova plugin so needs to be added via npm or bower.

I can add the NativePageTransitions cordova plugin fine:

PS C:\testapp> cordova plugin add https://github.com/Telerik-Verified-Plugins/NativePageTransitions#0.6.5
Adding com.telerik.plugins.nativepagetransitions to package.json
Saved plugin info for "com.telerik.plugins.nativepagetransitions" to config.xml

from ionic-native-transitions.

fgagneten avatar fgagneten commented on June 2, 2024

Yes I can install page transition version 0.6.5, but there is some bugs that was solved after that version, that's the reason I need version 1.0.3. For example,I get error like this one that was solved but I don't think that was solved on version 0.6.5 #137

from ionic-native-transitions.

fgagneten avatar fgagneten commented on June 2, 2024

@darshanrampatel . I know whats going on. ionic-native-transitions is not the same as NativePageTransitions. NativePageTransitions the lastes version was 0.6.5.

What I don't know why there are two libraries with similar name. For my cordova ionic app ionic-native-transitions not working.

Is there a possibility to use ionic-native-transitions instead of NativePageTransitions in my cordova app?

from ionic-native-transitions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.