Skip to content

Commit

Permalink
push some extra changes
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Mar 13, 2024
1 parent d238977 commit 3643d5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/view/screens/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ function HomeScreenReady({
Alert.alert('If you see this, the update worked.')
;(async () => {
try {
Alert.alert(Updates.channel?.toString() ?? 'no channel')
Alert.alert(Updates.updateId ?? 'none')
const update = await Updates.checkForUpdateAsync()

Alert.alert('Update!', JSON.stringify(update))

if (update.isAvailable) {
Alert.alert(
'Update is available!',
Expand Down

0 comments on commit 3643d5d

Please sign in to comment.