Skip to content
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

[BUG] Unsupported java class used in util/Json.java file #50

Closed
danishjamal104 opened this issue Jul 6, 2021 · 2 comments
Closed

[BUG] Unsupported java class used in util/Json.java file #50

danishjamal104 opened this issue Jul 6, 2021 · 2 comments
Assignees
Labels
bug Something isn't working 🌟 Priority This task need to be kept on priority

Comments

@danishjamal104
Copy link
Collaborator

danishjamal104 commented Jul 6, 2021

Description
Json.java uses DateTimeFormatter class which is only supports android api >= 0reo(API 26), but the min sdk version is 15. Hence it is causing app crash in android making this library only available for device run-in non android API level 26+.

Screenshot

Screenshot 2021-06-30 at 6 44 41 PM

@danishjamal104 danishjamal104 added the bug Something isn't working label Jul 6, 2021
@danishjamal104 danishjamal104 self-assigned this Jul 6, 2021
@danishjamal104 danishjamal104 added the 🌟 Priority This task need to be kept on priority label Jul 6, 2021
@danishjamal104
Copy link
Collaborator Author

danishjamal104 commented Jul 7, 2021

can we replace java.time with org.threeten.bp in JSON.java.
@vorburger, @Grandolf49 and @iamsh4shank please suggest if this change would be causing any breaks in code. Since the main problem is with Java.time which is only available in android API 26+. Thanks :)

@danishjamal104
Copy link
Collaborator Author

As discussed @Grandolf49 and @iamsh4shank , this issue will be resolved by re-generating the SDK using legacy date library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🌟 Priority This task need to be kept on priority
Projects
None yet
Development

No branches or pull requests

1 participant