Mobile SDK
Android
5 min
api reference for a complete reference of all classes, methods, and properties available in the toro android sdk, view our https //ccs group github io/toro android sdk/api reference/ hardware prerequisites android device running android 7 0 (api level 24) or higher with bluetooth capabilities (if using devices in bluetooth mode) with internet access miura pin entry device (ped) miura payments interface (mpi) installed the sdk has been tested with miura m010 and m021 devices, using mpi v1 68, os v9 7 pixel 4a (android 13) and nexus 5x (android 8 1) your project android configuration minimum android sdk (minsdk) 24 (android 7 0 nougat) java/kotlin configuration java 8 compatibility required kotlin projects should use jvm target 1 8 code optimisation and security we strongly recommend enabling proguard/r8 code optimization and obfuscation in your application's release builds this is crucial for protecting your application and the sdk from reverse engineering optimising the final apk size ensuring secure handling of cardholder data java interoperability while the toro sdk is primarily designed and tested for kotlin projects, we have made accommodations to support java integration where possible the main consideration has been handling kotlin coroutines, which are used extensively throughout the sdk for methods that use coroutines, we provide java friendly alternatives that use callback patterns these wrapper methods handle all the coroutine complexity internally, allowing java developers to work with familiar callback interfaces instead for example, instead of suspend fun getdeviceinfo() miuradeviceinfo java developers can use void getdeviceinfo(torocallback\<miuradeviceinfo> callback) while we've made efforts to support java integration, the sdk is specifically designed and tested for kotlin projects if you're starting a new project, we strongly recommend using kotlin to ensure the best experience with the sdk if you encounter any issues using the sdk in a java project, please let us know
