google / java-photoslibrary

Java client library for the Google Photos Library API
http://developers.google.com/photos
Apache License 2.0
108 stars 59 forks source link

Min SDK version? #11

Closed panovvitalik closed 5 years ago

panovvitalik commented 5 years ago

Is there a way to support api's lower than SDK 24?

For example methods: UploadMediaItemResponse.getError().isPresent() UploadMediaItemResponse.getUploadToken().get() These calls need min SDK version: 24

Can it support for example sdk 23 or lower?

jfschmakeit commented 5 years ago

This library currently requires Java 8 (which is only available on Android API level 24 or higher).

However, I don't believe the Java 8 functionality is critical to the library and we might be able to rewrite those parts for Java 7 (which would give us support for a lower minSDK for Android).

Let's track this here, but pull requests are welcome too. :smiley: