Jump to content

Recommended Posts

  • Administrators
Posted

Download:
The distributive is available by request only.

Release date:
6 September 2023


New

Share service

Added a new platform service Share. The service allows you to transfer data (files, pictures, text, etc.) to other applications using OS mechanisms.
A typical usage example looks like this:

  TfgShareManagerFactory.CreateManager
    .AddFile(FFileName)
    .AddBitmap(FLogo)
    .AddStream(LStream, 'application/pdf')
    .AddText('Hello world')
    .AddUrl('https://fgx-native.com/')
    .Execute(btnShare, 'Share Demo');

Horizontal TfgCollectionView

The supporting horizontal orientation was added for TfgCollectionView. Use TfgCollectionView.Orientation property for switching orientation.

iOS API Headers

The headers files iOS.Api.Messages and iOS.Api.MessageUI were added for Messages and MessageUI frameworks.

Improvements 🙌

TfgRegionPicker

Two new shapes form were added TfgRegionPicker.RegionOptions.ShapeKind = Circle, Ellipse: circle and ellipse. 

TfgPath and SVG

The supporting exponents format was added for Path data.

TfgComboBox

Now you can display text prompt in TfgComboBox and also manage color of text items and text prompt. Use Appearance for this purpose.

TfgControl

The new methods TfgControl.CreateSnapshot was added. It creates bitmap with control's snapshot.

TfgToast

The layout of toasts was improved in case of showing virtual keyboard on iOS. Now, when a virtual keyboard appears, the position of toasts messages is adjusted.

TfgVirtualKeyboard

The new method TfgVirtualKeyboard.KeyboardFrame for getting current virtual keyboard location was added.

TfgFacebookLoginAuthenticationClient

Added support for Android platform. The following additional steps must be taken:

  • Add library dependency com.facebook.android:facebook-login:16.2.0 in Project -> FGX Android Libraries
  • Create and add to the deployment file with the name strings.xml
    <resources>
        <string name="app_name">APP-NAME</string>
        <string name="facebook_app_id">APP-ID</string>
        <string name="fb_login_protocol_scheme">fb1234</string>
        <string name="facebook_client_token">CLIENT-TOKEN</string>
    </resources>
  • Make changes to AndroidManifest.template.xml immediately after the placeholder <%fgx-activities> and before the main activity
            <%fgx-activities%>
    
              
            <!--begin insertion-->  
            <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
            <meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>
    
            <activity android:name="com.facebook.FacebookActivity"
                android:configChanges=
                        "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
                android:label="@string/app_name" />
                
            <activity
                android:name="com.facebook.CustomTabActivity"
                android:exported="true">
                <intent-filter>
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
                    <data android:scheme="@string/fb_login_protocol_scheme" />
                </intent-filter>
            </activity>
            <!--end insertion-->    
              
            <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
            ....

Java2Delphi

  • The support for generating header files for Kotlin libraries was added.
  • Improved handling of classes and methods with template parameters.
  • Improved output of messages to the console about the progress of analysis and generation of header files.

Bug Fixes 🐛

 

  • Like 1
×
×
  • Create New...