Skip to main content
Version: 7.3.0

Release Notes, 7.3.0

🚧 Minimum required:

@smartface/native v5.1.0 🚀
Android -> v7.3.0 🚀
iOS -> v7.3.0 🚀

Updated Modules

In order to fully migrate to the new version, you should update these packages:


  • You have to restart builder after updating the dependencies.
    • To restart the builder, select Run Builder from the Run menu.

In root of the project run the following command:

yarn install

In /scripts folder run the following command:

yarn install

For further information about versions, check the boilerplate project of Smartface for updated versions and match yours with the new ones:

https://github.com/smartface/helloworld-boilerplate


Native and Framework Changes

Splash Image on iOS

The usage of the Splash Image on iOS has been updated. Please follow the steps below to use the new Splash Image feature.

  1. Create a new Image named splash.png with Image Generator. Recommended size is 1242 * 2436.
  2. Go to images/ios folder and remove the LaunchImage.launchimage folder.
  3. Go to config/ios/info.plist file and remove the key UILaunchImages and UILaunchImages~ipad its values
  4. Add the following key and value:
     <key>UILaunchStoryboardName</key>
    <string>Launch Screen.storyboard</string>

🆕 What's New

  • Improvement: [Android] Performance improvements have been made for the VideoView.
  • Improvement: [Android] Performance improvements have been made for the BottomTabbar.
  • Improvement: [Android] Performance improvements have been made for the Application startup. For the emulator, the startup time has been reduced by 2 seconds, and for the player by 300 milliseconds.
  • Feature: [Android] Along with Android 13, a new PhotoPicker was introduced. It has been implemented and can be used on Android 11 and above.
  • Feature: [Android] Support for notification message type has been added in Smartface. Previously, custom notifications could only be sent via data messages.
  • Feature: [Android] Image support has been added for notification messages.
  • Feature: [Android] Added support for App Shortcuts on Android emulator.
  • Feature: Dark mode support has been added for Native Components.
  • Feature: We added the Appearance module, which allows you to retrieve the current theme of the device. You can use this module to customize the appearance of your app based on the user's preferred theme, such as changing the color palette or using different assets.
  • Feature: The ImageView component now allows for the image property to be set to a direct URL.
  • Deprecated: The multiLine property of Label and TextView has been deprecated.

🐞 Bug Fix

  • Fixed [Android] Push notifications with long messages do not expand when clicked.
  • Fixed [Android] There is an issue with the itemSpacing property of GridView not working properly.
  • Fixed [Android] The lineSpacing property of GridView is not working properly.
  • Fixed [Android] title not changing on HeaderBar on first page.
  • Fixed [iOS] stretch property of ImageFillType is not working.
  • Fixed [iOS] The app crashes when the share method of Share is called on an iPad.
  • Fixed [iOS] The app crashes when the backgroundColor property of Statusbar is set to a value.
  • Fixed [iOS] badge is not visible on Headerbar.
  • Fixed [iOS] The app crashes when tapped with three fingers on numeric keyboards.
  • Fixed [iOS] When the getCurrentLocation method of Location is called, it prompts for gallery permission.
  • Fixed [iOS] When change theme, the iconSize of BottomTabbar is looks bigger.
  • Fixed [iOS] Unable to add image to TabbarItem.
  • Fixed [iOS] width and height properties of Screen are not working properly.
  • Fixed [iOS] loadFromUrl and fetchFromUrl methods of GifImageView are not working properly.
  • Fixed The default value of scrollbarEnabled property of GridView is set to false.
  • Fixed Usage and behavior consistency has been improved for TextView.
    • scrollbarEnabled property is not working with text.
    • Prevented simultaneous use of text and attributedText values.
    • lineSpacing property is not working consistently.

📑 Documentation

The following docs are updated, you can have a look to see what's new:

IDE Changes

IDE Releases are held in its respective place. You can reach it under:

https://github.com/smartface/smartface-ide-releases/releases

For IDE Documentation & Usage, you can refer to this documentation:

UI Editor Basics

🆕 What's New

  • Feature: Added iconSize property to Bottomtabbar.
  • Feature: Added gradient color property to BackgroundColor of all components.
  • Feature: Added android.color property to StatusBar.
  • Feature: Added redirection to the page attached to the Router Explorer.
  • Feature: Added the ability to select the color by dragging the Color Picker.
  • Feature: When adding a new class, the class name is automatically selected.
  • Feature: Added search and display ability for all Icon.
  • Feature: Abilty to select the color from variable list in Themes folder.
  • Feature: Added zIndex field for Android to Theme Panels.
  • Maintenance: When class values are deleted, no null values are left in the class.
  • Maintenance: The hotkey for Run on Device has changed.
    • Connect Wired via ADB: Command + Option + A
    • Connect iOS Simulator: Command + Option + I
  • Maintenance: Added new devices for preview:
    • iPhone:
      • iPhone 14 Pro Max
      • iPhone 14 Pro
      • iPhone 14 Plus
      • iPhone 14
    • Android:
      • Samsung Galaxy S21
      • Samsung Galaxy S21 Plus
      • Google Pixel 5
  • Maintenance Cosmetic improvements have been made in the right menu.
  • Maintenance Component adding/switching has been improved in the Library & Page Explorer.

🐞 Bug Fix

  • Fixed Dispatcher always sends the same diff after update.
  • Fixed If the emulator is not cleared while starting new project, the project is not started.
  • Fixed text of Textview is not changed via IDE.
  • Fixed When the computer starts from sleep, the IDE is not working properly.
  • Fixed When choosing a font, you need to click twice to select the font.
  • Fixed Focus is lost when deleting a component in Library.
  • Fixed After assigning a value to padding, it becomes difficult to assign a value to individual paddings.
  • Fixed When the statusbar is set to visible false, the headerbar is not displayed properly.
  • Fixed When the page name is changed, the page is not updated in the Page Explorer.
  • Fixed When the image property of GifImageView is set to a value, the image is not displayed in the IDE.
  • Fixed When GridView and ListView properties are changed, the IDE freezes.
  • Fixed backgroundColor of BottomTabbar is not displayed properly in the IDE.
  • Fixed Unabled to delete last value in text input from right panel.
  • Fixed When want to select all the value in text input from right panel with keyboard shortcut, focus is lost.
  • Fixed When the text property of TextArea is set to a value from right panel, the page disappears.
  • Fixed When create a Flexlayout with using split, it writes class values to userProps.
  • Fixed When apply changes with keyboard shortcut(Command + option + v) in Library, pastes the selected component.
  • Fixed Class ordering does not work in the right panel.
  • Fixed Margin and Padding values in the Rule Field do not work properly.