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

Can't find variable: document error on React Native #33

Open
mchriss opened this issue Sep 13, 2022 · 2 comments
Open

Can't find variable: document error on React Native #33

mchriss opened this issue Sep 13, 2022 · 2 comments

Comments

@mchriss
Copy link

mchriss commented Sep 13, 2022

Calling the
const [openPicker, authResponse] = useDrivePicker();
function causes the app to crash, with the above mentioned error.

Is this package incompatible with React Native?

@lekbit
Copy link

lekbit commented Jun 23, 2023

I have the same question. Is it that hard to give a quick answer?

@zgordon02
Copy link

zgordon02 commented Apr 19, 2024

Of course this package is incompatible with react native. It functions by opening a browser window for auth and injecting google's content over your webpage

I am working on a react native solution. Our react web app will host a page with this react-picker. We will open that page with an in-app webview, and using a redirect, the app can pick up the file ids that come back from the picker

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

3 participants