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

Add check for Android runtime to KC_ANDROID_SDK_INT variable #51

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

05nelsonm
Copy link
Member

@05nelsonm 05nelsonm commented Nov 20, 2023

Closes #50

This PR adds to the KC_ANDROID_SDK_INT variable a check for android runtime. In the event it is not on android, the value will be null. If it is Android runtime, android.os.Build.VERSION.SDK_INT will be obtained via reflection and its value will be that of the devices API level.

@05nelsonm 05nelsonm self-assigned this Nov 20, 2023
Copy link
Member Author

@05nelsonm 05nelsonm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@05nelsonm 05nelsonm merged commit 33f82ba into master Nov 20, 2023
6 checks passed
@05nelsonm 05nelsonm deleted the issue/50-fix-android-sdk-int branch November 20, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KC_ANDROID_SDK_INT returns 0 from androidUnitTest source sets
1 participant