eletrotupi / tcc/ commit / 6360c22

api: testing endpoint for notifications

Pedro Lucas Porcellis porcellis@eletrotupi.com 1 month ago 6360c22accc4412adcd963a4dbf983d2fc887eb1
Parents: 2963d71
1 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
}