Posted November 24, 2024Nov 24 Administrators Download: setup_1.18.7.0_release.eng.zip Release date: 25 November 2024 Warning 🚨 If you are using TfgBarcodeScanner component on iOS, you have to add the new framework Vision to iOS SDK profile in IDE. Go to: Tools -> Options -> Deployment -> SDK Manager -> iOS Device SDK. Add new record: "Path on remote machine": $(SDKROOT)/System/Library/Frameworks "Framework name": Vision "Path type": `Framework Click "Update Local File Cache" button and rebuild project. The same steps should be repeated for iOS Simulator ARM profile too. Improvements 🙌 TfgBarcodeScanner The detection of barcodes from TfgBitmap was implemented in iOS. The new demo sample was added: "Components" -> "TfgBarcodeScanner" -> "Barcode Scanner with bounds from bitmap" The detection of barcodes from TfgBitmap on Android could be finished with exception (Android). TfgPickerPhoto The new property TfgPickerPhoto.MaxSize was added. It allows to change max size of bitmap, which allows you to change the maximum allowed size of the returned image. This property is available only on Android. By default, it matches the current resolution of 2048x2048 (as it was before). If you want to remove this restriction and return the image to its original size, then specify (0, 0) in this property. To use this setting, you need to manually create an instance of the picker FGX.Picker.Photo.TfgPickerPhotoFactory.CreatePicker and setup based your requirements. Themes The new designer was added for TfgForm.ThemeName property. Now you can select theme name from drop down list. he supporting theme was added for TfgBarcode component. The applying theme for TfgLabel was improved. In some combination of component, frames and form, theme couldn't be applied. TfgToast The requirements for calling the method TfgToast.Show have been relaxed. Now you can pass empty string. However, TfgToast will not be displayed in this case. Android Biometrics / Fingerprints The new Android header Android.Api.Biometrics was added . It allows to use new API for usage device biometrics (Android 9+). As well as two additional types TJBiometricAuthenticationCallback and JBiometricAuthenticationListener. These types allow the use of listeners together with generations of the BiometricPrompt.AuthenticationCallback class. To do this, it is necessary: (1) Implement the JBiometricAuthenticationListener interface on the Delphi side (2) Create an instance of the TJBiometricAuthenticationCallback class and pass your implemented interface to it in the constructor. (3) Use (2) when transferring to the Biometrics API. In addition, two auxiliary types TJFingerprintAuthenticationCallback and JFingerprintAuthenticationListener have been added for the Fingerprints API similar to those listed above from the Biometrics API. Other: SUPPORT-201 Biometric login with FGX (Android). Bug Fixes 🐛 SUPPORT-198 Error of openning form in IDE. Fixed memory leaks, related to usage FMX TBitmap. If you face with error: "Cannot Create texture for TCanvasD2D", so it should fix it. FGX-385 Assets manager saves into Assets.Consts resources from a neighboring project. FGX-401 Icon in a small button (Android). FGX-403 The TfgBottomSheet.Realign method didn't work after changing height of TfgBottomSheet (iOS). FGX-407 Theme doesn't work in TfgBarcode. FGX-408 The IDE designer doesn't account property TfgButton.Appearance.ContentPadding. FGX-409 TfgEdit with enabled ReadOnly cam be edited (Android). FGX-410 TfgPageControl doesn't respect SVG icons (Android). Fixed an animation completion error that could occur when deleting an animated component before the animation is completed. Fixed barcode recognition from TfgBitmap (Android). Fixed crash when adding objects TfgMap (iOS). Fixed regression in setting application icons (iOS). Using the manual selection display mode in the TfgCollectionView could lead to a crash (iOS). Fixed the display of TfgBarcode on HiDPI screens in the IDE.