Giter VIP home page Giter VIP logo

Comments (3)

programista25 avatar programista25 commented on May 27, 2024 1

My bad, I've forgot to change import statement to this: import { PullToRefresh } from "@nstudio/nativescript-pulltorefresh"; in one of the service classes. No issue here.

from nativescript-pulltorefresh.

bradmartin avatar bradmartin commented on May 27, 2024

Can you share your package.json? This plugin should work on both NS5 and NS6 (which supports AndroidX). Your error indicates it's trying to load the support class, so I'm going to guess you're using the non @nstudio scoped npm package for this plugin but the deprecated version.

from nativescript-pulltorefresh.

programista25 avatar programista25 commented on May 27, 2024

I suppose, that I'm using correct npm package. Below you can find my package.json file:

{
  "nativescript": {
    "id": "org.test.TestApp",
    "tns-android": {
      "version": "6.0.0"
    },
    "tns-ios": {
      "version": "6.0.1"
    }
  },
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "scripts": {
    "lint": "tslint \"app/**/*.ts\""
  },
  "dependencies": {
    "@nstudio/nativescript-pulltorefresh": "1.0.1",
    "nativescript-theme-core": "~1.0.6",
    "nativescript-ui-sidedrawer": "~7.0.0",
    "rxjs": "~6.5.0",
    "tns-core-modules": "~6.0.0"
  },
  "devDependencies": {
    "nativescript-dev-webpack": "~1.0.0",
    "node-sass": "^4.7.1",
    "tslint": "~5.11.0",
    "typescript": "~3.4.0"
  },
  "gitHead": "f28dbc60d74dd2cef4b645afd8fdd63bbb12c73e",
  "readme": "NativeScript Application"
}

I've also used this @nstudio package in xmlns:

<Page class="page" navigatingTo="onNavigatingTo" loaded="onLoaded" 
    xmlns="http://schemas.nativescript.org/tns.xsd" 
    xmlns:PullRefresh="@nstudio/nativescript-pulltorefresh">

from nativescript-pulltorefresh.

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.