| title | Recommended Plugins | |
|---|---|---|
| description | Recommended plugins for when core doesn't support it... | |
| contributors |
|
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.
For web-compatible WebSockets, we recommend installing the @valor/nativescript-websockets plugin:
::: code-group
npm i --save @valor/nativescript-websocketsyarn add @valor/nativescript-websockets:::
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).
One of the go-to plugins is @triniwiz/nativescript-image-cache-it. It uses SDWebImage on iOS and Glide on android.
::: code-group
npm i --save @triniwiz/nativescript-image-cache-ityarn add @triniwiz/nativescript-image-cache-it:::
Another great plugin is from the NativeScript-Community '@nativescript-community/ui-image'. It uses SDWebImage on iOS and Fresco on android.
::: code-group
npm i --save @nativescript-community/ui-imageyarn add @nativescript-community/ui-image:::
As an alternative to the core Label, check out @nativescript-community/ui-label.
::: code-group
npm i --save @nativescript-community/ui-labelyarn add @nativescript-community/ui-label:::
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.
::: code-group
npm i --save @nativescript-community/httpsyarn add @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 @klippa/nativescript-http.
::: code-group
npm i --save @klippa/nativescript-httpyarn add @klippa/nativescript-http:::