Skip to content

Latest commit

 

History

History
114 lines (72 loc) · 3.05 KB

recommended-plugins.md

File metadata and controls

114 lines (72 loc) · 3.05 KB
title Recommended Plugins
description Recommended plugins for when core doesn't support it...
contributors
rigor789

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:

::: code-group

npm i --save @valor/nativescript-websockets
yarn add @valor/nativescript-websockets

:::

Image 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.

::: code-group

npm i --save @triniwiz/nativescript-image-cache-it
yarn 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.

::: code-group

npm i --save @nativescript-community/ui-image
yarn add @nativescript-community/ui-image

:::

Text

@nativescript-community/ui-label

As an alternative to the core Label, check out @nativescript-community/ui-label.

::: code-group

npm i --save @nativescript-community/ui-label
yarn add @nativescript-community/ui-label

:::

HTTP

@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.

::: code-group

npm i --save @nativescript-community/https
yarn 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.

::: code-group

npm i --save @klippa/nativescript-http
yarn add @klippa/nativescript-http

:::