question

cxp avatar image
cxp asked maruusa answered

error=CloverGenericError(code=ROOTED_DEVICE, message=Rooted device detected, severity=FATAL)

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)

1715767909658.png

  • The system is not Rooted

1715767769493.png


Clover Android SDKClover Goclover android rom
1715767769493.png (32.8 KiB)
1715767909658.png (34.9 KiB)
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

cxp avatar image cxp commented ·

To add,

  • Android Version

the system runs on the Android development board. The details of this Android message are as follows:

1715824065490.png

Android SDK Version: 32

  • clover-go-sdk uses the latest version
implementation("com.clover.sdk:go-sdk:latest.release")
0 Likes 0 ·
1715824065490.png (164.1 KiB)
sonu avatar image
sonu answered

I am also getting this issues while using the manual payment

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

maruusa avatar image
maruusa answered

Slope has extremely simple gameplay – players just need to control a ball rolling on a slope, avoiding obstacles and not falling into the abyss.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community