Skip to content

Broken compatibility with custom url scheme plugin window.handleOpenURL method #718

@marcoNoeFi

Description

@marcoNoeFi

Bug report

CHECKLIST

Current behavior:
Broken compatibility with https://github.com/EddyVerbruggen/Custom-URL-scheme (tried installing both latest version 5.0.2 and from github msater branch)
With plugin version 14.0.0 the function window.handleOpenURL is not called when opening the app through a registered custom url scheme on iOS
The same code works with plugin version 13.0.1

Expected behavior:
function window.handleOpenURL should be called when opening through a registered custom url scheme

Steps to reproduce:

  1. Install version 14.0.0 in combination with https://github.com/EddyVerbruggen/Custom-URL-scheme
  2. Declare window.handleOpenURL as described in the other plugin README.md
  3. Verify that window.handleOpenURL is never called.
  4. Install previous version 13.0.1 and verify that window.handleOpenURL is called.

Screenshots
N/A

Environment information

  • Cordova CLI version
    tested with 10.0.0 and 11.0.0

  • Cordova platform version
    ios 6.0.2

  • Plugins & versions installed in project (including this plugin)

  • Dev machine OS and version, e.g.
    OSX 12.2.1

Runtime issue

  • Device details
    iPhone13 emulator, iPhone 8 plus emulator, iPhone 8 real device, iPhoneX real device
  • OS details
    iOS 15.0 / iOS 15.3.1

iOS build issue:

  • Node JS version
    v12.18.2
  • XCode version
    13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions