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

bug: removeAllListeners has promise return type but doesn't resolve #5357

Closed
jcesarmobile opened this issue Jan 7, 2022 · 2 comments
Closed
Labels
type: bug A confirmed bug report
Milestone

Comments

@jcesarmobile
Copy link
Member

Bug Report

Capacitor Version

3

Platform(s)

all

Current Behavior

removeAllListeners has promise return type but doesn't resolve

Expected Behavior

removeAllListeners to resolve

Code Reproduction

const result = await Capacitor.Plugins.App.removeAllListeners();
console.log('result', result)

Other Technical Details

npm --version output:

node --version output:

pod --version output (iOS issues only):

Additional Context

promise return type

removeAllListeners(): Promise<void>;

built as nil return type
PluginHeaderMethod(name: "removeAllListeners", rtype: nil),

@jcesarmobile
Copy link
Member Author

addressed here #5526

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 10, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed bug report
Projects
None yet
Development

No branches or pull requests

1 participant