Comments (6)
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.
@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 thegetContactsWorker
- remove these lines from
index.js
in yournode_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.
@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.
@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.
@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.
Fixed in NS3.2 with bb9f85a and nativescript-dev-webpack
v0.8.0.
from nativescript-contacts-lite.
Related Issues (12)
- Not able to Access Contacts in Android(though works, when page loads), It asks for Permission after page loads HOT 5
- Phone Number repeated with multiple account name, though in my contacts list, I don't have multiple account names HOT 1
- Could not create service of type OutputFilesRepository using ExecutionGradleServices.createOutputFilesRepository() HOT 8
- get CONTACT_STATUS_TIMESTAMP field HOT 4
- Webpack Compatibility HOT 4
- Unexpected token: name (contacts) HOT 2
- Running getContacts or getContactsWorker on iOS make the app crash HOT 2
- [Android] Type field returns a value not included in enum HOT 2
- How can I find contacts that start with a letter?
- conflict with eslint and/or eslint-plugin-promise HOT 2
- Not able to Access Contacts in IOS(though works, when page loads), if permission is disabled and then enabled from Phone Settings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-contacts-lite.