register update
This commit is contained in:
@@ -34,7 +34,6 @@ export async function registerForPushNotificationsAsync() {
|
||||
}
|
||||
|
||||
if (finalStatus !== 'granted') {
|
||||
console.log('Notification uchun ruxsat berilmadi!');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -43,10 +42,6 @@ export async function registerForPushNotificationsAsync() {
|
||||
projectId: '67d5a024-4eb7-44ec-8b18-6c9187bd1862',
|
||||
})
|
||||
).data;
|
||||
|
||||
console.log('Push Token:', token);
|
||||
} else {
|
||||
console.log('Push notification faqat real qurilmalarda ishlaydi!');
|
||||
}
|
||||
|
||||
return token;
|
||||
|
||||
Reference in New Issue
Block a user