@stryberventures/stryber-rn-core-components-version-updater
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Stryber React Native Version Updater

Description

Module which can compare current app version with the latest one. If the newer version exists and is configured with force update, user will see a modal window which will navigate him to Apple/Play Store to update the app. Versions for different platforms might be different.

Installation

Install the module and dependencies

npm i @stryberventures/stryber-rn-core-components-version-updater react-native-version-number@0.3.6 --save

How it works

Version list and latest version configuration are stored on the server side. To allow the server to compare current app version with server configuration we should send information about device platform and current app version in request headers in each request. If server response status is 426, it means that newer version exists and app should be force updated to this version. In this case we should show modal window which will navigate user to Apple/Play Store.

Readme

Keywords

none

Package Sidebar

Install

npm i @stryberventures/stryber-rn-core-components-version-updater

Weekly Downloads

1

Version

0.0.5

License

none

Unpacked Size

17.5 kB

Total Files

15

Last publish

Collaborators

  • red17electro
  • davidlahoz
  • davidpaez
  • vladstryber
  • sychevskiy
  • so1ua
  • pavel.stryber
  • aliku