4.0.0 • Published 6 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months 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

6 months ago

4.0.0-alpha.1

1 year ago

4.0.0-alpha.2

1 year ago

4.0.0-alpha.0

1 year ago

3.0.0-alpha.0

1 year ago

3.0.0

1 year ago

2.0.3

1 year ago

2.0.3-alpha.1

1 year ago