4.0.0 • Published 2 years ago

@uplift-ltd/react-native-updates v4.0.0

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

@uplift-ltd/react-native-updates

Installation

npm i --save @uplift-ltd/react-native-updates

API

useExpoUpdates

Use this hook to let users load the latest OTA updates.

import { useExpoUpdates } from "@uplift-ltd/react-native-updates";

function MyComponent() {
  const { canUpdate, updateLoading, updateReady, reloadAsync } = useExpoUpdates();

  return (
    <>
      {updateReady && <Button onPress={reloadAsync}>Update available! Tap to reload.</Button>}
      <App />
    </>
  );
}
4.0.0

2 years ago

4.0.0-alpha.1

2 years ago

4.0.0-alpha.2

2 years ago

4.0.0-alpha.0

2 years ago

3.0.0-alpha.0

2 years ago

3.0.0

2 years ago

2.0.3

3 years ago

2.0.3-alpha.1

3 years ago