Ensemble Update - July 2024
In a nutshell!
- Screen-Specific Toasts 📱
- WebView URL Schemes 🌐
- Expandable/Collapsible Text Widget 📖
- Device Security 🛡️
- Data Type Configuration 🔧
- And a range of other features 🚀
Screen-Specific Toasts 📱
You can now set a toast notification to be specific to the current screen. This means that if the view changes, the toast will be automatically dismissed. Simply use dismissible: true
to enable this functionality. Test it yourself!
WebView URL Schemes 🌐
We've introduced a new WebView option called allowedLaunchSchemes
that allows you to specify URL schemes for iOS and Android native apps. It accepts values such as tel:
, mailto:
, discord:
, geo:
etc. which, when specified are allowed to be launched by the web content inside the WebView. Check out the docs!
Expandable/Collapsible Text Widget 📖
Because long text can overwhelm the display on mobile devices, we introduced an expandable/collapsible Text widget! This feature allows users to toggle between a truncated view and the full text, improving readability and navigation. Discover more here!
Device Security 🔒
The deviceSecurity
action checks if the device is rooted, debugged, or running on an emulator. It executes corresponding actions based on these checks, enhancing security awareness and control within your application. Explore more here!
Data Type Configuration 🔧
You can configure a text field to suggest the appropriate data type to the user, such as a phone number field displaying a numeric keypad for easier input. Check out the code here!
And a range of other features 🚀
- The
className
property now evaluates expressions, allowing you to pass an expression directly to it. - You can now rename custom widgets added via the visual tree.
- Both the Owner and Editor roles now have the ability to invoke builds, empowering your team with flexibility and control over the build process.
- The
getNetworkInfo
action works only on native iOS and Android apps. It can retrieves details likewifiName
,wifiBSSID
,wifiIPv4
,wifiIPv6
,wifiGatewayIP
,wifiBroadcast
, andwifiSubmask
, available in theevent.data.networkInfo
object. Read in-depth here! - You can now view history of changes to translation content, and also select or unselect translation changes during publishing flow.