Acknowledged
over 1 year ago

String.substring(x, null) throws error on Vivoactive 4 - SDK 6.4.0

Calling String.substring() with endIndex = null throws the following error on Vivoactive 4 after upgrading SDK from 6.2.0 -> 6.4.0:

Error: Unhandled Exception
Exception: UnexpectedTypeException: Expected Number/Float/Boolean/Long/Double, given null

Strangely this happens on the Vivoactive 4 but not on some other devices I've tested. Looks like a bug to me.