Skip to content

Commit

Permalink
Fix issue: When tapping the missedcall notification, Brekeke phone do…
Browse files Browse the repository at this point in the history
…es not move to Call history screen of PhoneAppli app

Update lib to fix issue: wix/react-native-notifications#983
  • Loading branch information
tatthangcntt committed Mar 29, 2024
1 parent 49f29bd commit e6a2991
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ PODS:
- React-Core
- react-native-netinfo (9.4.1):
- React-Core
- react-native-notifications (4.3.5):
- react-native-notifications (5.1.0):
- React-Core
- react-native-splash-screen (3.3.0):
- React-Core
Expand Down Expand Up @@ -685,7 +685,7 @@ SPEC CHECKSUMS:
react-native-get-random-values: dee677497c6a740b71e5612e8dbd83e7539ed5bb
react-native-image-picker: db60857e03d63721f19b6f4027de20429ddd9cba
react-native-netinfo: fefd4e98d75cbdd6e85fc530f7111a8afdf2b0c5
react-native-notifications: 504143d59f9628c3b0c22fd0ccf34b65b9182d01
react-native-notifications: 4601a5a8db4ced6ae7cfc43b44d35fe437ac50c4
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-webrtc: 4d1669c2ed29767fe70b0169428b4466589ecf8b
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"react-native-iphone-x-helper": "1.3.1",
"react-native-keyboard-spacer": "0.4.1",
"react-native-linear-gradient": "2.7.3",
"react-native-notifications": "4.3.5",
"react-native-notifications": "5.1.0",
"react-native-permissions": "3.8.4",
"react-native-share": "9.2.3",
"react-native-splash-screen": "3.3.0",
Expand Down
8 changes: 7 additions & 1 deletion src/utils/PushNotification-parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { getAuthStore } from '../stores/authStore'
import { getCallStore } from '../stores/callStore'
import { chatStore } from '../stores/chatStore'
import { Nav } from '../stores/Nav'
import { openLinkSafely, URLSchemes } from './deeplink'
import { BrekekeUtils } from './RnNativeModules'
import { toBoolean } from './string'
import { waitTimeout } from './waitTimeout'
Expand Down Expand Up @@ -236,7 +237,12 @@ export const parse = async (
console.log(
'SIP PN debug: PushNotification-parse: local notification missed call',
)
navIndex('goToPageCallRecents')
if (as.phoneappliEnabled()) {
navIndex('goToPageCallKeypad')
openLinkSafely(URLSchemes.phoneappli.HISTORY_CALLED)
} else {
navIndex('goToPageCallRecents')
}
return
}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10516,10 +10516,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/react-native-linear-gradient/-/react-native-linear-gradient-2.7.3.tgz#f77b71ed7c955e033f9cba5fc8478df57953eb27"
integrity sha512-iyJszlZ1Ech2c+2qV+isMvvJKyoctR9ashDkhJg1/cuSF0vQaeLV1FAYTT3qW9doxChJGxVAFfYoxotH0yi3Iw==

react-native-notifications@4.3.5:
version "4.3.5"
resolved "https://registry.yarnpkg.com/react-native-notifications/-/react-native-notifications-4.3.5.tgz#90c7f3b1b248f6628c8efc8cafab4fd464ce3e5a"
integrity sha512-tCKkPaauN8/RIwPTeWdyezHXt5i4iDJViZGZ7/EBBuHB9kl9Oq3UjKFZeDfnM4DmJt+m7K2FQ7NaAuh3Kg1FCA==
react-native-notifications@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/react-native-notifications/-/react-native-notifications-5.1.0.tgz#8cba105fd57ab9d5df9d27284acf1e2b4f3d7ea3"
integrity sha512-laqDSDlCvEASmJR6cXpqaryK855ejQd07vrfYERzhv68YDOoSkKy/URExRP4vAfAOVqHhix80tLbNUcfvZk2VQ==

[email protected]:
version "3.8.4"
Expand Down

0 comments on commit e6a2991

Please sign in to comment.