Release Notes, 6.11.3

This page highlights a changelog regarding migration from GCM to FCM and describes updates to the latest Smartface version.

🚧Minimum required versions for SF-core 4.0.3

Android: v6.11.3 iOS: v6.11.3 UI Editor: v6.15.1 Context: v2.2.7

Migration GCM To FCM

As of April 10, 2018, Google has deprecated GCM. The GCM server and client APIs are deprecated and will be removed as soon as May 29, 2019. Smartface provides FCM migration on client side with its own firebase plugin. Consequently, it is recommended that migration GCM servers to FCM.

For more information please check.

❗️Update UI Editor

Starting with this version Android Manifest file must be modified according to Firebase requirements. To use Smartface seamlessly, UI Editor version have to be compatible with this version(min v6.15.1).

Reinstall Older Versions

To downgrade older versions and use properly:

  • Compatible sf-core & player version is required.

  • Remove these implementation from AndroidManifest.xml:

XML

<service android:exported="false" android:name="io.smartface.android.notifications.FCMListenerService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<receiver android:exported="true" android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</receiver>
<service android:exported="false" android:name="com.google.firebase.messaging.FirebaseMessagingService">
<intent-filter android:priority="-500">
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name="com.google.firebase.components.ComponentDiscoveryService">
<meta-data android:name="com.google.firebase.components:com.google.firebase.iid.Registrar" android:value="com.google.firebase.components.ComponentRegistrar" />
</service>
  • Instead, implement below configurations:

XML

<receiver android:name="com.google.android.gms.gcm.GcmReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<!-- Receives the actual messages. -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- support pre-4.4 KitKat devices. -->
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="${PackageName}" />
</intent-filter>
</receiver>
<service android:name="io.smartface.android.notifications.GCMListenerService" android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>

Changelog

  • added: [Framework] dispatchTouchEvent() added to listen touch events.

  • added: [Framework] action is added as a parameter for Application.call() method to support various action types.

  • added: [Framework] Handling multiple scenarios with push notification is added.

  • added: [UI-Editor] Android Manifest file is improved according to Firebase Migration.

  • fixed: [Framework] Application.onMaximize is working properly on iOS now.