After our announcement about Android 10 ROM updates, we heard from developers regarding the Build.SERIAL change and the need for more notice about ROM updates in the future. Please see New information about ROM updates for important information about the A10 rollout.
This announcement is only for developers who develop Android apps for Clover Station Duo (formerly Station Pro), Clover Station Solo, Clover Mini 2, and Clover Flex 2.
This is a list of the most important changes that affect apps caused by our move to Android 10. This is not an exhaustive list—it is a living list and will continue to be updated as we gather new information.
Accessing the device serial must be done via
MerchantDevicesV2Connector(context).getSerial() available in our clover-android-sdk. This method works on all our devices and all OS versions.
The following ways of obtaining a device serial should not be used:
- Using the android.os.SystemProperties via reflection to get the serial number
Some apps that were signed in an unusual way but were allowed by Android 8 and earlier will now be rejected in Android 10.
apksigner on your APK after it is fully signed to determine if it is possibly malformed. The
apksigner is a tool included in the Android SDK provided by Google.
Android/Sdk/build-tools/30.0.3/apksigner verify path/to/your/app.apk
Notice the tool being used is 30.0.3. Please use this version or later. If the command returns "DOES NOT VERIFY" then your app has a malformed signature, there may be additional details returned about the reason it is malformed. Please ensure you are using the v1 signature scheme only.
To ensure that your apps continue to function properly after the upgrade, it is critical that your Clover apps are signed with v1 (JAR Signature). Apps that are v2- or v3-signed will not function properly after the upgrade.
java.util.regex.Matcher and Pattern behavior changes—see Android Developer site for details
Certificates signed with SHA-1 aren't trusted in TLS—see Android Developer site for details
Information removed from Wi-Fi service methods—see Android Developer site for details
Hostname verification using a certificate—see Android Developer site for details
FLAG_ACTIVITY_NEW_TASK requirement is now enforced—see Android Developer site for details
If you have questions about this update or additional information to report, contact Clover developer support at [email protected]. Clover recommends that you allowlist this domain with your mail client and add the address to your contact list.
Please visit the Android Developer site for more details:
Updated 4 months ago