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

Target API 30 #2611

Merged
merged 5 commits into from
Jul 8, 2020
Merged

Target API 30 #2611

merged 5 commits into from
Jul 8, 2020

Conversation

smaskell-stripe
Copy link
Contributor

Summary

Motivation

Testing

chander-stripe
chander-stripe previously approved these changes Jun 23, 2020
@smaskell-stripe
Copy link
Contributor Author

hmm.. it looks like there's a bug in robolectric on android 11 where textView.textColors.defaultColor is not initialized (it's just coming out as -1). This is causing a couple tests to fail. Appears to work fine on an emulator - it's just an issue in the test environment

@smaskell-stripe
Copy link
Contributor Author

Same issue with AndroidJUnit4 runner

@smaskell-stripe
Copy link
Contributor Author

alright, the issue seems to be related to the fact that I removed the targetSdkVersion. AFAICT, libraries shouldn't need to specify a targetSdkVersion (that's determined by the app, not the library) but on the other hand, it doesn't appear to cause any issues (and we were doing it before anyway). If it causes weird robolectric issues when we remove it, then it seems like we should probably just keep it

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.

None yet

2 participants