Flutter SDK Versions


June 25, 2024

We are excited to announce that version 2.4.1 of the Netmera Flutter SDK has been published on pub.dev!


  • Upgraded Netmera iOS SDK: Updated to version 3.23.6

  • Upgraded Netmera Android SDK: Updated to version 3.14.0

Attention: Critical Update for Android Users ⚠️

  • Fixed Android Gradle 8+ Release Build Issue: If you are using Android Gradle 8 or above, it is essential to upgrade to at least Flutter SDK 2.4.1 to resolve this issue and ensure seamless builds.

We strongly recommend all users to update to this latest version to benefit from these important improvements and maintain optimal performance and compatibility.


February 26, 2024

For detailed version changes, refer to the pub.dev page.

  • Added iOS 3.22.0 package.


  • Integrated Android Core and FCM versions 3.12.0, which support the transition to FCM HTTP v1.

  • Raised the Flutter SDK's minimum Android SDK version to 21 for improved compatibility and performance.


  • Addressed an issue where building with Android Gradle 8 was causing problems.


January 24, 2024

The latest release is now available on pub.dev. This update includes the integration of widget callbacks for enhanced functionality. Here are the version changes:


  • Integration of widget callback.


January 9, 2024

Android Core 3.11.4 was added to this version. To integrate the latest versions, update your dependencies as follows:

implementation 'com.netmera:nmcore:3.11.4'
implementation 'com.netmera:nmfcm:3.11.0'
implementation 'com.netmera:nmhms:3.11.0'


  • In the user update callback, the response was sometimes returned as null. This has been addressed, and error responses will now provide more detailed information.


December 11, 2023

Flutter SDK Version 2.3.5 Released,

  • Upgraded Android Core SDK version to 3.11.3. and Android FCM version to 3.11.0.


  • Resolved an issue with Android synchronous user updates.

For detailed version changes, refer to the pub.dev page.


December 5, 2023

Flutter SDK Version 2.3.4 Released,

  • Added Android core 3.11.1 and HMS 3.11.0 packages.

  • Added iOS 3.21.0 package.


  • User update callbacks are now included in the Flutter SDK.

User Update Method Details

Example Usage in Dart Code:

// User update sync
Netmera.updateUser(user).then((value) {
  print('User updated');
}).catchError((error) {
  print('User update failed: $error');

For detailed version changes, refer to the pub.dev page.


October 31, 2023

Flutter SDK 2.3.2 has been released. Here are the version notes:

  • Android 3.10.4 and iOS 3.18.0 versions have been added.


  • The fetchCoupon feature has been integrated into Flutter SDK.


  • The Android baseUrl crash issue has been resolved.


September 20, 2023


  • Android core and FCM 3.10.2 versions have been integrated into the Flutter SDK.

  • The Target API level of the Android module has been raised to 33.

  • The 'startDataTransfer' and 'stopDataTransfer' methods have been added to the plugin.


netmera_flutter_sdk | Flutter Package


Flutter version 2.3.0, which includes Android 3.10.1 and iOS 3.16.0 versions, has been released.


netmera_flutter_sdk | Flutter Package


  • Push action callbacks were moved in foreground thread.

Callback Details

It appears that you have callback methods in your application, where the developer can provide their own custom methods to be executed. These callback methods allow you to receive specific information or perform certain actions requested from Netmera. For example, you can receive push payloads through these callbacks.

In Flutter, there is a problem where callbacks cannot run in the background as the application kills the cross-compiled code to preserve resources. To avoid this issue, you can utilize the "isolate" feature to run the existing callback methods in a separate thread. However, it's important to note that since these callbacks are running in a background thread, they cannot perform long-running tasks or have persistent operations. Once the task in the thread is completed, the thread terminates. This behavior is due to the nature of different threads operating independently. The methods have been moved to the foreground.

  • onPushReceiveBackground callback was created for background messages.

Only the onPushReceiverBackground handling process is performed in the background.


  • Flutter iOS event channel issue was fixed.

  • Push action callbacks context issue was fixed.



  • The section below from the AppDelegate should be removed.

func registerPlugins(registry: FlutterPluginRegistry) {
    GeneratedPluginRegistrant.register(with: registry)
  • The following line should be removed from the AppDelegate → didFinishLaunchingWithOptions method.

  • The inside of the AppDelegate → didReceiveRemoteNotification method should be changed as follows.

~~FNetmeraService.handleWork(ON_PUSH_RECEIVE, dict:["userInfo" : userInfo])~~

if UIApplication.shared.applicationState == .active {
    FNetmeraService.handleWork(ON_PUSH_RECEIVE, dict:["userInfo" : userInfo])
} else {
    FNetmeraService.handleWork(ON_PUSH_RECEIVE_BACKGROUND, dict:["userInfo" : userInfo])


  • There is no change in Android integration.


  • The NetmeraPushBroadcastReceiver().initialize() method in the main.dart file can now be called anywhere.

  • In order for background messages to be processed, the following method must be added first, outside the main ve MyApp blocks.

void _onPushReceiveBackgroundHandler(Map<dynamic, dynamic> bundle) async {
  print("onPushReceiveBackground: $bundle");
  • Then this function should be given to onPushReceiveBackground in main before the runApp method as follows.


For more detailed information, you can see the example usage in the example project. https://github.com/Netmera/Netmera-Flutter-Example/tree/master


netmera_flutter_sdk | Flutter Package


  • Netmera Android SDK version was upgraded to 3.9.14.


  • Decryption failed issue was fixed. (VF crash fixed.)


netmera_flutter_sdk | Flutter Package


  • Android core SDK version 3.9.12 and FCM version 3.9.4 have been added to the Flutter SDK.

  • Android 13 notification permission methods have been added to the Flutter SDK and integrated with the existing iOS methods. The areNotificationsEnabled and requestPushNotificationAuthorization methods can now be used for both iOS and Android devices.

Push Notification Permissions

If you don't request notification permission at runtime, you can request it by calling the requestPushNotificationAuthorization() method. Note: Notification runtime permissions are required on Android 13 (API 33) or higher. Therefore, before calling the method, make sure your project targets an API of 33 and above.


You can call the areNotificationsEnabled() method if you need to know the status of permissions.

Netmera.areNotificationsEnabled().then((enabled) {
      // Use the enabled status of permission as boolean

Usage details of areNotificationsEnabled and requestPushNotificationAuthorization methods have been added to the Readme file.

Last updated