Skip to content

[pull] master from reactnativecn:master #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 199 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
e63fa0f
v10.6.0-beta.0
sunnylqm Jun 11, 2024
9af0538
update example
sunnylqm Jun 11, 2024
b62e6d6
v10.6.0
sunnylqm Jun 11, 2024
4fb0c69
v10.7.0
sunnylqm Jun 25, 2024
d9f1c2e
v10.7.1
sunnylqm Jun 25, 2024
78186dd
fix example
sunnylqm Jul 8, 2024
da2046b
Update endpoints.json
sunnylqm Jul 9, 2024
e0f526a
Update domains.json
sunnylqm Jul 9, 2024
9faeaf8
Update endpoints.json
sunnylqm Jul 14, 2024
7cce998
Update domains.json
sunnylqm Jul 14, 2024
de69746
fix typo
sunnylqm Jul 18, 2024
7780f99
v10.7.2
sunnylqm Jul 18, 2024
13d8cf7
add info param to switchversion
sunnylqm Jul 23, 2024
b6202e4
v10.7.3
sunnylqm Jul 23, 2024
93b775d
action
sunnylqm Jul 23, 2024
e960b67
v10.7.4
sunnylqm Jul 24, 2024
3355751
server response message
sunnylqm Jul 24, 2024
454fc28
throw error
sunnylqm Jul 24, 2024
54036c0
v10.8.0
sunnylqm Jul 24, 2024
a5893d8
feat: extra param for checkupdate
sunnylqm Jul 25, 2024
0fdb33a
v10.9.0
sunnylqm Jul 25, 2024
28b8e12
v10.10.0
sunnylqm Jul 25, 2024
af65b26
update example
sunnylqm Jul 25, 2024
11b383d
v10.10.1
sunnylqm Jul 25, 2024
7243512
v10.10.2
sunnylqm Jul 27, 2024
90fee03
v10.10.2
sunnylqm Jul 27, 2024
88bacdf
v10.10.3
sunnylqm Jul 27, 2024
2357a0b
update queryurls
sunnylqm Jul 27, 2024
a77c3c8
Update endpoints.json
sunnylqm Jul 27, 2024
4f80f96
parseTestPayload
sunnylqm Jul 28, 2024
c595e4e
v10.11.0
sunnylqm Jul 28, 2024
adcd57b
update example
sunnylqm Jul 28, 2024
31ee269
fix qrcode
sunnylqm Jul 28, 2024
3929fc2
add crunchPngs false
sunnylqm Jul 28, 2024
20ebf89
fix url params
sunnylqm Jul 28, 2024
c5cdb60
v10.11.1
sunnylqm Jul 28, 2024
b2305cf
v10.11.2
sunnylqm Jul 28, 2024
7531e8c
v10.11.3
sunnylqm Jul 29, 2024
92bc830
update example
sunnylqm Jul 29, 2024
ab01b60
update example
sunnylqm Jul 30, 2024
5e89fb4
v10.11.4
sunnylqm Jul 31, 2024
d666e8c
v10.11.5
sunnylqm Aug 1, 2024
084fbf3
fix typo
sunnylqm Aug 6, 2024
6d980a4
v10.11.6
sunnylqm Aug 6, 2024
10178e1
chore: Update switchVersion and switchVersionLater to be async functions
sunnylqm Aug 16, 2024
14c9c0b
v10.11.7
sunnylqm Aug 16, 2024
b20d987
fix marksuccess
sunnylqm Aug 21, 2024
5659c79
v10.11.8
sunnylqm Aug 21, 2024
d000c40
v10.12.0
sunnylqm Aug 24, 2024
94d2e18
v10.13.0
sunnylqm Aug 26, 2024
462a342
v10.13.1
sunnylqm Aug 26, 2024
a40d627
v10.13.2
sunnylqm Aug 26, 2024
34bc16a
add rollout strategy
sunnylqm Sep 22, 2024
20d0952
v10.14.0
sunnylqm Sep 22, 2024
b71626d
Update client.ts
sunnylqm Sep 30, 2024
2467b0c
Update provider.tsx
sunnylqm Sep 30, 2024
94431ee
improve cleanup and rollout
sunnylqm Oct 3, 2024
04ac3f3
lint
sunnylqm Oct 3, 2024
a8705ca
cleanup
sunnylqm Oct 3, 2024
b85889c
feat/rn725 (#451)
sunnylqm Oct 11, 2024
60e446d
ensure logger is ready
sunnylqm Oct 18, 2024
a13d6aa
yarn v4
sunnylqm Oct 19, 2024
147d4e6
10.15.1
sunnylqm Oct 19, 2024
62860b9
use bun
sunnylqm Oct 19, 2024
8661265
setup rnoh
sunnylqm Oct 19, 2024
7d0e839
rn754
sunnylqm Oct 23, 2024
955834a
fix throwIfEnabled
sunnylqm Oct 30, 2024
45dd8b2
Update README.md
sunnylqm Nov 2, 2024
d2f23ad
fix testurl
Nov 12, 2024
f97d731
10.15.3
Nov 12, 2024
9a49025
deps
sunnylqm Nov 15, 2024
2192000
add return value for downloadupdate
sunnylqm Nov 23, 2024
d4f21a3
v10.17.0
sunnylqm Nov 25, 2024
946a5db
catch network error
Dec 2, 2024
be93641
v10.17.1
Dec 2, 2024
09df53a
update example to 0.76.3
sunnylqm Dec 6, 2024
6ee34eb
support 0.76
sunnylqm Dec 7, 2024
0382cfa
check activity
Dec 10, 2024
d6b1205
v10.19.0
Dec 10, 2024
e6efa55
fix: check module activity null pointer. (#457)
BBigTree Dec 10, 2024
73e2f72
v10.19.1
Dec 11, 2024
8408f7e
Create publish.yml
sunnylqm Dec 12, 2024
ab22e7f
improve testurls
Dec 13, 2024
73cf9cc
ensure reload
Dec 13, 2024
1ad0926
v10.19.2
Dec 13, 2024
822602a
react-native-pushy适配harmony (#461)
bozaigao Dec 26, 2024
ab7d932
fix android reload
Dec 26, 2024
29a3d96
add bun in action
Dec 26, 2024
5b52a29
fix lint
Dec 26, 2024
e1ad238
Create lint.yml
sunnylqm Dec 26, 2024
95cf578
Update lint.yml
sunnylqm Dec 26, 2024
437975a
bump
sunnylqm Dec 26, 2024
17daf05
Update UpdateModuleImpl.java
sunnylqm Dec 26, 2024
9283ad2
Update UpdateModule.java
sunnylqm Dec 26, 2024
16d388e
Update package.json
sunnylqm Dec 26, 2024
1578130
fix android
Dec 26, 2024
0df8261
fix android
Dec 26, 2024
22d8089
update hvigorfile.ts file (#463)
bozaigao Jan 7, 2025
eabacaa
fix example
sunnylqm Jan 11, 2025
f71419b
fix android reload
sunnylqm Jan 11, 2025
2614277
Update package.json
sunnylqm Jan 11, 2025
964d66d
adapter for harmony (#464)
bozaigao Jan 12, 2025
9b9adc5
Delete Example/react-native-harmony directory
sunnylqm Jan 12, 2025
3d34410
Delete Example/react-native-harmony-cli directory
sunnylqm Jan 12, 2025
9eba54b
Delete harmony/README.md
sunnylqm Jan 12, 2025
ef9b773
Delete harmony/README.OpenSource
sunnylqm Jan 12, 2025
d355b37
Update README.md
sunnylqm Jan 13, 2025
08547b7
use reflect
Jan 15, 2025
a0adf1e
fix platform check
Jan 15, 2025
64b77d1
fix reload
Jan 15, 2025
bd51903
bump v10.21.1
sunnylqm Jan 15, 2025
3ce7f0f
update example
Jan 20, 2025
1beb876
support 0.77
sunnylqm Feb 2, 2025
6943b36
bump version to 10.22.0
sunnylqm Feb 2, 2025
23ccfcc
update example
sunnylqm Feb 2, 2025
828212f
fix harmony more than 2M issue (#470)
bozaigao Feb 10, 2025
b04247b
Update package.json
sunnylqm Feb 10, 2025
2a96684
update RNOH SDK dependence from local to remote (#473)
bozaigao Feb 14, 2025
31e6b0f
更新 package.json
sunnylqm Feb 14, 2025
618a582
add svg
sunnylqm Feb 15, 2025
39ea11a
change repo name
sunnylqm Feb 16, 2025
fdb1fc3
change repo name
sunnylqm Feb 16, 2025
0df6fa8
update deps
sunnylqm Feb 17, 2025
46974dd
fix error
sunnylqm Feb 17, 2025
0b52cf3
bump 10.23.1
sunnylqm Feb 17, 2025
bbda721
add cresc
sunnylqm Feb 18, 2025
66c2504
comments
sunnylqm Feb 18, 2025
e150db4
add cresc
sunnylqm Feb 21, 2025
3ccc365
export useUpdate
sunnylqm Feb 22, 2025
4436654
fix class properties
sunnylqm Feb 23, 2025
3073bd9
update example
sunnylqm Feb 23, 2025
d854082
Clear hash info on package version update
sunnylqm Feb 25, 2025
9a00cf7
Bump package version to 10.24.3
sunnylqm Feb 25, 2025
effd7e1
fix android reload in bridge-less mode
sunnylqm Feb 25, 2025
e3a7480
Fix linking event listener removal for legacy compatibility
sunnylqm Feb 26, 2025
23d1fcd
Bump package version to 10.25.1
sunnylqm Feb 26, 2025
a432e5f
Bump package version to 10.25.2 and improve linking event listener re…
sunnylqm Feb 26, 2025
10cb072
improve errorUpdate message
sunnylqm Feb 26, 2025
49b0c25
Update README.md (#481)
bozaigao Mar 4, 2025
e0d4fe8
print body for harmony
sunnylqm Mar 5, 2025
020e4f9
print error
sunnylqm Mar 5, 2025
3773994
fix clientType
sunnylqm Mar 5, 2025
26eacb9
bump 10.25.4
sunnylqm Mar 5, 2025
90d1539
update example deps
sunnylqm Mar 5, 2025
4944b05
checkUpdate now returns info
sunnylqm Mar 5, 2025
93f2d51
support 0.77+ (#482)
sunnylqm Mar 6, 2025
3876110
resolve harmony hot update fail issue (#483)
bozaigao Mar 9, 2025
26924d7
Update package.json
sunnylqm Mar 9, 2025
d5fd6c0
delay markSuccess
sunnylqm Mar 11, 2025
fc5d248
fix typo
sunnylqm Mar 14, 2025
cef2b41
fix lint
sunnylqm Mar 14, 2025
a52d18d
fix type error
sunnylqm Mar 14, 2025
06fc213
prevent duplicated apk download
sunnylqm Mar 14, 2025
135e0c5
update deps
sunnylqm Mar 15, 2025
8287408
Deprecate usePushy and PushyProvider; update exports in context and i…
sunnylqm Mar 15, 2025
90f6b7b
Add download duration and error reporting to Pushy class
sunnylqm Mar 15, 2025
0019e9d
feat: add afterDownloadUpdate
sunnylqm Mar 20, 2025
4dd89a1
fix ts error
sunnylqm Mar 20, 2025
58ef3e6
cleanup
sunnylqm Mar 31, 2025
350bfa0
delete nvmrc
sunnylqm Apr 2, 2025
7a9f579
fix ping
sunnylqm Apr 7, 2025
1767fe3
feat: add restartApp (#488)
Chenjiujiu Apr 8, 2025
0e077b1
support to Expo (#486)
bozaigao Apr 9, 2025
ac217f6
Update package.json
sunnylqm Apr 9, 2025
7d76034
cleanup
sunnylqm Apr 10, 2025
628647d
lint error
sunnylqm Apr 10, 2025
b336926
lint error
sunnylqm Apr 10, 2025
e4ef935
feat: enhance Pushy logging with version info and update EventData in…
sunnylqm Apr 10, 2025
05738ec
fix android build
sunnylqm Apr 11, 2025
a9c3606
add onpackageexpired
sunnylqm Apr 11, 2025
7888010
fix asserthash
sunnylqm Apr 11, 2025
ff50e03
bump 10.28.2
sunnylqm Apr 11, 2025
7a8640d
fix lint
sunnylqm Apr 11, 2025
4a7bb19
do not use static properties
sunnylqm Apr 11, 2025
bf3a080
fix type error
sunnylqm Apr 11, 2025
97848e7
support to harmony local debug mode (#493)
bozaigao Apr 12, 2025
a6802bd
support expo < 51
sunnylqm Apr 13, 2025
5b46071
10.28.3
sunnylqm Apr 13, 2025
ee36fd9
support jdk 1.8
sunnylqm Apr 13, 2025
905413e
fix jdk 1.8 support
sunnylqm Apr 14, 2025
2978454
disable expo autolink if sdk < 50
sunnylqm Apr 16, 2025
c771672
support static linking
sunnylqm Apr 24, 2025
37849b1
add expoUsePushy demo (#495)
bozaigao Apr 26, 2025
66332d0
cleanup
sunnylqm Apr 26, 2025
77aa345
cleanup
sunnylqm Apr 26, 2025
257f269
skip postinstall during dev/publish
sunnylqm Apr 26, 2025
83ca3a6
update deps
sunnylqm Apr 26, 2025
00a989d
do not specify ios platform version
sunnylqm Apr 29, 2025
aa56c2e
improve podspec detection
sunnylqm Apr 30, 2025
cea39f1
fix FileJSBundleProvider conflict issue (#496)
bozaigao Apr 30, 2025
8ad5261
更新 package.json
sunnylqm Apr 30, 2025
48a776d
cleanup expo android config
sunnylqm Apr 30, 2025
e8ec85c
cleanup
sunnylqm May 1, 2025
18d9b75
update pushy reference method (#499)
bozaigao May 12, 2025
7eac48a
更新 package.json
sunnylqm May 12, 2025
2cf7336
add fallback for android <= 7.0
sunnylqm May 21, 2025
e542459
fallback for all
sunnylqm May 21, 2025
598ae1a
bump example rn 0.79.2
sunnylqm May 29, 2025
40742e1
fix expo reload
sunnylqm Jun 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/e2e_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ concurrency:
jobs:
ios:
name: iOS
runs-on: macos-12
runs-on: macos-14-arm64
# TODO matrix across APIs, at least 11 and 15 (lowest to highest)
timeout-minutes: 60
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
# Set up tool versions
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18

- name: Configure JDK 1.11
uses: actions/setup-java@v3
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: lint

on:
pull_request:
branches:
- master
push:
branches:
- master

# Cancel a currently running workflow from the same PR/branch/tag
# when a new workflow is triggered
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- name: Install Dependency
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: '--max_old_space_size=4096'
run: bun install --frozen-lockfile

- name: Run lint
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: '--max_old_space_size=4096'
run: bun lint
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: bun install --frozen-lockfile
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ Example/**/.pushy
Example/testHotUpdate/artifacts

yarn-error.log
Example/testHotUpdate/.yarn
android/bin
Example/testHotUpdate/harmony
Example/testHotUpdate/android/app/.cxx
Example/harmony_use_pushy/libs
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
[submodule "android/jni/HDiffPatch"]
path = android/jni/HDiffPatch
url = https://github.com/sisong/HDiffPatch.git
[submodule "harmony/src/main/cpp/HDiffPatch"]
path = harmony/src/main/cpp/HDiffPatch
url = https://github.com/sisong/HDiffPatch.git
[submodule "harmony/src/main/cpp/lzma"]
path = harmony/src/main/cpp/lzma
url = https://github.com/sisong/lzma.git
7 changes: 6 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Example
android/build
.vscode
.github/

# OSX
#
Expand Down Expand Up @@ -45,8 +46,12 @@ node_modules/
npm-debug.log
Example
yarn.lock
bun.lock

domains.json
endpoints.json
endpoints_cresc.json

tea.yaml
tea.yaml

e2e/
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

36 changes: 36 additions & 0 deletions Example/expoUsePushy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

# dependencies
node_modules/

# Expo
.expo/
dist/
web-build/
expo-env.d.ts

# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# Metro
.metro-health-check*

# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# macOS
.DS_Store
*.pem

# local env files
.env*.local

# typescript
*.tsbuildinfo
221 changes: 221 additions & 0 deletions Example/expoUsePushy/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
/* eslint-disable react/no-unstable-nested-components */
/* eslint-disable react-native/no-inline-styles */
import React, {useState} from 'react';
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';
const {appKey} = _updateConfig.android;

function Home() {
const {
client,
checkUpdate,
downloadUpdate,
switchVersionLater,
switchVersion,
updateInfo,
packageVersion,
currentHash,
progress: {received, total} = {},
} = usePushy();
const [useDefaultAlert, setUseDefaultAlert] = useState(false);
const [showTestConsole, setShowTestConsole] = useState(false);
const [showUpdateBanner, setShowUpdateBanner] = useState(false);
const [showUpdateSnackbar, setShowUpdateSnackbar] = useState(false);
// if (updateInfo) {
// updateInfo!.name = 'name';
// updateInfo!.update = true;
// }
const snackbarVisible =
!useDefaultAlert && showUpdateSnackbar && updateInfo?.update;

if (showTestConsole) {
return (
<TestConsole visible={true} onClose={() => setShowTestConsole(false)} />
);
}

return (
<View style={styles.container}>
<Text style={styles.welcome}>欢迎使用Pushy热更新服务</Text>
{/* <Text style={styles.welcome}>😁hdiffFromAPP更新成功!!!</Text> */}
{/* <Text style={styles.welcome}>😁hdiffFromPPk更新成功!!!</Text> */}
<View style={{flexDirection: 'row'}}>
<TouchableOpacity
onPress={() => {
client?.setOptions({
updateStrategy: !useDefaultAlert ? null : 'alwaysAlert',
});
setShowUpdateSnackbar(useDefaultAlert);
setUseDefaultAlert(!useDefaultAlert);
}}
style={{
flexDirection: 'row',
alignItems: 'center',
}}>
<View
style={{
width: 20,
height: 20,
borderWidth: 1,
borderColor: '#999',
backgroundColor: useDefaultAlert ? 'blue' : 'white',
justifyContent: 'center',
alignItems: 'center',
}}>
{useDefaultAlert && <Text style={{color: 'white'}}>✓</Text>}
</View>
<Text style={{marginLeft: 8}}>
{' '}
{useDefaultAlert ? '当前使用' : '当前不使用'}默认的alert更新提示
</Text>
</TouchableOpacity>
</View>
<Image
resizeMode={'contain'}
source={require('./assets/shezhi.png')}
style={styles.image}
/>
<Text style={styles.instructions}>
这是版本一 {'\n'}
当前原生包版本号: {packageVersion}
{'\n'}
当前热更新版本Hash: {currentHash || '(空)'}
{'\n'}
</Text>
<Text>
下载进度:{received} / {total}
</Text>
<TouchableOpacity
onPress={() => {
checkUpdate();
setShowUpdateSnackbar(true);
}}>
<Text style={styles.instructions}>点击这里检查更新</Text>
</TouchableOpacity>

<TouchableOpacity
testID="testcase"
style={{marginTop: 15}}
onPress={() => {
setShowTestConsole(true);
}}>
<Text style={styles.instructions}>
react-native-update版本:{client?.version}
</Text>
</TouchableOpacity>
{snackbarVisible && (
<View style={styles.overlay}>
<View
style={{
width: '100%',
backgroundColor: '#333',
padding: 16,
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
}}>
<Text style={{color: 'white'}}>
有新版本({updateInfo.name})可用,是否更新?
</Text>
<View style={{flexDirection: 'row'}}>
<TouchableOpacity
onPress={() => setShowUpdateSnackbar(false)}
style={{marginRight: 10}}>
<Text style={{color: 'white'}}>取消</Text>
</TouchableOpacity>
<TouchableOpacity
onPress={async () => {
setShowUpdateSnackbar(false);
await downloadUpdate();
setShowUpdateBanner(true);
}}>
<Text style={{color: '#2196F3'}}>更新</Text>
</TouchableOpacity>
</View>
</View>
</View>
)}
{showUpdateBanner && (
<View style={styles.overlay}>
<View
style={{
width: '100%',
backgroundColor: '#fff',
padding: 16,
borderBottomWidth: 1,
borderBottomColor: '#eee',
}}>
<View style={{flexDirection: 'row', alignItems: 'center'}}>
<Text>更新已完成,是否立即重启?</Text>
</View>
<View
style={{
flexDirection: 'row',
justifyContent: 'flex-end',
marginTop: 10,
}}>
<TouchableOpacity
onPress={() => {
switchVersionLater();
setShowUpdateBanner(false);
}}
style={{marginRight: 20}}>
<Text style={{color: '#2196F3'}}>下次再说</Text>
</TouchableOpacity>
<TouchableOpacity onPress={switchVersion}>
<Text style={{color: '#2196F3'}}>立即重启</Text>
</TouchableOpacity>
</View>
</View>
</View>
)}
</View>
);
}

const styles = StyleSheet.create({
overlay: {
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundColor: 'rgba(0, 0, 0, 0.5)',
justifyContent: 'center',
alignItems: 'center',
},
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
image: {},
});

const pushyClient = new Pushy({
appKey,
debug: true,
});

export default function HomeScreen() {
return (
<PushyProvider client={pushyClient}>
<Home />
</PushyProvider>
);
}
Loading