Development Workflow
Recommended Plugins
Recommended plugins for when core doesn't support it...
This page serves as a quick reference for finding plugins for commonly used features. Feel free to request additional plugins to be listed here by submitting a request on the Docs GitHub Repository.
WebSockets
@valor/nativescript-websockets
For web-compatible WebSockets, we recommend installing the @valor/nativescript-websockets plugin:
npm i --save @valor/nativescript-websocketsyarn add @valor/nativescript-websocketsImage Caching
For image-heavy applications, it's a good practice to adopt an image-caching strategy that helps keep the memory usage down (remote images are cached after first download for example).
@triniwiz/nativescript-image-cache-it
One of the go-to plugins is @triniwiz/nativescript-image-cache-it. It uses SDWebImage on iOS and Glide on android.
npm i --save @triniwiz/nativescript-image-cache-ityarn add @triniwiz/nativescript-image-cache-it@nativescript-community/ui-image
Another great plugin is from the NativeScript-Community '@nativescript-community/ui-image'. It uses SDWebImage on iOS and Fresco on android.
npm i --save @nativescript-community/ui-imageyarn add @nativescript-community/ui-imageText
@nativescript-community/ui-label
As an alternative to the core Label, check out @nativescript-community/ui-label.
npm i --save @nativescript-community/ui-labelyarn add @nativescript-community/ui-labelHTTP
@nativescript-community/https
A drop-in replacement for the core HTTP with improvements and additions like connection pooling, form data support and certificate pinning. Check out @nativescript-community/https.
npm i --save @nativescript-community/httpsyarn add @nativescript-community/https@klippa/nativescript-http
A drop-in replacement for the core HTTP with improvements and additions like connection pooling, form data support and certificate pinning. Check out @klippa/nativescript-http.
npm i --save @klippa/nativescript-httpyarn add @klippa/nativescript-http