Add iOS privacy keys for staging/dev flavors, bump build to 4, hide SF Pay button

This commit is contained in:
2026-03-16 15:09:26 +01:00
parent b636550619
commit 88269c40f8
5 changed files with 33 additions and 19 deletions

View File

@@ -1,5 +1,7 @@
PODS: PODS:
- Flutter (1.0.0) - Flutter (1.0.0)
- flutter_contacts (0.0.1):
- Flutter
- flutter_native_splash (2.4.3): - flutter_native_splash (2.4.3):
- Flutter - Flutter
- flutter_treezor_entrust_sdk_bridge (0.0.1): - flutter_treezor_entrust_sdk_bridge (0.0.1):
@@ -23,6 +25,7 @@ PODS:
DEPENDENCIES: DEPENDENCIES:
- Flutter (from `Flutter`) - Flutter (from `Flutter`)
- flutter_contacts (from `.symlinks/plugins/flutter_contacts/ios`)
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`) - flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- flutter_treezor_entrust_sdk_bridge (from `.symlinks/plugins/flutter_treezor_entrust_sdk_bridge/ios`) - flutter_treezor_entrust_sdk_bridge (from `.symlinks/plugins/flutter_treezor_entrust_sdk_bridge/ios`)
- mobile_scanner (from `.symlinks/plugins/mobile_scanner/darwin`) - mobile_scanner (from `.symlinks/plugins/mobile_scanner/darwin`)
@@ -35,6 +38,8 @@ DEPENDENCIES:
EXTERNAL SOURCES: EXTERNAL SOURCES:
Flutter: Flutter:
:path: Flutter :path: Flutter
flutter_contacts:
:path: ".symlinks/plugins/flutter_contacts/ios"
flutter_native_splash: flutter_native_splash:
:path: ".symlinks/plugins/flutter_native_splash/ios" :path: ".symlinks/plugins/flutter_native_splash/ios"
flutter_treezor_entrust_sdk_bridge: flutter_treezor_entrust_sdk_bridge:
@@ -54,6 +59,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
flutter_contacts: edb1c5ce76aa433e20e6cb14c615f4c0b66e0983
flutter_native_splash: df59bb2e1421aa0282cb2e95618af4dcb0c56c29 flutter_native_splash: df59bb2e1421aa0282cb2e95618af4dcb0c56c29
flutter_treezor_entrust_sdk_bridge: 4c2c94fb74ab57576e8d49f5f2a4b214e41141fe flutter_treezor_entrust_sdk_bridge: 4c2c94fb74ab57576e8d49f5f2a4b214e41141fe
mobile_scanner: 77265f3dc8d580810e91849d4a0811a90467ed5e mobile_scanner: 77265f3dc8d580810e91849d4a0811a90467ed5e

View File

@@ -47,8 +47,14 @@
<true/> <true/>
<key>UIStatusBarHidden</key> <key>UIStatusBarHidden</key>
<true/> <true/>
<key>NSContactsUsageDescription</key>
<string>Necesitamos acceso a tus contactos para seleccionar números de teléfono.</string>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>Necesitamos la cámara para escanear códigos QR</string> <string>Necesitamos la cámara para escanear códigos QR</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Usamos tu ubicación para verificar la seguridad de las transacciones.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Usamos tu ubicación para verificar la seguridad de las transacciones.</string>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<false/> <false/>
<key>NSFaceIDUsageDescription</key> <key>NSFaceIDUsageDescription</key>

View File

@@ -47,8 +47,14 @@
<true/> <true/>
<key>UIStatusBarHidden</key> <key>UIStatusBarHidden</key>
<true/> <true/>
<key>NSContactsUsageDescription</key>
<string>Necesitamos acceso a tus contactos para seleccionar números de teléfono.</string>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>Necesitamos la cámara para escanear códigos QR</string> <string>Necesitamos la cámara para escanear códigos QR</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Usamos tu ubicación para verificar la seguridad de las transacciones.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Usamos tu ubicación para verificar la seguridad de las transacciones.</string>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<false/> <false/>
<key>NSFaceIDUsageDescription</key> <key>NSFaceIDUsageDescription</key>

View File

@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts # In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix. # of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1 version: 1.0.0+4
environment: environment:
sdk: ^3.9.2 sdk: ^3.9.2

View File

@@ -97,17 +97,13 @@ class _Header extends ConsumerWidget {
width: SizeUtils.getByScreen(small: 130, big: 140), width: SizeUtils.getByScreen(small: 130, big: 140),
height: 32, height: 32,
child: CustomDropdown( child: CustomDropdown(
items: state.devices items: state.devices.map((DeviceEntity device) {
.map( final name = device.carrierName ?? '';
(DeviceEntity device) { return Text(
final name = device.carrierName ?? ''; name.length > 10 ? '${name.substring(0, 10)}...' : name,
return Text( overflow: TextOverflow.ellipsis,
name.length > 10 ? '${name.substring(0, 10)}...' : name, );
overflow: TextOverflow.ellipsis, }).toList(),
);
},
)
.toList(),
values: state.devices, values: state.devices,
value: state.selectedDevice, value: state.selectedDevice,
onChanged: (device) { onChanged: (device) {
@@ -148,13 +144,13 @@ class _MenuSection extends ConsumerWidget {
text: I18n.customerService, text: I18n.customerService,
), ),
SizedBox(height: SizeUtils.getByScreen(small: 8, big: 7)), SizedBox(height: SizeUtils.getByScreen(small: 8, big: 7)),
_SectionButton( // _SectionButton(
onPressed: () { // onPressed: () {
navigationContract.pushTo(AppRoutes.dashboardHome); // navigationContract.pushTo(AppRoutes.dashboardHome);
}, // },
icon: SFIcons.payments, // icon: SFIcons.payments,
text: I18n.sfPay, // text: I18n.sfPay,
), // ),
SizedBox(height: SizeUtils.getByScreen(small: 8, big: 7)), SizedBox(height: SizeUtils.getByScreen(small: 8, big: 7)),
_SectionButton( _SectionButton(
onPressed: () { onPressed: () {