Skip to content

[Bug]: PluginCall.resolve logs in Logcat inconsistently #8063

@croraf

Description

@croraf

Capacitor Version

@capacitor/core: 7.4.2
@capacitor/android: 7.4.2

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

PluginCall.resolve logs in Logcat when called with no argument call.resolve();

Capacitor/Console I File: - Line 334 - Msg: undefined

But doesn't log anything if called with an argument:

JSObject test = new JSObject();
call.resolve(test);

In the browser's console I see log for both of these variants. Also it is confusing that file name in Logcat is empty while in the browser it is named like VM19 or so.

Image

Expected Behavior

The log should either show or not show for both method overloads.

If shown it would be nice to show the file name also.

Project Reproduction

Reproduction repo details in README.md

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions