From e4f845cb51edb0bc3728ed205cac21954694043a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 05:08:00 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20deprecated=20PushyProvi?= =?UTF-8?q?der?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com> --- Example/expoUsePushy/App.tsx | 6 +++--- src/index.ts | 2 +- src/provider.tsx | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) 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;