chore: test deploy snapshot
This commit is contained in:
@@ -158,7 +158,7 @@ function parseConfig(value: unknown): GpsConfig {
|
||||
|
||||
function sendGpsPushNotification(event: GpsGeofenceEvent) {
|
||||
const notificationDeviceId = getSavedNotificationDeviceId().trim();
|
||||
const targetClientIds = notificationDeviceId ? [notificationDeviceId] : [];
|
||||
const targetDeviceIds = notificationDeviceId ? [notificationDeviceId] : [];
|
||||
const targetAppOrigin = typeof window !== 'undefined' ? window.location.origin.trim() : '';
|
||||
const targetAppDomain = typeof window !== 'undefined' ? window.location.hostname.trim() : '';
|
||||
|
||||
@@ -166,7 +166,7 @@ function sendGpsPushNotification(event: GpsGeofenceEvent) {
|
||||
title: `GPS 거점 ${event.type === 'enter' ? 'In' : 'Out'} 알림`,
|
||||
body: `${event.anchorName} ${event.type === 'enter' ? '진입' : '이탈'} 감지 (${event.distanceMeters}m)`,
|
||||
threadId: 'gps-geofence',
|
||||
targetClientIds,
|
||||
targetDeviceIds,
|
||||
targetAppOrigins: targetAppOrigin ? [targetAppOrigin] : undefined,
|
||||
targetAppDomains: targetAppDomain ? [targetAppDomain] : undefined,
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user