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

Switch Android SDK 29 deprecated methods to alternatives (ivpusic#1110) #1127

Closed
wants to merge 2 commits into from

Conversation

phil-flyclops
Copy link
Contributor

Android SDK 29 deprecated the following method for getting external directories
that we use repeatedly.
https://developer.android.com/reference/android/os/Environment#getExternalStoragePublicDirectory(java.lang.String)

I converted the various use cases to use the suggested alternative in
the Context API.
https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String)

@phil-flyclops phil-flyclops changed the title Switch Android SDK 29 deprecated methods to alternatives (ipvusic#1110) Switch Android SDK 29 deprecated methods to alternatives (ivpusic#1110) Sep 25, 2019
@phil-flyclops phil-flyclops force-pushed the master branch 2 times, most recently from b35dfd8 to d533352 Compare September 25, 2019 15:41
@paramaggarwal
Copy link

paramaggarwal commented Apr 24, 2020

Let's merge this? As the user base on Android 10 is growing, facing more and more failures due to lack of this fix...

@ivpusic
Copy link
Owner

ivpusic commented May 1, 2020

thanks a lot! merged with #1284

@ivpusic ivpusic closed this May 1, 2020
@ivpusic
Copy link
Owner

ivpusic commented May 1, 2020

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.

3 participants