Comments (8)
I have updated the full repo to work with NS8 and have released version 3.0.1.
from nativescript-http.
Hi @pradumnk-mahanta. Webpack 5 has a minor changes.
It seems it maybe be change on NativeScriptHTTPPlugin
source code.
from nativescript-http.
I'm looking into a NS8 version soon.
from nativescript-http.
I have just released version 3.0.0 to support NS8 and also updated the readme.
from nativescript-http.
@jerbob92 Thank you for your prompt support. I wasn't expecting NS 8 Version for another month or so.
I implemented this as per the docs, however I am getting the following error on API Calls, which work fine without the plugin enabled in the Webpack.
Error while parsing debug `response` object. Error: BINDINGS: string value expected
CONSOLE ERROR: ERROR TypeError: Cannot read property 'originalStack' of null
Error while parsing debug `response` object. Error: BINDINGS: string value expected
Error while parsing debug `response` object. Error: BINDINGS: string value expected
CONSOLE ERROR: ERROR TypeError: Cannot read property 'originalStack' of null
I am assuming it is still in progress, so I will wait a bit more. Do let me know if you need any other details form my end.
from nativescript-http.
@jerbob92 Thank you for your prompt support. I wasn't expecting NS 8 Version for another month or so.
I implemented this as per the docs, however I am getting the following error on API Calls, which work fine without the plugin enabled in the Webpack.
Error while parsing debug `response` object. Error: BINDINGS: string value expected CONSOLE ERROR: ERROR TypeError: Cannot read property 'originalStack' of null Error while parsing debug `response` object. Error: BINDINGS: string value expected Error while parsing debug `response` object. Error: BINDINGS: string value expected CONSOLE ERROR: ERROR TypeError: Cannot read property 'originalStack' of null
I am assuming it is still in progress, so I will wait a bit more. Do let me know if you need any other details form my end.
I tested it yesterday in NS8, and it worked fine. However, there is indeed some work to do, in the demo's and the Angular implementation. I will look into that today.
Can you tell me how you are doing the requests? So I can try to reproduce?
from nativescript-http.
Hi @jerbob92, I am using Angular Calls.
GetCompanies(entityMapping): any {
return this.http.post(AppData.URL_API + AppData.URL_API_SUB + "getCompanies", entityMapping, { observe: 'response' });
}
then I subscribe to this function from wherever I need to make the call.
this.verificationService.GetCompanies({ "BusinessEntity": AppData.BUSINESS_ENTITY })
.subscribe((response) => {
});
UPDATE: It works on [email protected]
. I was on [email protected]
fixed and it did not work and provided the ERROR as I shared. I updated my Webpack version to "@nativescript/webpack": "beta"
and it fetched the latest version of the Webpack and everything seems to be working now.
So maybe it was a Webpack issue. I'll test on this more and confirm everything for you.
from nativescript-http.
Thanks for testing :)
Everything else in the project is still NS7, so also the Angular module, so it might be possible some things are broken. I'll update verything to NS8/Angular 12 today. It does sound odd to me that NS8 uses a beta version of @nativescript/webpack, but that's also what the templates do.
from nativescript-http.
Related Issues (20)
- N official integration HOT 2
- NativeScript 7 update HOT 12
- Keep uploading images in background on iOS HOT 1
- [FR] run big opps in threads HOT 1
- Cannot find runtime for instance=com.tns.gen.okhttp3.Callback HOT 2
- Does This Support Binary File Upload (Image) in Formdata Submit HOT 16
- Callback upload or download available? HOT 1
- Why not suggest a custom webpack configuration? HOT 2
- is there support to select/send a client certificate(for authentication PKCS12) during the TLS handshake? HOT 6
- Public key pinning...backup keys HOT 2
- NS8 Webpack path replacement module does not take into account Windows 10 backslashes HOT 9
- ReferenceError: Cannot access 'Cache' before initialization HOT 1
- [Review Request] Roadmap Step - Cache Control HOT 2
- Access to native error / request error type to differentiate network errors HOT 2
- how to read cookies HOT 1
- Unexpected end of JSON input HOT 5
- Support for HTTP/3? HOT 1
- Feature request: Certificate transparency for Android HOT 1
- Request hangs when using a Self-Signed certificate HOT 11
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-http.