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

Cannot use token + gsfId in the reauth flow #13

Closed
ruimateus opened this issue Mar 19, 2018 · 1 comment
Closed

Cannot use token + gsfId in the reauth flow #13

ruimateus opened this issue Mar 19, 2018 · 1 comment

Comments

@ruimateus
Copy link

When using:

PlayStoreApiBuilder builder = new PlayStoreApiBuilder()
.setHttpClient(new OkHttpClientAdapter())
.setDeviceInfoProvider(deviceInfoProvider)
.setToken(token)
.setGsfId(gsfid);
GooglePlayAPI api = builder.build();

It will throw

com.github.yeriomin.playstoreapi.ApiBuilderException: Either email-password pair or a token dispenser url is required

How can we use token and gsfId directly without needing a token dispenser?

@yeriomin
Copy link
Owner

yeriomin commented Apr 6, 2018

Fixed in master, see tests.

If you want a workaround, GooglePlayAPI has setters for token and gsfId.

@yeriomin yeriomin closed this as completed Apr 6, 2018
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

No branches or pull requests

2 participants