Comments (4)
from appbase-js.
React native doesn't run in a node environment. Possibly that's why we won't be able to require
and use http
and https
which are core node modules. Did some finding on this and according to the docs RN suggests using fetch
or some other 3rd party like axios
. Also this post on SO.
Perhaps a possible workaround could be to use fetch
IMO.
from appbase-js.
I haven't looked into the codebase for appbase-js so I'm not sure on this
from appbase-js.
We have moved to fetch
based request in v2.
v2.0.0-alpha-03
works with react-native.
from appbase-js.
Related Issues (20)
- Optimize build size
- WebSocket - Uncaught, unspecified 'error' event HOT 2
- Add custom headers support HOT 1
- Improve error handling
- Update README and docs
- delete method doesn't invokes on error for unauthorized calls HOT 1
- add docs for msearch HOT 1
- bulk index method invokes on data for status 400 HOT 1
- URLEncode all Ids in the requests
- Vue plug-in available? HOT 2
- Add include: credentials support HOT 1
- Some missing API docs and usage examples
- Publish the package pre-compiled HOT 3
- Improve promise rejection response
- Can't pass credentials via Authorization header HOT 5
- Allow plain path for url HOT 4
- Quick start only works with elastic search 5 HOT 1
- Custom Type Value Ambiguous Error
- cross-fetch > node-fetch vulnerability
- Error: Authentication information is not present. Did you add credentials? HOT 3
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 appbase-js.