google / java-photoslibrary

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

"Duplicate photo entries" issue resolved #49

Open nikhil6624 opened 1 year ago

nikhil6624 commented 1 year ago

The root cause of the issue is actually due to the improper usage of Photos Client in "sample" folder. The Google Photos library client is perfectly working fine.

I have resolved this issue by updating the un-existing method's references(isEmpty()) with the existing method's references(isPresent()) (in the classes committed as part of this pull request) whose method definition is available. I have confirmed it by using my Google Photos account which has 468 sample images and the issue isn't prevailing now. PFB the screenshot.

fig 7

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

nikhil6624 commented 1 year ago

@jfschmakeit , please review and merge my pull request for issue#44 - (https://github.com/google/java-photoslibrary/issues/44).