You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a react native project, attempting to set Parse async storage using JS API (setAsyncStorage) throws an error "Can't find variable: indexedDB". The Async Storage is from @react-native-async-storage/async-storage
Steps to reproduce
import AsyncStorage from '@react-native-async-storage/async-storage';
const Parse = require('parse/react-native.js');
Parse.setAsyncStorage(AsyncStorage);
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
New Issue Checklist
Issue Description
In a react native project, attempting to set Parse async storage using JS API (setAsyncStorage) throws an error "Can't find variable: indexedDB". The Async Storage is from @react-native-async-storage/async-storage
Steps to reproduce
I've reproduced the issue in this repository below with minimal code.
https://github.com/chillaxdev/RNIDbIssue
Actual Outcome
Possible Unhandled Promise Rejection (id: 0): ReferenceError: Can't find variable: indexedDB
Expected Outcome
No errors & warnings.
Environment
Client
3.4.1
Logs
The text was updated successfully, but these errors were encountered: