浏览代码

Debugging home

ErnestoOrtiz2 3 年前
父节点
当前提交
16e148faac
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      screens/main/Home_page.js

+ 0
- 1
screens/main/Home_page.js 查看文件

49
     responseListener.current = Notifications.addNotificationResponseReceivedListener(response => {
49
     responseListener.current = Notifications.addNotificationResponseReceivedListener(response => {
50
       console.log("response", response);
50
       console.log("response", response);
51
       console.log("response date", response.notification.date);
51
       console.log("response date", response.notification.date);
52
-      console.log("response date", appointments[0]._id);
53
       const idDate = response.notification.date;
52
       const idDate = response.notification.date;
54
       if (response.notification.request.content.body == 'Le solicitan una cita'){
53
       if (response.notification.request.content.body == 'Le solicitan una cita'){
55
         navigation.navigate('Confirm');
54
         navigation.navigate('Confirm');