question

mybmr avatar image
mybmr asked mybmr edited

Getting error once I implement "com.firstdata.clovergo:remote-pay-android-go-connector:3.3.3-rc1@aar"

I'm integrating Clover GO in my project. I'm below error once implement below dependency.

ERROR :-

Task :app:processDebugMainManifest FAILED
app/src/main/AndroidManifest.xml Error: android:exported needs to be explicitly specified for element <activity#com.clover.remote.client.transport.usb.pos.UsbActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.


app/src/main/AndroidManifest.xml Error:
android:exported needs to be explicitly specified for element <receiver#com.clover.remote.client.transport.usb.pos.PosUsbBroadcastReceiver>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.


I'm using below configuration my project :-


implementation ("com.firstdata.clovergo:remote-pay-android-go-connector:3.3.3-rc1@aar") {
    transitive = true
}
android {
    compileSdkVersion 34
    defaultConfig {
        minSdkVersion 26
        targetSdkVersion 34
        versionCode 2
        versionName "1.2"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true
        multiDexEnabled true
    }
Clover Android SDK
10 |2000

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

0 Answers

·

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