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:
- Builder -> 0.11.0
- Dispatcher -> Latest Version: 0.11.0
- Library Reader -> Latest Version: 0.11.0
- Marketplace Service -> Latest Version: 0.11.0
- TSC Watch -> Latest Version: 0.11.0
- 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
- Native -> Latest Version: 5.1.0
- Core -> Latest Version: 5.1.0
- Styling Context -> Latest Version: 5.1.0
- Mixins -> Latest version: 5.1.0
- Source-map -> Latest version: 5.1.0
- RTL -> Latest version: 5.1.0
- WebviewBridge -> Latest version: 5.1.0
- Security -> Latest version: 5.1.0
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
.
- Create a new
Image
namedsplash.png
with Image Generator. Recommended size is1242 * 2436
. - Go to
images/ios
folder and remove theLaunchImage.launchimage
folder. - Go to
config/ios/info.plist
file and remove the keyUILaunchImages
andUILaunchImages~ipad
its values - 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 theimage
property to be set to a direct URL. - Deprecated: The
multiLine
property ofLabel
andTextView
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 ofGridView
not working properly. - Fixed [Android] The
lineSpacing
property ofGridView
is not working properly. - Fixed [Android]
title
not changing onHeaderBar
on first page. - Fixed [iOS]
stretch
property ofImageFillType
is not working. - Fixed [iOS] The app crashes when the
share
method ofShare
is called on an iPad. - Fixed [iOS] The app crashes when the
backgroundColor
property ofStatusbar
is set to a value. - Fixed [iOS]
badge
is not visible onHeaderbar
. - Fixed [iOS] The app crashes when tapped with three fingers on numeric keyboards.
- Fixed [iOS] When the
getCurrentLocation
method ofLocation
is called, it prompts for gallery permission. - Fixed [iOS] When change theme, the
iconSize
ofBottomTabbar
is looks bigger. - Fixed [iOS] Unable to add
image
toTabbarItem
. - Fixed [iOS]
width
andheight
properties ofScreen
are not working properly. - Fixed [iOS]
loadFromUrl
andfetchFromUrl
methods ofGifImageView
are not working properly. - Fixed The default value of
scrollbarEnabled
property ofGridView
is set tofalse
. - Fixed Usage and behavior consistency has been improved for
TextView
.scrollbarEnabled
property is not working with text.- Prevented simultaneous use of
text
andattributedText
values. lineSpacing
property is not working consistently.
📑 Documentation
The following docs are updated, you can have a look to see what's new:
- Appearence
- Added
Appearance
module to get the current theme of the device.
- Added
- Dark Theme for Native Components
- Added Dark mode support for
Native Components
.
- Added Dark mode support for
- Router Explorer
- Added notification for iOS.
- App Icons and Splash Images
- Updated the usage of
Splash Image
on iOS.
- Updated the usage of
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 toBottomtabbar
. - Feature: Added
gradient color
property toBackgroundColor
of all components. - Feature: Added
android.color
property toStatusBar
. - 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 forAndroid
toTheme 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
- Connect Wired via ADB:
- 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
- iPhone:
- 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
ofTextview
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 ofGifImageView
is set to a value, the image is not displayed in the IDE. - Fixed When
GridView
andListView
properties are changed, the IDE freezes. - Fixed
backgroundColor
ofBottomTabbar
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 ofTextArea
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
andPadding
values in the Rule Field do not work properly.