nativescript-fabric | Handling App URLs in nativescript apps | Mobile library
kandi X-RAY | nativescript-fabric Summary
kandi X-RAY | nativescript-fabric Summary
Feel free to donate Or donate Bitcoins: bitcoin:3NKtxw1SRYgess5ev4Ri54GekoAgkR213D Also via greenaddress.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nativescript-fabric
nativescript-fabric Key Features
nativescript-fabric Examples and Code Snippets
Community Discussions
Trending Discussions on nativescript-fabric
QUESTION
I am trying to use the Angular's HttpClient
in my Nativescript application
but when I import it in my component I get Error: Trying to link invalid 'this' to a Java object
...Update
I also tried adding this in the Groceries example without changing anything else and it doesn't work
ANSWER
Answered 2017-Nov-11 at 22:59I ran into the same problem and it seems that I found the solution. The basic problem in Nativescript with Angular's http module seems to be that it overwrites the global.__extends function upon importing it the first time.
Importing NativeScriptHttpClientModule first (in app.module.ts) should fix this.
Since it does not help for your check if your nativescript-angular module is up-to-date or you could replicate its solution by hand:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nativescript-fabric
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page