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

Latest Version is broken on react native #29

Open
ivan-jorge001 opened this issue Feb 20, 2024 · 1 comment
Open

Latest Version is broken on react native #29

ivan-jorge001 opened this issue Feb 20, 2024 · 1 comment

Comments

@ivan-jorge001
Copy link

This break react native because it does have a window object defined but doesnt have that method, can we use
import { encode as btoa } from 'base-64';

typeof window !== "undefined" ? window.btoa(JSON.stringify(filter)) : null

@ivan-jorge001
Copy link
Author

PR to fix it #30

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

1 participant