diff --git a/src/components/LocalNotificationTest.tsx b/src/components/LocalNotificationTest.tsx
index 784d917..de77fab 100644
--- a/src/components/LocalNotificationTest.tsx
+++ b/src/components/LocalNotificationTest.tsx
@@ -309,6 +309,15 @@ export default function LocalNotificationTest({ permissions }: Props) {
}
};
+ const checkExact = async () => {
+ const res = await LocalNotifications.checkExactNotificationSetting();
+ console.log('res', res);
+ };
+ const openExact = async () => {
+ const res = await LocalNotifications.changeExactNotificationSetting();
+ console.log('res', res);
+ };
+
useEffect(() => {
if (permissions === 'granted') {
getPendingNotifications();
@@ -402,6 +411,12 @@ export default function LocalNotificationTest({ permissions }: Props) {
Remove All Delivered Notifications
+
+ Check exact setting
+
+
+ Open exact setting
+
Notifications (swipe to remove)