Code Monkey home page Code Monkey logo

Comments (6)

abhayastudios avatar abhayastudios commented on August 23, 2024

Hi Mevin,

I am traveling until next week, so I am less available to check things. However, I was able to run with webpack last time I checked (granted it was with NS 2.5). Thanks for the demo project, I will get back to you soon.

Cheers!

from nativescript-contacts-lite.

abhayastudios avatar abhayastudios commented on August 23, 2024

@mevinDhun I was able to reproduce with your sample project. However, since this seems to be an issue with the android runtime (see my addition to this issue, I don't think I have anything to change for now.

However, as a work around you can do the following:

  • use the getContacts function instead of the getContactsWorker
  • remove these lines from index.js in your node_modules/nativescript-contacts-lite/index.js

Then running npm run start-android-bundle will work. I will leave this issue open for now and keep an eye out to see when the issues with web workers will be fixed.

from nativescript-contacts-lite.

l0stpenguin avatar l0stpenguin commented on August 23, 2024

@abhayastudios The getContacts will block the UI and is not suitable for my app. Using webpack is not a must for me right now, hence i can skip it for android. I will wait for 778 to be resolved and then will try to integrate wepack on my android version.
Thanks

from nativescript-contacts-lite.

alexandruantonica avatar alexandruantonica commented on August 23, 2024

@abhayastudios Did you find any solution for getContactsWorker to work on Android ?
According to 778 the issues with web workers was solved.

from nativescript-contacts-lite.

abhayastudios avatar abhayastudios commented on August 23, 2024

@alexandruantonica Indeed it is supposed to be released with NS 3.2. I haven't gotten around trying it yet in the @next build. Will update here when I get a chance.

from nativescript-contacts-lite.

abhayastudios avatar abhayastudios commented on August 23, 2024

Fixed in NS3.2 with bb9f85a and nativescript-dev-webpack v0.8.0.

from nativescript-contacts-lite.

Related Issues (12)

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.