@abihealth/goapp-react-native 1.13.4 → 1.13.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.13.6](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.13.5...goapp-react-native-v1.13.6) (2025-02-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * keyboard open with ios ([#122](https://github.com/abiglobalhealth/react-native-sdk/issues/122)) ([66d4dce](https://github.com/abiglobalhealth/react-native-sdk/commit/66d4dce4b7f8a622ce0121beedb3156a3f6e3712))
9
+
10
+ ## [1.13.5](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.13.2...goapp-react-native-v1.13.3) (2025-02-27)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update package names and registry configurations ([#123](https://github.com/abiglobalhealth/react-native-sdk/issues/123)) ([519bee1](https://github.com/abiglobalhealth/react-native-sdk/commit/519bee1d7df4213e59d3ce6fbd3a89e0157540f1))
16
+
3
17
  ## [1.13.2](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.13.1...goapp-react-native-v1.13.2) (2025-02-26)
4
18
 
5
19
 
@@ -165,16 +165,20 @@ var Reminder = function (_a) {
165
165
  <Text_1.Text bold>{t('sms_reminder.error')}</Text_1.Text>
166
166
  </react_native_1.View>)
167
167
  };
168
+ var onKeyboardChange = function (e) {
169
+ var _a;
170
+ var tabBarHeight = 85; // TODO remove hardcoded value when not in dev
171
+ if (platform_1.isIOS)
172
+ setKeyboardHeight(((_a = e === null || e === void 0 ? void 0 : e.endCoordinates) === null || _a === void 0 ? void 0 : _a.height) - tabBarHeight);
173
+ };
168
174
  (0, react_1.useEffect)(function () {
169
- react_native_1.Keyboard.addListener('keyboardDidShow', function (e) {
170
- var tabBarHeight = 85; // TODO remove hardcoded value when not in dev
171
- if (platform_1.isIOS)
172
- setKeyboardHeight(e.endCoordinates.height - tabBarHeight);
173
- });
175
+ react_native_1.Keyboard.addListener('keyboardDidShow', onKeyboardChange);
174
176
  react_native_1.Keyboard.addListener('keyboardDidHide', function () { return setKeyboardHeight(0); });
177
+ react_native_1.Keyboard.addListener('keyboardWillChangeFrame', onKeyboardChange);
175
178
  return function () {
176
179
  react_native_1.Keyboard.removeAllListeners('keyboardDidShow');
177
180
  react_native_1.Keyboard.removeAllListeners('keyboardDidHide');
181
+ react_native_1.Keyboard.removeAllListeners('keyboardWillChangeFrame');
178
182
  };
179
183
  }, []);
180
184
  return (<>
@@ -18,7 +18,7 @@ var MatchingScreen = function () {
18
18
  var t = (0, react_i18next_1.useTranslation)().t;
19
19
  var theme = (0, useTheme_1.useTheme)();
20
20
  var styles = getStyles(theme);
21
- return (<ScreenWrapper_1.ScreenWrapper header={<Header_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<VideoConsultationIcon_1.VideoConsultationIcon />} rightIcon={<CancelConsultationButton_1.CancelConsultationButton />}/>} containerStyle={styles.container} reminder>
21
+ return (<ScreenWrapper_1.ScreenWrapper header={<Header_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<VideoConsultationIcon_1.VideoConsultationIcon />} rightIcon={<CancelConsultationButton_1.CancelConsultationButton />}/>} containerStyle={styles.container}>
22
22
  <Text_1.Text variant="h2" color={theme.colors.primary} center>
23
23
  {t('matching')}
24
24
  </Text_1.Text>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abihealth/goapp-react-native",
3
- "version": "1.13.4",
3
+ "version": "1.13.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"