GithubHelp home page GithubHelp logo

Comments (5)

janpio avatar janpio commented on July 20, 2024 2

Feel free to investigate this further @dd09012 - Cordova committers are volunteers working on this in their free time, and this doesn't seem to have been anyone's priority.

Suggestion 1: Create a new app with cordova create, implement the absolute minimum to be able to reproduce this feature/bug (e.g. "loadstart worsk with normal URLs, but not with custom URLs"), put it on GitHub and then post the URL to the repository here - this will make it much easier for someone to jump in.

After a contributor looked at this project and confirmed this as a bug, this issue will get the appropriate tag and it will be able to be fixed by someone looking for something to work on.


@lougreenwood

http://git.lunargravity.be/project/Dag-secret-calculator/blob/3587c7a66a932c7de7183776880a55b4047eeb78/plugins/cordova-plugin-inappbrowser/src/android/InAppBrowser.java#L872

No idea what codebase this links to, the current place of this code is at

else
{
// Assume that everything is HTTP at this point, because if we don't specify,
// it really should be. Complain loudly about this!!!
LOG.e(LOG_TAG, "Possible Uncaught/Unknown URI");
newloc = "http://" + url;
}

seemingly making intercepting the custom url scheme page loads with the 'loadstart' event not possible

Is this speculation or have you tried this and it didn't work because of this code?

from cordova-plugin-inappbrowser.

raskri avatar raskri commented on July 20, 2024 1

Still an issue for me and my project :( has anyone solved this issue?

from cordova-plugin-inappbrowser.

dd09012 avatar dd09012 commented on July 20, 2024

We have come across exactly the same problem and don't know how we should proceed now.

If this is a feature, then why doesn't inappbrowser on ios have the same 'logic'.
If it is a bug, then why hasn't it been fixed yet.

Any suggestions on how to handle an oauth (in our case auth0) callback to an android app are greatly appreciated.

from cordova-plugin-inappbrowser.

jim0020 avatar jim0020 commented on July 20, 2024

What's the status of this PR? I can confirm that the loadstart event callback receives my custom url in the event.url field, but an 'http://' is prepended like http://MyCustomUrlScheme://authorized?code=ABCDEFG

Also the customscheme event is never called, probably because the custom url scheme isn't recognized due to the prepended 'http://'.

Again, this is only on Android. iOS works fine.

from cordova-plugin-inappbrowser.

coolvasanth avatar coolvasanth commented on July 20, 2024

Even I'm facing the similar problem ? Have you found any solution for same ?

from cordova-plugin-inappbrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.