api: testing endpoint for notifications
Parents:
2963d711 file(s) changed
- frontend/hooks/useRegisterPushToken.ts +0 -1
frontend/hooks/useRegisterPushToken.ts
1 -
// hooks/useRegisterPushToken.ts
2 1
import * as Notifications from "expo-notifications";
3 2
import * as Device from "expo-device";
4 3
import Constants from "expo-constants";
5 4
6 5
export async function registerForPushNotifications(): Promise<string | null> {
▸ 28 unchanged lines
35 34
})
36 35
).data;
37 36
38 37
return token;
39 38
}