UnevenSoftware / LeafPic

LeafPic is a fluid, material-designed alternative gallery, it also is ad-free and open source under GPLv3 license. It doesn't miss any of the main features of a stock gallery, and we also have plans to add more useful features.
GNU General Public License v3.0
3.27k stars 1.35k forks source link

Fix this rate app feature. #551

Closed KignorChan closed 6 years ago

KignorChan commented 6 years ago

Hi. I've just fixed issue #539. I gave up 'getPackageName()' function to get app's id. Instead I used app's id directly. I have no idea why 'getPackageName()' doesn't work here. I'm still figuring out the reason. Also, I took references in: https://stackoverflow.com/questions/10816757/rate-this-app-link-in-google-play-store-app-on-the-phone The additional code here is to open rate page through web browser if the phone doesn't have Google Play Store app. I hope my work will be helpful for you. By the way. I love this app. It runs very smooth in my three years old phone and it's functional. Great job!

dnldsht commented 6 years ago

Awesome work!

Anyway I will get the package name programmatically, because there are many clones of LeafPic in the playstore and I don't want their reviews