Skip to content

Commit 614019b

Browse files
Added test notification button.
1 parent f228c3c commit 614019b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/(tabs)/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import MapView, { Marker } from "react-native-maps";
1111
import { useLocation } from "../../hooks/useLocation";
1212
import LogViewer from "../../components/LogViewer";
1313
import BatteryInfo from "../../components/BatteryInfo";
14+
import { triggerLocalSampleNotification } from "../../utils/notifications.utils";
1415

1516
export default function LocationComponent() {
1617
const { location, address, error, loading, fetchLocation } = useLocation();
@@ -85,6 +86,7 @@ export default function LocationComponent() {
8586
)}
8687

8788
<Button title="Get Location" onPress={fetchLocation} />
89+
<Button title="Get Location" onPress={triggerLocalSampleNotification} />
8890
</View>
8991
</ScrollView>
9092
);

0 commit comments

Comments
 (0)