Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova does not properly initialize if scheme is set to an illegal value. #1586

Open
3 tasks done
breautek opened this issue Apr 5, 2023 · 0 comments
Open
3 tasks done
Labels

Comments

@breautek
Copy link
Contributor

breautek commented Apr 5, 2023

Bug Report

Problem

What is expected to happen?

It should be made clear that the scheme is an illegal value, either via an error
or produce a warning and fallback to a legal value.

What does actually happen?

Cordova launches but deviceready never fires.

Information

The issue was initially discovered at apache/cordova-plugin-file#564 (comment)

Command or Code

Inside config.xml at the root level:

 <preference name="scheme" value="app" />
 <preference name="hostname" value="io.globules.test" />

Environment, Platform, Device

Android 6 Emulator (API 23)
[email protected]
[email protected]

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@breautek breautek added the bug label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant