1.1.2 • Published 2 years ago

@khorark/rn-in-app-update v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

1.1.1

2 years ago

1.1.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago