Does anybody know how to stack trace the error logs and maps the errors to source without ionic pro. Or anybody can post a sample showing the use of ionic error monitoring and logs stack trace
Related
I am using Ionic 5 with Capacitor 2.4. Sometimes there are errors at runtime like this when running on android or apple devices:
"#capacitor://localhost/3.008c706ad59f318aa3fd.js:1:3212\n__tryOrUnsub#capacitor://localhost/main.c68298d83b828b6fc082.js:1:286188\nnext#capacitor://localhost/main.c68298d83b828b6fc082.js:1:285417\n_next#capacitor://localhost/main.c68298d83b828b6fc082.js:1:284580\nnext#capacitor://localhost/main.c68298d83b828b6fc082.js:1:284355\n_next#capacitor://localhost/main.c68298d83b828b6fc082.js:1:1180252\nnext#capacitor://localhost/main.c68298d83b828b6fc082.js:1:284355\n_next#capacitor://localhost/main.c68298d83b828b6fc082.js:1:1180252\nnext#capacitor://localhost/main.c68298d83b828b6fc082.js:1:284355\ndispatch#capacitor://localhost/main.c68298d83b828b6fc082.js:1:1266164\n#capacitor://localhost/main.c68298d83b828b6fc082.js:1:1311804\nonInvoke#capacitor://localhost/main.c68298d83b828b6fc082.js:1:1088017\nrunGuarded#capacitor://localhost/polyfills.4ea97ed0da6445bc9427.js:1:2235\n#capacitor://localhost/main.c68298d83b828b6fc082.js:1:1311791\n_execute#capacitor://localhost/main.c68298d83b828b6fc082.js:1:44143\nexecute#capacitor://localhost/main.c68298d83b828b6fc082.js:1:43992\nflush#capacitor://localhost/main.c68298d83b828b6fc082.js:1:707896\nflush#[native code]\nrunTask#capacitor://localhost/polyfills.4ea97ed0da6445bc9427.js:1:2731\ninvokeTask#capacitor://localhost/polyfills.4ea97ed0da6445bc9427.js:1:8369\n#capacitor://localhost/polyfills.4ea97ed0da6445bc9427.js:1:32140"
I do not have any ideas why or when this happens. It is not reproducible and occurs sporadically with some users of my app.
Any ideas?
Thanks, Maik.
I am trying to use the “Device” plugin in ionic 4 (4.10.2) with the same commands indicated in the ionic page and when trying to run the app I get the following error.
Ionic Error
PS: I’m trying to make a console.log of the device version.
console.log(this.device.uuid);
Ionic doc: https://ionicframework.com/docs/native/device#usage
Any solution?
Thank you
I just walk through the ionic guidance to build an ionic app. After the app deployed on my android device, it always displays an error message "detected problems with API compatibility (visit g.co/dev/appcompat for more information)" as the enclosed screenshot.
I tried to package and deploy the app with Cordova and Capacitor. The same error message displayed. (yes, Capacitor actually based on Cordova).
I just walk through the g.co/dev/appcompat and do some search online. It is caused by Restrictions on non-SDK interfaces of Android 9. The app was created with ionic start template.
Anyone know the solution to dissolve the warning message? Thanks very much~
Please find the exact error in screenshot
i am getting this error while running the ionic app can anyone can tell what is this error.
https://i.stack.imgur.com/wZ2fj.png
This currently is a known issue in SuperTabs, it was fixed for Ionic 3.4 but appears to be a regression when using Ionic 3.6.
I downloaded the example project from Auth0's website. When I run the project with the ionic serve command the main page pulls up fine, but when I press login it throws the error Cannot read property 'isAvailable' of undefined. I have tried running this app on an Android device and it does work. Any ideas on how to fix this error? Thanks.
#cyberabis is correct in his comment.
ionic serve does not load cordova plugins.
Auth0 uses auth0-cordova plugin which in turn requires:
cordova-plugin-safariviewcontroller
cordova-plugin-customurlscheme
All these require you to run the ionic app in your device or emulator if you want to test the login functionality.