Skip to content

Commit

Permalink
internal(samples): Add reload JS bundle for Expo sample (#4303)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich authored Nov 25, 2024
1 parent 38a8e61 commit 690220d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/expo/app/(tabs)/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Button, StyleSheet } from 'react-native';
import Constants from 'expo-constants';
import * as Sentry from '@sentry/react-native';
import { reloadAppAsync } from 'expo';

import { Text, View } from '@/components/Themed';
import { setScopeProperties } from '@/utils/setScopeProperties';
Expand Down Expand Up @@ -82,6 +83,7 @@ export default function TabOneScreen() {
console.log('Sentry.close() completed.');
}}
/>
<Button title="Reload" onPress={() => reloadAppAsync()} />
</View>
);
}
Expand Down

0 comments on commit 690220d

Please # to comment.