mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
IntentUtils only treated a nostrsigner: request as coming from a web page when Chrome's Browser.EXTRA_APPLICATION_ID extra was present. Browsers like DuckDuckGo don't set it, so their URL-encoded requests were parsed as intent extras and failed with "Unknown signer type". The request is now parsed from the URI when Chrome's extra is present, or, if there is no native `type` extra, when the intent has the BROWSABLE category, the referrer is a browser (http(s) referrer or a package that handles https links), or the URI carries a `type=` query parameter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>