yeriomin / play-store-api

Google Play Store protobuf API wrapper in java
GNU General Public License v3.0
322 stars 130 forks source link

Can not get download url #11

Closed yoogoomin closed 6 years ago

yaoxiu commented 6 years ago

Dear yeriomin, thanks you support play store api. i had an issue when use it . i can not get download url when execute purchase or delivery function for free app. that app not installed via play store. if installed the app via play store, can got it by delivery function. please tell me why, or how to solve it, thanks.

yeriomin commented 6 years ago

@yaoxiu Hello.

This might depend on device definition you use. Generally, the download link is returned in the delivery response, but sometimes you need to call purchase first. To support all devices you should call purchase, check if the download link is returned, and if not, call delivery.