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

Switch to download pdf with RN's Android OkHttpClient #113

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

markgardner
Copy link
Contributor

Using new URL(filePath).openStream(); is preventing us from being able to print pdf's generated for our users due to cookies not being sent with the request.

Using react native's okhttp client allows app developers to modify requests without needing to customize each module's code.

This implementation should not permanently store any newly received cookies. Only sends what is already tracked.

@christopherdro christopherdro merged commit 9e1bb0b into christopherdro:master Nov 24, 2020
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

Successfully merging this pull request may close these issues.

2 participants