- /account-deletion 공개 페이지(웹 접근) — Play 데이터 삭제 정책 URL, 웹 안내 하단 링크 - CARD_NOTIF_ENABLED=false: 카드알림 자동인식 UI 숨김 - AndroidManifest: CardNotifListenerService 선언 주석 처리(알림접근 정책 회피) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import { useDialog } from '@/composables/dialog'
|
||||
import IconBtn from '@/components/ui/IconBtn.vue'
|
||||
import { imageToBlob, parseReceiptText } from '@/utils/receiptOcr'
|
||||
import { cardNotif } from '@/native/cardNotif'
|
||||
import { CARD_NOTIF_ENABLED } from '@/config/features'
|
||||
import { Capacitor } from '@capacitor/core'
|
||||
// @capacitor/camera 는 네이티브에서만 동적 로드 (웹은 file input 사용 — 정적 import 시 모바일 웹 청크 로드 실패 유발)
|
||||
|
||||
@@ -25,7 +26,7 @@ const pendingCount = ref(0) // 확인 필요(카드 알림 자동인식) 건수
|
||||
const editingPending = ref(false) // 수정 중인 항목이 미확인 건인지
|
||||
|
||||
// 카드 결제 알림 자동인식 권한 (네이티브 전용)
|
||||
const notifNative = cardNotif.isNative()
|
||||
const notifNative = CARD_NOTIF_ENABLED && cardNotif.isNative()
|
||||
const notifEnabled = ref(true) // 미허용일 때만 배너 노출
|
||||
async function checkNotifPermission() {
|
||||
if (notifNative) notifEnabled.value = await cardNotif.isEnabled()
|
||||
|
||||
Reference in New Issue
Block a user