Skip to content

Version 4.0

For the release notes, please check the NIMMSTA B2B Portal.

Update Maven Artifact

Update your maven artifact version to the latest version, that can be found at Integrate NIMMSTA Core.

Removals in Manifest

From now on you should remove all activity, permission and service definitions regarding NIMMSTA from the Manifest. You can preserve the uses-feature declararation:

<?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.nimmsta.androidapp">
            <!-- You can leave this if you want, this is not included in the library -->
            <uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

            <!-- Remove NIMMSTA required permissions you don't need from your manifest -->

            <application>
                <!-- ... -->

                <!-- Remove NIMMSTA Activities from your manifest -->
                <!-- Remove NIMMSTAConnectionManager service from your manifest -->
            </application>
    </manifest>

Changes in APIs

Some APIs changed and have been deprecated, we recommend updating:

  • bigText was replaced with fontSize
  • NIMMSTAConnectionManager: disconnectDevice was made protected. Please use device.closeConnection instead.

NIMMSTADeviceHandler (NIMMSTADeviceDelegate)

NIMMSTADeviceDelegate was renamed to NIMMSTAEventHandler for naming convention. There are some method renames and changes in APIs:

  • The type of the x and y-coordinates in didTouch changed to Double
  • The type of the barcode in didScanBarcode changes from String to Barcode
  • scannerWillShutdown has been renamed to deviceWillShutdown.
  • scannerWillHandover has been renamed to deviceShouldHandover.