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

    Keywords

    none

    Install

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

    DownloadsWeekly Downloads

    8

    Version

    0.0.5

    License

    none

    Unpacked Size

    17.5 kB

    Total Files

    15

    Last publish

    Collaborators

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