Giter Site home page Giter Site logo

[Bug] WebAuthenticator/Android - user case scenario when WebAuthenticator opens external Chrome and does not return to app about essentials HOT 3 CLOSED

ideveloperaz avatar ideveloperaz commented on June 15, 2024
[Bug] WebAuthenticator/Android - user case scenario when WebAuthenticator opens external Chrome and does not return to app

from essentials.

Comments (3)

Samidarex avatar Samidarex commented on June 15, 2024

Hi @ideveloperaz, have you considered adding "launchMode: SingleTask" into your main activity? Also are you using intent-filters which will handle the callback from the custom chrome tabs?

If not here's an example of an intent filter that might help you:

[IntentFilter(
new[] { Intent.ActionView },
Categories = new[] { Intent.CategoryDefault, Intent.CategoryBrowsable },
DataScheme = "https", // Replace with your actual scheme
DataHost = "test.com" // Replace with your actual host
)];

I hope this proves helpful in resolving your issue.

from essentials.

ideveloperaz avatar ideveloperaz commented on June 15, 2024

Hi @Samidarex

Thank you for your help ... yes launchMode: SingleTask did the work ... we had launchMode: SingleInstance before .. and that is exactly where SingleTask differs from SingleInstance!

I'm just wondering why documents do not say anything about that !?!?

from essentials.

ideveloperaz avatar ideveloperaz commented on June 15, 2024

thank you a lot! case solved!

from essentials.

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.