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

Are HTTP requests using XMLHttpRequest automatically routed via BlackBerry Dynamics connectivity? #34

Open
thomeijken opened this issue Mar 2, 2023 · 0 comments

Comments

@thomeijken
Copy link

I've been trying to get a clear answer on this from the documentation, but I cannot seem to find it. In my app, I need to use the BlackBerry Dynamics connectivity to send HTTP requests to an API. The API is actually located outside of the enterprise network, and the domain we want to send requests to has been whitelisted in the webproxy/firewall. We are able to access this domain via the Blackberry access browser.

From what I understand, The BBD SDK routes any HTTP traffic leaving the enterprise network via the webproxy, where a firewall determines whether the request is allowed to go through. Which is what we need to do.

My app currently uses XMLHttpRequest to call this API from the javascript code. When I include the BBD cordova base plugin, are these requests then automatically routed via BlackBerry Dynamics connectivity? Or do I now have to use the GDHttpRequest class to send all of my Http requests?

I set up some simple tests using XMLHttpRequest and ran these in the client environment, but the requests don't seem to go through at all (connection refused).

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