-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use dgca-app-core-android on Android 7 (24) devices #56
Comments
You use Java 8 time api which is available since api 26. You could use time api on api < 26 by following the steps in this artice: https://tunesoftware.com/apps/java-8-date-time-classes-in-android-below-api-26/ Don't know if this interests you somehow :) |
I month ago try to use Android 7.0, 24 API level, it fine working, expect one thing. Java time API can be fixed over "deshugaring" gradle plugin.
So you need enable, some like, in dependences app level: One more thing if i remember correct... it is, in file dgc-certlogic-android/engine/src/main/java/dgca/verifier/app/engine/data/ExternalParameter.kt
And create it over factory. The problem was that it did not find the constructor, it tried to look for the constructor with ZonedDateTime and in fact, during the de-sugaring process, it was replaced with Date. Although... I can't now repeat this issue on a device with API level 25, and Android 7.1 right now. Also has problem with: |
Hi,
I integrated your dgci-app-core-android library in my app which is minsdk 24 (Android 7).
Your decoder is working fine except on Android 7 devices.
What is the reason that your libraries minSDK is 26?
Is there a way to make it work for SDK 24 (Android 7) devices?
Thanks or your feedback!
Best regards
Robert
The text was updated successfully, but these errors were encountered: