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

unable to load data with proxy on react native app #68

Open
bilalswiftsolutions opened this issue Jan 1, 2024 · 1 comment
Open

unable to load data with proxy on react native app #68

bilalswiftsolutions opened this issue Jan 1, 2024 · 1 comment

Comments

@bilalswiftsolutions
Copy link

bilalswiftsolutions commented Jan 1, 2024

I am trying to load data on my React native app it is working fine when I try to load data without a proxy. But when adding proxy it does not giving any error and also not load any data it is stuck for an unlimited time

    array.forEach(function (dumpFile) {
          series = series.then(function () {
           
            return localdb.load(dumpFile, {
              proxy: "https://v2.abc.xyz/abc",
              auth: {
                username: "admin",
                password: "****",
              },
            })
          });
        });

    I am using  `react-native-sqlite` adapter

const localdb = new PouchDB("siloc", {
 adapter: "react-native-sqlite",
});

@bilalswiftsolutions
Copy link
Author

@nolanlawson please provide some guidance

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