Closed Matej-Hlatky closed 9 months ago
OK,
pokial sa nefixne Maven repository access, tak riesenia su taketo.
V oboch pripadoch treba rucne potahat AAR subory z https://github.com/eIDmSDK?tab=packages&repo_name=eID-mSDK-Android
Riesenie 1:
*.aar
do /app/libs
flat a nasledne zmenit dependencies nasledovne:/settings.gradle
zmazat "maven.pkg.github.com/..." repository. // EID SDK
implementation files("libs/auth-sdk-1.3.4.aar")
implementation files("libs/base-sdk-1.3.4.aar")
implementation files("libs/core-sdk-1.3.4.aar")
implementation files("libs/eid-exceptions-sdk-1.3.4.aar")
implementation files("libs/eid-sdk-1.3.4.aar")
implementation files("libs/jmrtd-sdk-1.3.4.aar")
implementation files("libs/pin-management-sdk-1.3.4.aar")
implementation files("libs/sign-sdk-1.3.4.aar")
implementation files("libs/tutorial-sdk-1.3.4.aar")
implementation "com.jakewharton.timber:timber:4.7.1"
implementation "com.squareup.okhttp3:logging-interceptor:4.7.2"
implementation "org.ejbca.cvc:cert-cvc:1.4.13"
implementation "org.bouncycastle:bcpkix-jdk15on:1.70"
implementation "net.sf.scuba:scuba-sc-android:0.0.23"
implementation "org.jetbrains.kotlin:kotlin-parcelize-runtime:1.8.10"
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
implementation "org.bouncycastle:bcpkix-jdk15on:1.70"
implementation "com.tbuonomo:dotsindicator:4.3"
implementation "com.airbnb.android:lottie:5.0.3"
implementation "com.scottyab:rootbeer-lib:0.1.0"
Riesenie 2:
*.aar
a *.pom
do /libs
, vytvorit Maven-like adresarovu strukturu, cize: "\libs\sk\eid\auth-sdk\1.3.4\auth-sdk-1.3.4.pom" atd./settings.gradle
upravit Maven repository na uri("libs")
/app/build.gradle
netreba menit nic.cheers.
Vyzerá že to už fixli: https://github.com/eIDmSDK/eID-mSDK-Android?tab=readme-ov-file#in%C5%A1tal%C3%A1cia
Dneska som skúsil zbuildiť example appku from scratch a bez akýchkoľvek problémov.
Dobry den, po pullnitu si
master
, nejde rozbehat sample Android aplikacia.Je tam viac problemov.
V prvom rade - nespravne Maven credentials - po syncu hlasi chybu:
Ak si aj jednotlive AAR subory stiahnem a naimportujem cez
lib
adresar, sample aplikacia ma dalej tieto problemy:Nasledne sa aplikacia uz da rozbehat, avsak pri interakcii na vypis certifikatov atd. sa len zobrazi genericka chyba v aplikacii; v Logcat nie je
Exception
a tym padom SDK a sample aplikacia su vlastne nefunkcne.Prosim o fix credentials a upravu dema, resp. spravne nastavene dependencies vo vykompilovanych AAR. dakujem krasne. ☮️