You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2021-07-11 09:28:07.945 3394-3394/jeep.test.bug E/Capacitor/Console: File: http://localhost/vendor.js - Line 43755 - Msg: ERROR Error: Uncaught (in promise): Error: "JeepBug.toJSON()" is not implemented on android
Error: "JeepBug.toJSON()" is not implemented on android
at http://localhost/vendor.js:87062:31
at ZoneDelegate.invoke (http://localhost/polyfills.js:436:30)
at Object.onInvoke (http://localhost/vendor.js:65973:33)
at ZoneDelegate.invoke (http://localhost/polyfills.js:435:56)
at Zone.run (http://localhost/polyfills.js:196:47)
at http://localhost/polyfills.js:1354:38
at ZoneDelegate.invokeTask (http://localhost/polyfills.js:470:35)
at Object.onInvokeTask (http://localhost/vendor.js:65960:33)
at ZoneDelegate.invokeTask (http://localhost/polyfills.js:469:64)
at Zone.runTask (http://localhost/polyfills.js:241:51)
i developed a capacitor-jeep-bug plugin which is just the standard echo method see https://github.com/jepiqueau/capacitor-jeep-bug
i created a standard Ionic/Angular App see https://github.com/jepiqueau/test-capacitor3-bug
Other Technical Details
npm --version output: 7.6.0
node --version output: v14.15.4
pod --version output (iOS issues only): 1.10.0
Additional Context
Everything is explained in the readme files
The text was updated successfully, but these errors were encountered:
toJSON function is called by JSON.stringify, maybe error reporter like Sentry want to serialize angular context, which contains the plugin.
Maybe would wise to implement toJSON to response some empty object or so
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.
Bug Report
Capacitor Version
Platform(s)
Android
iOS
Current Behavior
in Android
in iOS
Expected Behavior
No Error Message
Code Reproduction
i developed a capacitor-jeep-bug plugin which is just the standard
echo
method seehttps://github.com/jepiqueau/capacitor-jeep-bug
i created a standard Ionic/Angular App see
https://github.com/jepiqueau/test-capacitor3-bug
Other Technical Details
npm --version
output: 7.6.0node --version
output: v14.15.4pod --version
output (iOS issues only): 1.10.0Additional Context
Everything is explained in the readme files
The text was updated successfully, but these errors were encountered: