Skip to content

Opera browser does not open login page #452

Description

@sarbyn

How to reproduce:

  • Setup opera (version 50.2.xxxx) as default browser
  • Try to login

Expected:

  • Opera browser loads the login page

Actual:

  • ActivityNotFoundException is thrown

With a little bit of debugging I've found that Opera does not expose the Intent.CATEGORY_BROWSABLE intent filter. The library fails at BrowserSelector.isFullBrowser():

// The filter must match ACTION_VIEW, CATEGORY_BROWSEABLE, and at least one scheme, if (!resolveInfo.filter.hasAction(Intent.ACTION_VIEW) || !resolveInfo.filter.hasCategory(Intent.CATEGORY_BROWSABLE) || resolveInfo.filter.schemesIterator() == null) { return false; }

Then an ActivityNotFoundException is thrown (as espected) but the user is unable to login.

This is the intended behaviour or I've missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions