Android SDK Versions
Last updated
Last updated
All Android SDK specifications, parameters, and methods are documented in the following file.
December 5, 2024
To implement the latest updates, use the following dependencies:
⭐ IMPROVEMENTS
Geofence Event Enhancement:
Enhanced the n:gu
geofence event to ensure it is sent even when the application is killed.
Important Notice: Information on Geofence Update Events
Please refer to our documentation for more information on scenarios where Geofence Update Events may not be received.
December 5, 2024
To implement the latest updates, use the following dependencies:
⭐ IMPROVEMENTS
Push Register Logic Enhancement: Improved push register status logic for devices running Android 13 and above.
November 14, 2024
The following version updates for the Android SDKs have been released. To implement the latest updates, use the following:
Removal of the Android Startup Library: The Android startup library has been removed.
Background Thread Management: The Netmera SDK has been updated to work on a background thread. You no longer need to explicitly call the SDK on a background thread.
These changes simplify SDK integration and improve its performance in background tasks.
This SDK release introduces changes to your integration process. Please see the details below.
Revised Initialization Code:
If you are using SDK version 4.0.0 or later, or performing an SDK update for 4.0.0 or later, do not include the following lines of code from previous SDK versions. If these lines are already present in your code, please remove them:
These changes ensure smoother SDK integration and better background thread handling. Be sure to update your code accordingly.
November 1, 2024
To implement the latest updates, use the following:
Updated AES algorithms within the SDK to AES/GCM/NoPadding
.
Added the "Not Determined" option to the checkNotificationPermission
method.
October 17, 2024
To incorporate this feature, use the following implementations:
Push/Enable Issue Improvement:
Enhanced the functionality to address problems related to enabling push notifications.
Kill Method Enhancement:
Improved the kill method functionality, allowing it to work even in scenarios where the init
method has not been called.
October 14, 2024
To incorporate this feature, use the following implementations:
Notification Permission Handling:
Updated the requestNotificationPermission
method to redirect users to settings on the third and subsequent calls, enhancing the permission request flow.
Notification Permission Check:
Added the checkNotificationPermission
method to the SDK, allowing developers to programmatically verify the current notification permission status.
Media Content in Push Notifications:
Fixed an issue where media content in push notifications was not loading on some devices, ensuring more consistent media display.
Widget Background Color:
Resolved an issue where sending widgets back-to-back caused the background to turn white unexpectedly.
Delayed Web Page Pushes:
Addressed an issue where "Show Web Page" push notifications were opening slowly or failing to open, improving response time and reliability.
App Tracker Limit Issue:
Fixed an issue where the app tracker failed when the app tracked list
parameter exceeded 10KB, allowing it to handle larger data sets effectively.
Item Click Action for Web Pages:
Resolved a problem where the app wouldn’t open when "Show Web Page" was selected as the item click action, ensuring correct behavior on selection.
We recommend updating to this version to benefit from these new features, improvements, and fixes, which enhance performance, reliability, and user experience.
September 27, 2024
To incorporate this feature, use the following implementations:
SSL Pinning Support:
Added SSL pinning to enhance security. This feature allows specifying trusted SSL certificates for secure communication.
To configure SSL pinning, use the following example code:
Single SSL Pin:
Multiple SSL Pins:
Error Logs:
Error log if the SSL pins are invalid:
Error log when improper SSL pinning:
We recommend updating to this version to enhance security with SSL pinning capabilities.
August 28, 2024
Resolved an issue with the "Time in App" event.
This update ensures more accurate tracking of user activity within the app.
August 19, 2024
The versions nmcore 3.14.3
, nmfcm 3.13.0
, and nmhms 3.12.0
, which include the Target 34 update, have been published. Version changes include:
The targetSdk version of the Netmera Android SDK has been upgraded to 34.
A bug that prevented the Geofence (n:gu)
event from being sent has been fixed.
July 24, 2024
Resolved an issue where, on devices running Android 13 and above, if push notifications were enabled without sending a push disable request during the initial installation, the user would appear as "not registered" on the panel.
We highly recommend that customers using versions 3.14.0 and 3.14.1 upgrade to this latest version for improved stability and performance.
July 3, 2024
This update includes a critical bug fix to improve the stability and performance of your applications.
A fix has been added to address ANR (Application Not Responding) issues.
June 3, 2024
Gradle 8 R8 Fullmode Configuration
Necessary Proguard rules have been added to the SDK to support Gradle 8 R8 fullmode configuration.
Push Enable/Disable Scenarios
Reviewed and improved the push enable and push disable scenarios for better functionality.
Please update your dependencies as follows:
We encourage all users to upgrade to the latest version to take advantage of these enhancements and ensure optimal performance and functionality.
March 25, 2024
Behavior Manager Removal
The Behavior Manager has been removed from the project. This change is part of our broader initiative to improve SDK efficiency and ensure smoother operation within your applications.
To integrate the latest version of the Netmera SDK into your project, please update your dependencies as follows:
March 7, 2024
Background Location Widget
Improved the background location widget for improved functionality and performance.
To integrate the latest version, update your dependencies as follows:
February 26, 2024
To integrate the latest versions, update your dependencies as follows:
Netmera.kill() Method: A new feature has been added: the Netmera.kill()
method. If this method is called, Netmera will remain in a "kill" state until it is re-initialized.
This update in Android Core version 3.12.1 introduces a new feature, Netmera.kill()
, which allows for the SDK to enter a "kill" state until re-initialized, providing more control over Netmera's behavior.
January 25, 2024
Ensure to update your dependencies with the following changes:
NMCore:
Enhanced security by enforcing TLS version 1.2 and above
Note: This results in an increased minimum Android version to 21 (Android 5.0).
Strengthened security measures by removing the MD5 encryption algorithm, replacing it with a more secure system that generates a random byte array on each client.
Introduced a default icon to the SDK to address situations where NotificationManager
encounters difficulties locating the app icon.
NMFcm:
Upgraded Firebase Messaging version to 23.1.2 to support FCM HTTP v1.
For detailed information, refer to Firebase Cloud Messaging - Migrate to FCM HTTP v1.
Important Note about Migrating from legacy FCM APIs to HTTP v1:
Android SDK version 3.12.0 requires a minimum Firebase Messaging library version of 20.3.0 for FCM HTTP v1. Users with their own Firebase integration should ensure a minimum version of 20.3.0. The recommended version is 23.1.2 and above. However, if users prefer to stay on a lower version, they must use a minimum of version 20.3.0, as FCM enforces this requirement after June.
Important Note: Android SDK version 3.12.0 raises the minimum supported Android version to 21 (Android 5.0).
January 15, 2024
To integrate the latest version, update your dependencies as follows:
Android Core version 3.11.5 brings improvements to the SDK initialization time and fixes an issue related to initialization problems during Android startup in a closed state.
The SDK initialization time has been improved by updating the initialization mechanism.
Addressed and fixed the initialization problem occurring when Android startup is in a closed state.
January 9, 2024
To integrate the latest versions, update your dependencies as follows:
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
To integrate the latest version, update your dependencies as follows:
App version name and app version code are now included in request headers.
Full names of classes are sent for Auto Tracking instead of simple names.
onSuccess and onFailure callbacks are added to the Init method. Example usage:
Developed a fix for the User Update issue, specifically addressing a problem that occurred after syncing user updates.
December 5, 2023
To integrate the latest versions, update your dependencies as follows:
Added the onDeeplinkOpen
callback.
Fixed an issue related to sending multiple push/register requests.
Prepared a fix for the constraint layout problem.
Prepared a fix for the autostart problem.
Android HMS Package Update
HMS Location Service Fix: The fix for the HMS location service issue has been introduced with com.netmera.nmhms:3.11.0
. In previous SDK versions where a lower version of nmhms
was used, errors related to Huawei location libraries may occur.
Resolved the HMS location problem.
Updated the HMS library.
Usage:
November 22, 2023
To update to the latest version, set the following dependencies:
Enhanced the User Update method with onSuccess and onFailure callbacks.
Made adjustments to the web view.
October 31, 2023
Note: This is a beta version. Do not update without contacting Netmera.
Android Netmera Core version 3.11.0 has been released with the following changes:
Integration of the new auto-tracking structure.
October 26, 2023
The Android SDK nmcore
version 3.10.4 is now live.
An enhancement for coupon code fetch requests, fetchCoupons
, has been added.
The issue where the slt
parameter was not updated when performing a user update with an existing user in the panel has been resolved.
A fix has been added to address the baseUrl
crash problem.
Added slt parameter to request containing each ids block
The widget callback has been improved and can be used as in this page.
Note: For this version, you need to use version 21.0.1 of the com.google.android.gms:play-services-location package.
com.google.android.gms:play-services-location package upgraded to version 21.0.1
Fixed the bug that caused the change to not appear in the Netmera dashboard when location permission was changed from the settings.
Target API level was upgraded to 33.
Play core library conflict was fixed.
Moved user identity and update operations to the backend for better efficiency.
Fixed in-app message callback bug in debug mode.
Resolved application launch issue with push notifications in kill state.
Email Preference - We have introduced a new method to manage email permissions more efficiently.
Listing the pushes in the notification center can now be done according to the piid (push instance id) value.
Resolved the issue where the onPushOpen callback was not working when the button click action was set to "nothing".
The push token crash issue has been resolved.
The version numbers are as follows:
nmcore - 3.9.15
nmfcm - 3.9.5
nmhms - 3.9.6
The issue of the slider and carousel images not being accessible in push notifications, resulting in the notifications not being displayed, has been resolved.
The problem of email and msisdn being sent as null in the user update request, causing them to be deleted from the panel, has been fixed.
The solution to the mail crash issues has been implemented.
The problem of the application coming to the foreground despite the actions of push click and push button click being set to "nothing" has been resolved.
When initializing Netmera SDK add the code below. A detailed explanation can be found on Android SDK Integration page with the title .
BUGFIX