Skip to content

Commit

Permalink
Merge pull request #27 from chatwoot/fix/close-modal
Browse files Browse the repository at this point in the history
fix: Back button close issue RN `v070.x`
  • Loading branch information
muhsin-k authored Jan 27, 2023
2 parents 2173b42 + d4646a5 commit aef8999
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 27 deletions.
10 changes: 5 additions & 5 deletions examples/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ PODS:
- React-jsi (= 0.64.0)
- React-perflogger (= 0.64.0)
- React-jsinspector (0.64.0)
- react-native-webview (11.2.5):
- react-native-webview (11.23.1):
- React-Core
- React-perflogger (0.64.0)
- React-RCTActionSheet (0.64.0):
Expand Down Expand Up @@ -269,7 +269,7 @@ PODS:
- React-cxxreact (= 0.64.0)
- React-jsi (= 0.64.0)
- React-perflogger (= 0.64.0)
- RNCAsyncStorage (1.14.1):
- RNCAsyncStorage (1.17.10):
- React-Core
- Yoga (1.14.0)

Expand Down Expand Up @@ -377,7 +377,7 @@ SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5
FBReactNativeSpec: e1faac61254e41dcc6f397af15921c15cfc9911a
FBReactNativeSpec: f6af9bcec43fcc256bbcc3458fffc8e61c2d40e6
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
RCTRequired: 2f8cb5b7533219bf4218a045f92768129cf7050a
Expand All @@ -390,7 +390,7 @@ SPEC CHECKSUMS:
React-jsi: 74341196d9547cbcbcfa4b3bbbf03af56431d5a1
React-jsiexecutor: 06a9c77b56902ae7ffcdd7a4905f664adc5d237b
React-jsinspector: 0ae35a37b20d5e031eb020a69cc5afdbd6406301
react-native-webview: e994346d13f4d8b240347bc5be043a860452e4b6
react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581
React-perflogger: 9c547d8f06b9bf00cb447f2b75e8d7f19b7e02af
React-RCTActionSheet: 3080b6e12e0e1a5b313c8c0050699b5c794a1b11
React-RCTAnimation: 3f96f21a497ae7dabf4d2f150ee43f906aaf516f
Expand All @@ -403,7 +403,7 @@ SPEC CHECKSUMS:
React-RCTVibration: 0fd6b21751a33cb72fce1a4a33ab9678416d307a
React-runtimeexecutor: cad74a1eaa53ee6e7a3620231939d8fe2c6afcf0
ReactCommon: cfe2b7fd20e0dbd2d1185cd7d8f99633fbc5ff05
RNCAsyncStorage: fe58eec522885718d6b297b7b658bf87d7ca557b
RNCAsyncStorage: 0c357f3156fcb16c8589ede67cc036330b6698ca
Yoga: 8c8436d4171c87504c648ae23b1d81242bdf3bbf

PODFILE CHECKSUM: 3f57f8f9a44ff9ba5fc829e5392025271d888429
Expand Down
5 changes: 2 additions & 3 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
"lint": "eslint ."
},
"dependencies": {
"@chatwoot/react-native-widget": "../chatwoot-react-native-widget-0.0.9.tgz",
"@chatwoot/react-native-widget": "../chatwoot-react-native-widget-0.0.10.tgz",
"@react-native-async-storage/async-storage": "^1.14.1",
"react": "17.0.1",
"react-native": "0.64.0",
"react-native-webview": "^11.2.5",
"yarn": "^1.22.10"
"react-native-webview": "^11.2.5"
},
"devDependencies": {
"@babel/core": "^7.12.9",
Expand Down
21 changes: 8 additions & 13 deletions examples/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -725,11 +725,11 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@chatwoot/react-native-widget@../chatwoot-react-native-widget-0.0.9.tgz":
version "0.0.9"
resolved "../chatwoot-react-native-widget-0.0.9.tgz#daee270f0b2f5ee8d1eeb9f0fa223354180e7c56"
"@chatwoot/react-native-widget@../chatwoot-react-native-widget-0.0.10.tgz":
version "0.0.10"
resolved "../chatwoot-react-native-widget-0.0.10.tgz#d3b25c4ab66e809ebaed5b16d7be9c0e666c5720"
dependencies:
react-native-modal "^11.7.0"
react-native-modal "^13.0.1"

"@cnakazawa/watch@^1.0.3":
version "1.0.4"
Expand Down Expand Up @@ -5278,10 +5278,10 @@ react-native-codegen@^0.0.6:
jscodeshift "^0.11.0"
nullthrows "^1.1.1"

react-native-modal@^11.7.0:
version "11.10.0"
resolved "https://registry.yarnpkg.com/react-native-modal/-/react-native-modal-11.10.0.tgz#94a6d3a2428ba5228cfb4dc174cacea79c871591"
integrity sha512-syRYDJYSh16bR37R5EKU9T/wC+5bEOfF17IUqf5URdhbEDd+hxyMInC++l45E8oI+MtdOaEp9yAws5xDqk8dnA==
react-native-modal@^13.0.1:
version "13.0.1"
resolved "https://registry.yarnpkg.com/react-native-modal/-/react-native-modal-13.0.1.tgz#691f1e646abb96fa82c1788bf18a16d585da37cd"
integrity sha512-UB+mjmUtf+miaG/sDhOikRfBOv0gJdBU2ZE1HtFWp6UixW9jCk/bhGdHUgmZljbPpp0RaO/6YiMmQSSK3kkMaw==
dependencies:
prop-types "^15.6.2"
react-native-animatable "1.3.3"
Expand Down Expand Up @@ -6729,8 +6729,3 @@ yargs@^15.1.0, yargs@^15.3.1, yargs@^15.4.1:
which-module "^2.0.0"
y18n "^4.0.0"
yargs-parser "^18.1.2"

yarn@^1.22.10:
version "1.22.19"
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.19.tgz#4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
integrity sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@chatwoot/react-native-widget",
"version": "0.0.9",
"version": "0.0.10",
"description": "React Native widget for Chatwoot",
"main": "index.js",
"scripts": {
"lint": "eslint .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"react-native-modal": "^11.7.0"
"react-native-modal": "^13.0.1"
},
"peerDependencies": {
"@react-native-async-storage/async-storage": "^1.14.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2133,10 +2133,10 @@ [email protected]:
dependencies:
prop-types "^15.7.2"

react-native-modal@^11.7.0:
version "11.7.0"
resolved "https://registry.yarnpkg.com/react-native-modal/-/react-native-modal-11.7.0.tgz#6637d757eeac6eda85f7017a9dfdee0c0fe3a34c"
integrity sha512-0AeAugUrn12DaJK+k2XGmt8ZIUyWgl1nRdipfwHZDnzFSM8g1oqpf7rHxjOqhimHtmzSj4xJ//ZOn1DWe9aC5Q==
react-native-modal@^13.0.1:
version "13.0.1"
resolved "https://registry.yarnpkg.com/react-native-modal/-/react-native-modal-13.0.1.tgz#691f1e646abb96fa82c1788bf18a16d585da37cd"
integrity sha512-UB+mjmUtf+miaG/sDhOikRfBOv0gJdBU2ZE1HtFWp6UixW9jCk/bhGdHUgmZljbPpp0RaO/6YiMmQSSK3kkMaw==
dependencies:
prop-types "^15.6.2"
react-native-animatable "1.3.3"
Expand Down

0 comments on commit aef8999

Please sign in to comment.