锁定移动壳通知投递失败响应
移动壳通知通道创建失败返回稳定错误 移动壳通知调度失败返回稳定错误 移动壳配置检查补充通知投递失败边界反查
This commit is contained in:
@@ -1952,6 +1952,7 @@ for (const notificationSnippet of [
|
||||
'normalizeHostBridgeLocalNotification(request.payload)',
|
||||
"invalidRequest('title is required')",
|
||||
"message: 'notification permission unavailable'",
|
||||
"message: 'notification delivery unavailable'",
|
||||
'showMobileLocalNotification(notification)',
|
||||
'ok(request, await showMobileLocalNotification(notification))',
|
||||
'HOST_BRIDGE_LOCAL_NOTIFICATION_DELIVERED_TO_SYSTEM_RESULT',
|
||||
@@ -1964,7 +1965,10 @@ for (const notificationSnippet of [
|
||||
for (const snippet of [
|
||||
'rejects delivery when current permission lookup is unavailable',
|
||||
'rejects delivery when permission request is unavailable',
|
||||
'maps Android channel setup failures to stable delivery errors',
|
||||
'maps native notification schedule failures to stable delivery errors',
|
||||
"message: 'notification permission unavailable'",
|
||||
"message: 'notification delivery unavailable'",
|
||||
'expect(Notifications.setNotificationChannelAsync).not.toHaveBeenCalled()',
|
||||
'expect(Notifications.scheduleNotificationAsync).not.toHaveBeenCalled()',
|
||||
]) {
|
||||
|
||||
Reference in New Issue
Block a user