chore: update

This commit is contained in:
2026-03-17 09:18:23 +01:00
parent 008aeab231
commit af74b39b22
10 changed files with 149 additions and 103 deletions
+7 -2
View File
@@ -28,6 +28,11 @@ export async function getExpoPushToken(): Promise<string | null> {
});
}
const tokenData = await Notifications.getExpoPushTokenAsync();
return tokenData.data;
try {
const tokenData = await Notifications.getExpoPushTokenAsync();
return tokenData.data;
} catch {
// Google Play Services absent (ex: GrapheneOS) — push non disponible
return null;
}
}