Integrate com.clover.sdk:go-sdk in the Android APP, and when testing using a test account, an exception is reported that the system has been rooted. However, my Android device is not Rooted.
- test code
viewModel.viewModelScope.launch { val request = PayRequest( final = true, //true for Sales, false for Auth or PreAuth Transactions capture = true, //true for Sales, true for Auth, false for PreAuth Transactions amount = 100L, taxAmount = 0L, tipAmount = 0L, externalPaymentId = "4242 4242 4242 4242" ) goSdk.chargeCardReader(request).collectLatest { chargeState -> addText(chargeState.toString()) val msg = when (chargeState) { is ChargeCardReaderState.OnPaymentComplete -> "OnPaymentComplete: ${chargeState.response}" is ChargeCardReaderState.OnPaymentError -> "OnPaymentError: $chargeState" is ChargeCardReaderState.OnReaderPaymentProgress -> "OnReaderPaymentProgress: ${chargeState.event}" }.toString() } }
- Program exception information
error=CloverGenericError(code=ROOTED_DEVICE, message=Rooted device detected, severity=FATAL)
- The system is not Rooted