Web Console Logs
To debug JavaScript in your web content in our browser-based simulators you can run the below GoNative JavaScript Bridge command and on the "More Devices" window click to enable "Debug Log". Note that this functionality is currently only supported on iOS.
↔️GoNative JavaScript Bridge
To enable display of the web console log in the app debug log
gonative.weblogs.enable();
You can also add the below as Custom JavaScript on the Website Overrides tab. This way you do not need to make any changes to your web content.
window.onload = function() {
window.location.href = 'gonative://weblogs/enable';
};
Updated about 1 month ago