@khorark/rn-in-app-update
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

rn-in-app-update

Package for in-app update your app

Description

Android update use native SDK for in-app update.

Installation

npm install @khorark/rn-in-app-update --save

cd ios && pod install

Usage

Use hook for check update

import { useInAppUpdate } from '@khorark/rn-in-app-update';

// ...

const App = () => {
  useInAppUpdate();

  return <MainComponent />;
};

Use func for check update

// ...
import { checkUpdate } from '@khorark/rn-in-app-update';
// ...

const App = () => {
  return <Pressable onPress={checkUpdate}>/* ... */ </Pressable>;
};

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i @khorark/rn-in-app-update

Weekly Downloads

3

Version

1.1.2

License

MIT

Unpacked Size

34.7 kB

Total Files

25

Last publish

Collaborators

  • khorark