@trustchex/react-native-sdk 1.175.5 → 1.175.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.
@@ -159,17 +159,8 @@ const NavigationManager = /*#__PURE__*/forwardRef(({
159
159
  return;
160
160
  }
161
161
 
162
- // Show confirmation dialog for other navigation attempts
163
- Alert.alert(t('general.warning'), t('navigationManager.preventBackWarning'), [{
164
- text: t('general.cancel'),
165
- style: 'cancel'
166
- }, {
167
- text: t('general.yes'),
168
- onPress: () => {
169
- // Allow the navigation by calling reset
170
- reset();
171
- }
172
- }]);
162
+ // Silently prevent all other navigation attempts
163
+ // No dialog shown to user - navigation is simply blocked
173
164
  });
174
165
  useImperativeHandle(ref, () => ({
175
166
  navigateToNextStep: goToNextRoute,
@@ -105,6 +105,5 @@ export default {
105
105
  'identityDocumentCamera.scanCompleted': 'Scan completed successfully.',
106
106
  'navigationManager.skipStepWarning': 'It is recommended to complete this step. Are you sure you want to skip it?',
107
107
  'navigationManager.skipStepLabel': 'Skip this step',
108
- 'navigationManager.preventBackWarning': 'Are you sure you want to leave? Your progress may be lost.',
109
108
  'qrCodeScanningScreen.title': 'Scan QR Code'
110
109
  };
@@ -108,6 +108,5 @@ export default {
108
108
  'identityDocumentCamera.scanCompleted': 'Tarama başarıyla tamamlandı.',
109
109
  'navigationManager.skipStepWarning': 'Bu adımı tamamlamanız tavsiye edilir. Adımı atlamak istediğinize emin misiniz?',
110
110
  'navigationManager.skipStepLabel': 'Bu adımı atla',
111
- 'navigationManager.preventBackWarning': 'Ayrılmak istediğinize emin misiniz? İlerlemeniz kaybolabilir.',
112
111
  'qrCodeScanningScreen.title': 'QR Kodu Tara'
113
112
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationManager.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/NavigationManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAiBf,MAAM,MAAM,oBAAoB,GAAG;IACjC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,iBAAiB,wFAmPtB,CAAC;AAWF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"NavigationManager.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/NavigationManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAiBf,MAAM,MAAM,oBAAoB,GAAG;IACjC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,iBAAiB,wFAmOtB,CAAC;AAWF,eAAe,iBAAiB,CAAC"}
@@ -103,7 +103,6 @@ declare const _default: {
103
103
  'identityDocumentCamera.scanCompleted': string;
104
104
  'navigationManager.skipStepWarning': string;
105
105
  'navigationManager.skipStepLabel': string;
106
- 'navigationManager.preventBackWarning': string;
107
106
  'qrCodeScanningScreen.title': string;
108
107
  };
109
108
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../../src/Translation/Resources/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwJE"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../../src/Translation/Resources/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsJE"}
@@ -106,7 +106,6 @@ declare const _default: {
106
106
  'identityDocumentCamera.scanCompleted': string;
107
107
  'navigationManager.skipStepWarning': string;
108
108
  'navigationManager.skipStepLabel': string;
109
- 'navigationManager.preventBackWarning': string;
110
109
  'qrCodeScanningScreen.title': string;
111
110
  };
112
111
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../src/Translation/Resources/tr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyJE"}
1
+ {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../src/Translation/Resources/tr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuJE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustchex/react-native-sdk",
3
- "version": "1.175.5",
3
+ "version": "1.175.6",
4
4
  "description": "Trustchex mobile app react native SDK for android or ios devices",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -235,24 +235,8 @@ const NavigationManager = forwardRef(
235
235
  return;
236
236
  }
237
237
 
238
- // Show confirmation dialog for other navigation attempts
239
- Alert.alert(
240
- t('general.warning'),
241
- t('navigationManager.preventBackWarning'),
242
- [
243
- {
244
- text: t('general.cancel'),
245
- style: 'cancel',
246
- },
247
- {
248
- text: t('general.yes'),
249
- onPress: () => {
250
- // Allow the navigation by calling reset
251
- reset();
252
- },
253
- },
254
- ]
255
- );
238
+ // Silently prevent all other navigation attempts
239
+ // No dialog shown to user - navigation is simply blocked
256
240
  });
257
241
 
258
242
  useImperativeHandle(ref, () => ({
@@ -147,7 +147,5 @@ export default {
147
147
  'navigationManager.skipStepWarning':
148
148
  'It is recommended to complete this step. Are you sure you want to skip it?',
149
149
  'navigationManager.skipStepLabel': 'Skip this step',
150
- 'navigationManager.preventBackWarning':
151
- 'Are you sure you want to leave? Your progress may be lost.',
152
150
  'qrCodeScanningScreen.title': 'Scan QR Code',
153
151
  };
@@ -148,7 +148,5 @@ export default {
148
148
  'navigationManager.skipStepWarning':
149
149
  'Bu adımı tamamlamanız tavsiye edilir. Adımı atlamak istediğinize emin misiniz?',
150
150
  'navigationManager.skipStepLabel': 'Bu adımı atla',
151
- 'navigationManager.preventBackWarning':
152
- 'Ayrılmak istediğinize emin misiniz? İlerlemeniz kaybolabilir.',
153
151
  'qrCodeScanningScreen.title': 'QR Kodu Tara',
154
152
  };