Re: [I] iOS 16.4 (and up) webview can not debug in Safari web inspector [cordova-plugin-inappbrowser]
dylanfpaul commented on issue #1005: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1005#issuecomment-2215409323 @breautek , thank you so much I really appreciate your reply! I am going to attempt setting the preference in my config I think that is the approach I need to take. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
Re: [I] iOS 16.4 (and up) webview can not debug in Safari web inspector [cordova-plugin-inappbrowser]
breautek commented on issue #1005: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1005#issuecomment-2215314120 With the current version of cordova-ios and the in-app-browser plugin, AND iOS 16.4 or later, you can debug the webview on both the main cordova webview, and the in-app browser webview by setting the `InspectableWebview` preference to true. It will be enabled including on release builds if you explicitly set it to true. You can do this by adding this in your `config.xml`: ```xml ... ``` This does mean that anyone who runs your app will be able to connect to the safari web inspector and run arbitrary code against your app, etc. So it may be an option you want to disable for actual production releases. On iOS 16.3 and earlier the ability to control the inspector did not exist and it was only available in debug builds. So for the above to work, you need to be on iOS 16.4 or later. > @breautek , there is an option to set the archive "scheme" to archive a debug build in Xcode. If I put this "debug" mode archive into TestFlight I am guessing I will be able to install that build onto my device, and finally inspect it. Fingers crossed. Testflight runs through the app store, without actually publishing to the app store. So by uploading to testflight, you're actually just uploading to the app store (without publishing that binary to your consumers). Because of that the same app-store checks on binary uploads are done. Debug builds includes both the iphone sdk build the iphonesimulator builds and the upload checks I'm fairly certain will reject binaries in which includes the iphonesimulator packed. The debug binaries includes the iphonesimulator sdk build which is why I don't think uploading a Debug binary will work. At the very least you'll need to limit the scheme to build only the iphoneos arm64 binaries, which you'll need to configure the xcode settings to do so. But I'm pretty sure Apple will also reject binaries built in Debug mode as well as they do not have the expected optimization levels for release deployments, even if you intend to only publish the binary through your testflight channel. Anyway, like I said above you don't need to do this, just set the `InspectableWebview` to true and test on a iOS 16.4 or later device. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
Re: [I] iOS 16.4 (and up) webview can not debug in Safari web inspector [cordova-plugin-inappbrowser]
dylanfpaul commented on issue #1005: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1005#issuecomment-2215069488 @breautek , there is an option to set the archive "scheme" to archive a debug build in Xcode. If I put this "debug" mode archive into TestFlight I am guessing I will be able to install that build onto my device, and finally inspect it. Fingers crossed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
Re: [I] iOS 16.4 (and up) webview can not debug in Safari web inspector [cordova-plugin-inappbrowser]
dylanfpaul commented on issue #1005: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1005#issuecomment-2214965939 Does this mean it is impossible for me to inspect a build that is in testflight? I was hoping this was possible because when the app is in testflight I can actually test firebase push notifications which is not enabled in a debug build. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
Re: [I] iOS 16.4 (and up) webview can not debug in Safari web inspector [cordova-plugin-inappbrowser]
dylanfpaul commented on issue #1005: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1005#issuecomment-2214935371 @jcesarmobile , so how do I actually do a "debug" build to make the application available to the web inspector? I tried running a "debug" cordova build, and then putting the resulting build onto testflight with XCode. When I download the build from TestFlight on my device, connect my device to my computer via a cable, it is still unavailable in the web inspector. I ran a "debug" cordova build by running `cordova build ios ---debug` Still can't get it to show up as inspectable in Safari on my computer -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org