1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 12:11:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

fix android build

This commit is contained in:
sunnylqm
2025-04-11 10:16:51 +08:00
parent e4ef93595b
commit 05738ec204
3 changed files with 10 additions and 9 deletions

View File

@@ -204,17 +204,18 @@ const styles = StyleSheet.create({
});
// use Pushy for China users
// const updateClient = new Pushy({
const updateClient = new Pushy({
appKey,
debug: true,
// updateStrategy: 'silentAndLater',
});
// use Cresc for global users
// const updateClient = new Cresc({
// appKey,
// debug: true,
// });
// use Cresc for global users
const updateClient = new Cresc({
appKey,
debug: true,
});
export default function Root() {
return (
<UpdateProvider client={updateClient}>