Foro
Error en el SDK Android
Saludos
Estoy intentando integrar el SDK a una aplicación Android, todo funciona bien en modo debug, pero al generar el apk de productivo la aplicación truena al llamar a ClipApi.init(application, ClipPlusApi())
He seguido estos pasos:
<https://developer.clip.mx/reference/configurar-el-ambiente-de-desarrollo#agregando-las-dependencias>
Es decir:
allprojects {
repositories {
…
maven {url '<https://developer.huawei.com/repo/'}>
}
}
dependencies {
implementation 'com.payclip.sdk:payment-ui:2.3.0'
implementation 'com.payclip.sdk:plus-reader:1.3.0'
}
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
A que se deberá que al generar el release se cierre la aplicación:
Posted by Jorge about 1 year ago
Deprecated dependency error
Hello, Im trying to integrate the SDK to a new project but I am getting an error about a missing deprecated dependency:
Could not find android.arch.lifecycle:extensions:2.2.0.
Required by:
project :app > com.payclip.sdk:payment-ui:2.2.2
When I try adding this dependency the build still fails for the same reason. Any help would be appreciated. Also, is there any full Android sample application on github I can use as a references?
Posted by Erik about 3 years ago