-
Notifications
You must be signed in to change notification settings - Fork 9
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
JavaScript Logs for iOS 14.6 are not getting captured but working for Android 10 #6
Comments
Thanks for your kind feedback. Please note that once the plugin has started, the logs are no more captured by the XCode console : you need to display them within your app using a custom page/logger (via the getLog function) Hope it helps |
Hi Olivier, Thanks for your reply. What I have done in my App is I have a button called "Send Logs as Email" and when the button is clicked, the NativeLogs.getLog() function is called. In the callback function of the "getLog()" method I have written code to captune the "_logs" variable which should contains all the XCode logs along with the JavaScript console logs and I am using another plugin cordova-plugin-email-composer" to send the logs as a text attachment in the email.
Thanks and Regards, |
Hi Olivier,
First of all many thanks for this solution!!! It was a life saver.
I used the plugin in my Android Cordova App and was able to get the JavaScript Logs of my app without any issue (I installed the App on my Android 10 Mobile). But when I installed the iOS version (I am using iOS 14.6 iPad) of the App with the same app code, I could not see the JavaScript logs generated from the app. I got the following log only:
2021-08-04 14:40:13.382 Neptune D[36066:5497518] [CDVTimer][nativelogs] 0.438929ms
2021-08-04 14:40:13.386 Neptune D[36066:5497518] [CDVTimer][file] 1.182914ms
2021-08-04 14:40:13.386 Neptune D[36066:5497518] [CDVTimer][inappbrowser] 0.048995ms
2021-08-04 14:40:13.387 Neptune D[36066:5497518] [CDVTimer][statusbar] 1.018047ms
2021-08-04 14:40:13.387 Neptune D[36066:5497518] [CDVTimer][TotalPluginStartup] 8.111954ms
2021-08-04 14:40:13.452 Neptune D[36066:5497518] IAB.close() called but it was already closed.
2021-08-04 14:40:19.301 Neptune D[36066:5497518] THREAD WARNING: ['InAppBrowser'] took '14.944092' ms. Plugin should use a background thread.
2021-08-04 14:40:19.343 Neptune D[36066:5497518] No
2021-08-04 14:40:19.347 Neptune D[36066:5497518] didStartProvisionalNavigation
2021-08-04 14:40:19.830 Neptune D[36066:5497518] Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x102c2a630>.
Can you please help me on this?
Thanks and Regards,
Sushant
The text was updated successfully, but these errors were encountered: