diff --git a/Example/expoUsePushy/App.tsx b/Example/expoUsePushy/App.tsx index 30590144..fd1a26d5 100644 --- a/Example/expoUsePushy/App.tsx +++ b/Example/expoUsePushy/App.tsx @@ -6,7 +6,7 @@ import {StyleSheet, Text, View, TouchableOpacity, Image} from 'react-native'; import TestConsole from './TestConsole'; import _updateConfig from './update.json'; -import {PushyProvider, Pushy, usePushy} from 'react-native-update'; +import { UpdateProvider, Pushy, usePushy} from 'react-native-update'; const {appKey} = _updateConfig.android; function Home() { @@ -214,8 +214,8 @@ const pushyClient = new Pushy({ export default function HomeScreen() { return ( - + - + ); } diff --git a/src/index.ts b/src/index.ts index 2de9e853..5c8a2108 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ export { Pushy, Cresc } from './client'; export { UpdateContext, usePushy, useUpdate } from './context'; -export { PushyProvider, UpdateProvider } from './provider'; +export { UpdateProvider } from './provider'; export { PushyModule, UpdateModule } from './core'; diff --git a/src/provider.tsx b/src/provider.tsx index 08dec9ac..80883887 100644 --- a/src/provider.tsx +++ b/src/provider.tsx @@ -421,5 +421,3 @@ export const UpdateProvider = ({ ); }; -/** @deprecated Please use `UpdateProvider` instead */ -export const PushyProvider = UpdateProvider;