You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/30 15:27:01 UTC

[GitHub] [cordova-plugin-wkwebview-engine] marcostadeusc opened a new issue #169: Problems during migration from UIWEBVIEW to WKWEBVIEW

marcostadeusc opened a new issue #169:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/169


   # Bug Report
   
   ## Problem
   Since Apple annoucement that UIWebView is getting deprecated and need an upgrade to WKWebView, we have started the migration to it. But we got a lot of problems. We have changed cordova-ios from 5.0.1 to 5.1.0; Changed cordova-plugin-inappbrowser from 3.1.0 to 4.0.0. Added the following plugins: "cordova-plugin-wkwebview-engine", "https://github.com/TheMattRay/cordova-plugin-wkwebviewxhrfix.git" and "cordova-plugin-cors";
   
   We have added the following to config.xml: <preference name="WKWebViewOnly" value="true" />
   		<feature name="CDVWKWebViewEngine">
   			<param name="ios-package" value="CDVWKWebViewEngine" />
   		</feature>
   		<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
   		<preference name="AllowBackForwardNavigationGestures" value="true" />
   		<preference name="Allow3DTouchLinkPreview" value="false" />
   
   After added the WKWebViewOnly key, we are not able to add platform iOS to the project, so we added just after added platform.
   The build goes fine, but we had some problems when run on Xcode.
   ### What is expected to happen?
   Should run fine on Xcode.
   
   
   ### What does actually happen?
   The app have stopped when try to login.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   Since we have migrated to WKWebView we are not being able to load some http request.
   
   I have the following log from Xcode below:
   
   2020-07-30 11:43:49.279541-0300 App Name[834:257875] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/3A99558F-6477-40A6-A600-7D85516DA621/Library/Cookies/Cookies.binarycookies
   2020-07-30 11:43:49.374505-0300 App Name[834:258083]  - <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
   2020-07-30 11:43:49.412777-0300 App Name[834:258083] 6.3.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
   2020-07-30 11:43:49.697682-0300 App Name[834:258085] 6.3.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60002000 started
   2020-07-30 11:43:49.699057-0300 App Name[834:258085] 6.3.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
   2020-07-30 11:43:49.766670-0300 App Name[834:257875] Apache Cordova native platform version 5.1.0 is starting.
   2020-07-30 11:43:49.767616-0300 App Name[834:257875] Multi-tasking -> Device: YES, App: YES
   2020-07-30 11:43:49.790531-0300 App Name[834:257875] 
   
   Started backup to iCloud! Please be careful.
   Your application might be rejected by Apple if you store too much data.
   For more information please read "iOS Data Storage Guidelines" at:
   https://developer.apple.com/icloud/documentation/data-storage/
   To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file
   2020-07-30 11:43:49.887073-0300 App Name[834:258082] 6.3.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
   https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
   to ensure proper integration.
   2020-07-30 11:43:50.729242-0300 App Name[834:257875] CDVWKWebViewEngine will reload WKWebView if required on resume
   2020-07-30 11:43:50.729530-0300 App Name[834:257875] Using WKWebView
   2020-07-30 11:43:50.731264-0300 App Name[834:257875] [CDVTimer][console] 0.229955ms
   2020-07-30 11:43:50.731818-0300 App Name[834:257875] [CDVTimer][handleopenurl] 0.304937ms
   2020-07-30 11:43:50.736123-0300 App Name[834:257875] Unlimited access to network resources
   2020-07-30 11:43:50.736728-0300 App Name[834:257875] Unlimited access to network resources
   2020-07-30 11:43:50.737072-0300 App Name[834:257875] [CDVTimer][intentandnavigationfilter] 5.020976ms
   2020-07-30 11:43:50.737631-0300 App Name[834:257875] [CDVTimer][gesturehandler] 0.364065ms
   2020-07-30 11:43:50.741943-0300 App Name[834:257875] [CDVTimer][file] 4.045010ms
   2020-07-30 11:43:50.755533-0300 App Name[834:257875] WARNING: The splashscreen image named Default-568h was not found
   2020-07-30 11:43:50.755727-0300 App Name[834:257875] [CDVTimer][splashscreen] 13.517022ms
   2020-07-30 11:43:50.771696-0300 App Name[834:257875] [CDVTimer][statusbar] 15.774012ms
   2020-07-30 11:43:50.772361-0300 App Name[834:257875] [CDVTimer][socialsharing] 0.364065ms
   2020-07-30 11:43:50.773622-0300 App Name[834:257875] Starting Facebook Connect plugin
   2020-07-30 11:43:50.773907-0300 App Name[834:257875] [CDVTimer][facebookconnectplugin] 1.230955ms
   2020-07-30 11:43:50.774419-0300 App Name[834:257875] [CDVTimer][inappbrowser] 0.297904ms
   2020-07-30 11:43:50.774916-0300 App Name[834:257875] [CDVTimer][disablestatusbar] 0.291944ms
   2020-07-30 11:43:50.775333-0300 App Name[834:257875] [CDVTimer][firebasemessaging] 0.234008ms
   2020-07-30 11:43:50.776067-0300 App Name[834:257875] [CDVTimer][keyboard] 0.491023ms
   2020-07-30 11:43:50.776664-0300 App Name[834:257875] [CDVTimer][cors] 0.349998ms
   2020-07-30 11:43:50.783602-0300 App Name[834:257875] CDVPlugin class WKWebViewXHRFix (pluginName: wkwebviewxhrfix) does not exist.
   2020-07-30 11:43:50.783914-0300 App Name[834:257875] [CDVTimer][wkwebviewxhrfix] 7.019997ms
   2020-07-30 11:43:50.784117-0300 App Name[834:257875] [CDVTimer][TotalPluginStartup] 53.207994ms
   2020-07-30 11:43:50.787795-0300 App Name[834:257875] WARNING: The splashscreen image named Default-568h was not found
   2020-07-30 11:43:50.789005-0300 App Name[834:257875] WARNING: The splashscreen image named Default-568h was not found
   2020-07-30 11:43:50.950179-0300 App Name[834:257875] IAB.close() called but it was already closed.
   2020-07-30 11:43:51.372796-0300 App Name[834:258086] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x1012212f0] get output frames failed, state 8196
   2020-07-30 11:43:51.373629-0300 App Name[834:258086] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x1012212f0] get output frames failed, state 8196
   2020-07-30 11:43:51.407465-0300 App Name[834:258086] TIC Read Status [2:0x0]: 1:57
   2020-07-30 11:43:51.409949-0300 App Name[834:258086] TIC Read Status [2:0x0]: 1:57
   2020-07-30 11:43:52.963840-0300 App Name[834:257875] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
   2020-07-30 11:43:52.972555-0300 App Name[834:257875] [MC] Reading from public effective user settings.
   2020-07-30 11:43:53.020159-0300 App Name[834:257875] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x282096400, domain=1, instance=1>
   2020-07-30 11:43:53.112587-0300 App Name[834:258081] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C4.1:2][0x101203120] get output frames failed, state 8196
   2020-07-30 11:43:53.113997-0300 App Name[834:258081] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C4.1:2][0x101203120] get output frames failed, state 8196
   2020-07-30 11:43:53.115191-0300 App Name[834:258081] TIC Read Status [4:0x0]: 1:57
   2020-07-30 11:43:53.115295-0300 App Name[834:258081] TIC Read Status [4:0x0]: 1:57
   2020-07-30 11:43:54.275721-0300 App Name[834:258081] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x10114c250] get output frames failed, state 8196
   2020-07-30 11:43:54.277417-0300 App Name[834:258081] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x10114c250] get output frames failed, state 8196
   2020-07-30 11:43:54.289952-0300 App Name[834:258081] TIC Read Status [5:0x0]: 1:57
   2020-07-30 11:43:54.290068-0300 App Name[834:258081] TIC Read Status [5:0x0]: 1:57
   2020-07-30 11:43:54.313068-0300 App Name[834:257875] THREAD WARNING: ['Device'] took '42.327881' ms. Plugin should use a background thread.
   2020-07-30 11:43:54.321074-0300 App Name[834:257875] WARNING: The splashscreen image named Default-568h was not found
   2020-07-30 11:43:54.421847-0300 App Name[834:258081] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C7.1:2][0x10114dcf0] get output frames failed, state 8196
   2020-07-30 11:43:54.423907-0300 App Name[834:258081] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C7.1:2][0x10114dcf0] get output frames failed, state 8196
   2020-07-30 11:43:54.426069-0300 App Name[834:258081] TIC Read Status [7:0x0]: 1:57
   2020-07-30 11:43:54.427275-0300 App Name[834:258081] TIC Read Status [7:0x0]: 1:57
   2020-07-30 11:43:54.827652-0300 App Name[834:257875] THREAD WARNING: ['Geolocation'] took '12.273193' ms. Plugin should use a background thread.
   2020-07-30 11:43:54.861846-0300 App Name[834:257875] THREAD WARNING: ['CORS'] took '10.298340' ms. Plugin should use a background thread.
   2020-07-30 11:43:55.676214-0300 App Name[834:258092] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x10114c800] get output frames failed, state 8196
   2020-07-30 11:43:55.677485-0300 App Name[834:258092] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x10114c800] get output frames failed, state 8196
   2020-07-30 11:43:55.679540-0300 App Name[834:258092] TIC Read Status [6:0x0]: 1:57
   2020-07-30 11:43:55.680326-0300 App Name[834:258092] TIC Read Status [6:0x0]: 1:57
   2020-07-30 11:44:04.789973-0300 App Name[834:258082] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C9.1:2][0x101208af0] get output frames failed, state 8196
   2020-07-30 11:44:04.790385-0300 App Name[834:258082] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C9.1:2][0x101208af0] get output frames failed, state 8196
   2020-07-30 11:44:04.791397-0300 App Name[834:258082] TIC Read Status [9:0x0]: 1:57
   2020-07-30 11:44:04.791511-0300 App Name[834:258082] TIC Read Status [9:0x0]: 1:57
   2020-07-30 11:44:05.274685-0300 App Name[834:258085] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C10.1:2][0x1012272b0] get output frames failed, state 8196
   2020-07-30 11:44:05.275439-0300 App Name[834:258085] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C10.1:2][0x1012272b0] get output frames failed, state 8196
   2020-07-30 11:44:05.277035-0300 App Name[834:258085] TIC Read Status [10:0x0]: 1:57
   2020-07-30 11:44:05.277192-0300 App Name[834:258085] TIC Read Status [10:0x0]: 1:57
   2020-07-30 11:44:20.879950-0300 App Name[834:257875] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
   2020-07-30 11:44:20.882349-0300 App Name[834:257875] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
   2020-07-30 11:44:20.886586-0300 App Name[834:257875] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
   2020-07-30 11:44:20.889842-0300 App Name[834:257875] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
   2020-07-30 11:44:48.218492-0300 App Name[834:257875] API error: <_UIKBCompatInputView: 0x101144480; frame = (0 0; 0 0); layer = <CALayer: 0x2820fba40>> returned 0 width, assuming UIViewNoIntrinsicMetric
   2020-07-30 11:44:48.218986-0300 App Name[834:257875] API error: <_UIKBCompatInputView: 0x101144480; frame = (0 0; 0 0); layer = <CALayer: 0x2820fba40>> returned 0 width, assuming UIViewNoIntrinsicMetric
   2020-07-30 11:44:48.734579-0300 App Name[834:257875] [LayoutConstraints] Unable to simultaneously satisfy constraints.
   	Probably at least one of the constraints in the following list is one you don't want. 
   	Try this: 
   		(1) look at each constraint and try to figure out which you don't expect; 
   		(2) find the code that added the unwanted constraint or constraints and fix it. 
   	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
   (
       "<NSAutoresizingMaskLayoutConstraint:0x28036e0d0 h=-&- v=-&- _UIToolbarContentView:0x1011243c0.width == UIToolbar:0x1012215e0.width   (active)>",
       "<NSLayoutConstraint:0x280363f20 H:|-(0)-[_UIButtonBarStackView:0x101140a10]   (active, names: '|':_UIToolbarContentView:0x1011243c0 )>",
       "<NSLayoutConstraint:0x280361b80 _UIButtonBarStackView:0x101140a10.trailing == _UIToolbarContentView:0x1011243c0.trailing   (active)>",
       "<NSLayoutConstraint:0x28036c550 H:|-(16)-[_UIModernBarButton:0x10116c460]   (active, names: '|':_UIButtonBarButton:0x10116c010 )>",
       "<NSLayoutConstraint:0x28036c5a0 H:[_UIModernBarButton:0x10116c460]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x10116c010 )>",
       "<NSLayoutConstraint:0x28036cb90 H:|-(>=5)-[_UIModernBarButton:0x101251170]   (active, names: '|':_UIButtonBarButton:0x101250b20 )>",
       "<NSLayoutConstraint:0x28036cbe0 H:[_UIModernBarButton:0x101251170]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x101250b20 )>",
       "<NSLayoutConstraint:0x2803106e0 H:|-(8)-[_UIModernBarButton:0x101252620'OK']   (active, names: '|':_UIButtonBarButton:0x101251a90 )>",
       "<NSLayoutConstraint:0x280310730 H:[_UIModernBarButton:0x101252620'OK']-(16)-|   (active, names: '|':_UIButtonBarButton:0x101251a90 )>",
       "<NSLayoutConstraint:0x28036d680 'UISV-canvas-connection' UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x10116c010.leading   (active)>",
       "<NSLayoutConstraint:0x28036d6d0 'UISV-canvas-connection' UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x101251a90.trailing   (active)>",
       "<NSLayoutConstraint:0x28036d720 'UISV-spacing' H:[_UIButtonBarButton:0x10116c010]-(0)-[UIView:0x101250940]   (active)>",
       "<NSLayoutConstraint:0x28036d770 'UISV-spacing' H:[UIView:0x101250940]-(0)-[_UIButtonBarButton:0x101250b20]   (active)>",
       "<NSLayoutConstraint:0x28036d7c0 'UISV-spacing' H:[_UIButtonBarButton:0x101250b20]-(0)-[UIView:0x1012518b0]   (active)>",
       "<NSLayoutConstraint:0x28036d810 'UISV-spacing' H:[UIView:0x1012518b0]-(0)-[_UIButtonBarButton:0x101251a90]   (active)>",
       "<NSLayoutConstraint:0x28036e260 'UIView-Encapsulated-Layout-Width' UIToolbar:0x1012215e0.width == 0   (active)>",
       "<NSLayoutConstraint:0x280362580 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x101140a10 )>",
       "<NSLayoutConstraint:0x280363b10 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x101140a10 )>"
   )
   
   Will attempt to recover by breaking constraint 
   <NSLayoutConstraint:0x28036c5a0 H:[_UIModernBarButton:0x10116c460]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x10116c010 )>
   
   Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
   The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
   2020-07-30 11:44:48.742107-0300 App Name[834:257875] [LayoutConstraints] Unable to simultaneously satisfy constraints.
   	Probably at least one of the constraints in the following list is one you don't want. 
   	Try this: 
   		(1) look at each constraint and try to figure out which you don't expect; 
   		(2) find the code that added the unwanted constraint or constraints and fix it. 
   	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
   (
       "<NSAutoresizingMaskLayoutConstraint:0x28036e0d0 h=-&- v=-&- _UIToolbarContentView:0x1011243c0.width == UIToolbar:0x1012215e0.width   (active)>",
       "<NSLayoutConstraint:0x280363f20 H:|-(0)-[_UIButtonBarStackView:0x101140a10]   (active, names: '|':_UIToolbarContentView:0x1011243c0 )>",
       "<NSLayoutConstraint:0x280361b80 _UIButtonBarStackView:0x101140a10.trailing == _UIToolbarContentView:0x1011243c0.trailing   (active)>",
       "<NSLayoutConstraint:0x28036cb90 H:|-(>=5)-[_UIModernBarButton:0x101251170]   (active, names: '|':_UIButtonBarButton:0x101250b20 )>",
       "<NSLayoutConstraint:0x28036cbe0 H:[_UIModernBarButton:0x101251170]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x101250b20 )>",
       "<NSLayoutConstraint:0x2803106e0 H:|-(8)-[_UIModernBarButton:0x101252620'OK']   (active, names: '|':_UIButtonBarButton:0x101251a90 )>",
       "<NSLayoutConstraint:0x280310730 H:[_UIModernBarButton:0x101252620'OK']-(16)-|   (active, names: '|':_UIButtonBarButton:0x101251a90 )>",
       "<NSLayoutConstraint:0x28036d680 'UISV-canvas-connection' UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x10116c010.leading   (active)>",
       "<NSLayoutConstraint:0x28036d6d0 'UISV-canvas-connection' UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x101251a90.trailing   (active)>",
       "<NSLayoutConstraint:0x28036d720 'UISV-spacing' H:[_UIButtonBarButton:0x10116c010]-(0)-[UIView:0x101250940]   (active)>",
       "<NSLayoutConstraint:0x28036d770 'UISV-spacing' H:[UIView:0x101250940]-(0)-[_UIButtonBarButton:0x101250b20]   (active)>",
       "<NSLayoutConstraint:0x28036d7c0 'UISV-spacing' H:[_UIButtonBarButton:0x101250b20]-(0)-[UIView:0x1012518b0]   (active)>",
       "<NSLayoutConstraint:0x28036d810 'UISV-spacing' H:[UIView:0x1012518b0]-(0)-[_UIButtonBarButton:0x101251a90]   (active)>",
       "<NSLayoutConstraint:0x28036e260 'UIView-Encapsulated-Layout-Width' UIToolbar:0x1012215e0.width == 0   (active)>",
       "<NSLayoutConstraint:0x280362580 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x101140a10 )>",
       "<NSLayoutConstraint:0x280363b10 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x101140a10 )>"
   )
   
   Will attempt to recover by breaking constraint 
   <NSLayoutConstraint:0x28036cbe0 H:[_UIModernBarButton:0x101251170]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x101250b20 )>
   
   Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
   The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
   2020-07-30 11:44:48.756991-0300 App Name[834:257875] [LayoutConstraints] Unable to simultaneously satisfy constraints.
   	Probably at least one of the constraints in the following list is one you don't want. 
   	Try this: 
   		(1) look at each constraint and try to figure out which you don't expect; 
   		(2) find the code that added the unwanted constraint or constraints and fix it. 
   	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
   (
       "<NSAutoresizingMaskLayoutConstraint:0x28036e0d0 h=-&- v=-&- _UIToolbarContentView:0x1011243c0.width == UIToolbar:0x1012215e0.width   (active)>",
       "<NSLayoutConstraint:0x280363f20 H:|-(0)-[_UIButtonBarStackView:0x101140a10]   (active, names: '|':_UIToolbarContentView:0x1011243c0 )>",
       "<NSLayoutConstraint:0x280361b80 _UIButtonBarStackView:0x101140a10.trailing == _UIToolbarContentView:0x1011243c0.trailing   (active)>",
       "<NSLayoutConstraint:0x2803106e0 H:|-(8)-[_UIModernBarButton:0x101252620'OK']   (active, names: '|':_UIButtonBarButton:0x101251a90 )>",
       "<NSLayoutConstraint:0x280310730 H:[_UIModernBarButton:0x101252620'OK']-(16)-|   (active, names: '|':_UIButtonBarButton:0x101251a90 )>",
       "<NSLayoutConstraint:0x28036d680 'UISV-canvas-connection' UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x10116c010.leading   (active)>",
       "<NSLayoutConstraint:0x28036d6d0 'UISV-canvas-connection' UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x101251a90.trailing   (active)>",
       "<NSLayoutConstraint:0x28036d720 'UISV-spacing' H:[_UIButtonBarButton:0x10116c010]-(0)-[UIView:0x101250940]   (active)>",
       "<NSLayoutConstraint:0x28036d770 'UISV-spacing' H:[UIView:0x101250940]-(0)-[_UIButtonBarButton:0x101250b20]   (active)>",
       "<NSLayoutConstraint:0x28036d7c0 'UISV-spacing' H:[_UIButtonBarButton:0x101250b20]-(0)-[UIView:0x1012518b0]   (active)>",
       "<NSLayoutConstraint:0x28036d810 'UISV-spacing' H:[UIView:0x1012518b0]-(0)-[_UIButtonBarButton:0x101251a90]   (active)>",
       "<NSLayoutConstraint:0x28036e260 'UIView-Encapsulated-Layout-Width' UIToolbar:0x1012215e0.width == 0   (active)>",
       "<NSLayoutConstraint:0x280362580 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x101140a10 )>",
       "<NSLayoutConstraint:0x280363b10 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281950700'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x101140a10 )>"
   )
   
   Will attempt to recover by breaking constraint 
   <NSLayoutConstraint:0x280310730 H:[_UIModernBarButton:0x101252620'OK']-(16)-|   (active, names: '|':_UIButtonBarButton:0x101251a90 )>
   
   Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
   The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
   2020-07-30 11:44:48.940720-0300 App Name[834:257875] [Common] _BSMachError: port b81f; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
   2020-07-30 11:45:06.034890-0300 App Name[834:257875] [Common] _BSMachError: port 827f; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
   2020-07-30 11:45:11.160344-0300 App Name[834:257875] -[__NSArrayM length]: unrecognized selector sent to instance 0x282e2c1b0
   2020-07-30 11:45:11.162099-0300 App Name[834:257875] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM length]: unrecognized selector sent to instance 0x282e2c1b0'
   *** First throw call stack:
   (0x1d869f180 0x1d78779f8 0x1d85bb9bc 0x1d86a49c8 0x1d86a665c 0x1d8ded214 0x1d8c876fc 0x1d8d08880 0x1005108f8 0x100694e0c 0x10050db18 0x10050ee6c 0x1e7cda0cc 0x1e7e3d744 0x1e7fa90b8 0x1e7bcae38 0x1e7d8a8a8 0x1e7bbb9a8 0x1e7bbe568 0x1df871648 0x1df871908 0x1d8630f1c 0x1d8630e9c 0x1d8630784 0x1d862b6c0 0x1d862afb4 0x1da82c79c 0x204cd2c38 0x10038b9d4 0x1d80ee8e0)
   libc++abi.dylib: terminating with uncaught exception of type NSException
   (lldb) 
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   - iPhone 5S, iOS 12.4.6
   - iPhone 8 Plus, iOS 13.6
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova:
   - 9.0.0 (cordova-lib@9.0.1
   cordova-ios: 5.1.0
   cordova-plugin-inappbrowser: 4.0.0
   cordova-plugin-file-transfer: 1.6.3
   cordova-plugin-network-information: 2.0.2
   cordova-plugin-whitelist: 1.3.4
   cordova-plugin-wkwebview-engine: 1.2.1
   cordova-plugin-wkwebviewxhrfix: 1.0.0
   
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ x ] I searched for existing GitHub issues
   - [ x ] I updated all Cordova tooling to most recent version
   - [ x ] I included all the necessary information above
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-wkwebview-engine] marcostadeusc commented on issue #169: Problems during migration from UIWEBVIEW to WKWEBVIEW

Posted by GitBox <gi...@apache.org>.
marcostadeusc commented on issue #169:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/169#issuecomment-666879400


   > Thank you for upgrading to `cordova-ios@5.1.1`. I had a feeling it wouldn't solve your issue at hand, but it does rule out the possibility.
   > 
   > I don't understand how the provided code relates to the errors you see in the xcode debug logs. You're hitting into a native exception, which generally would only be produced by some faulty native code. From the stacktraces, it isn't clear on the exact source of the problem.
   > 
   > Here are a couple of things you can do to try to identify more precisely where the issue lies:
   > 
   > 1. If the provided sample code produces the issue, then try to find which line specifically triggers the problem. e.g, does the problem go away if you comment out `$rootScope.$broadcast("refreshMenu");`?
   > 2. Due the nature of the error, which appears to be around laying out native UI, focus on plugins that generates/layout native UIs for you. You can try temporarily uninstalling the plugin or commenting out code that uses the plugin to determine if the problem goes away.
   > 
   > Of course, these suggestions won't solve the problem in itself, but hopefully will point us in the right direction. I'm not confident that this issue is within the Cordova codebase. I do think it is likely there there is some incompatibility with a installed plugin that you may need to update, or report to the package maintainers.
   
   I have tried the plugin on issue #55 but still getting these erros. I guess the main problem is that lines erros below:
   
   ```
   2020-07-30 11:44:20.879950-0300 App Name[834:257875] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
   2020-07-30 11:44:20.882349-0300 App Name[834:257875] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
   2020-07-30 11:44:20.886586-0300 App Name[834:257875] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
   2020-07-30 11:44:20.889842-0300 App Name[834:257875] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
   ```
   
   But I didn't find out how to solve this, since I tried something people already did and for them it's useful. But for me, it's useless.
   
   This line you have commented it's just some method that is calling to redirected from login page into main page. If helps, there are more plugins that aren't listed yet in this issue. I didn't mention it because I thought it wouldn't be helpful, since them don't act directly in this case. But if helps, I can bring them to this discussion.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-wkwebview-engine] timbru31 closed issue #169: Problems during migration from UIWEBVIEW to WKWEBVIEW

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #169:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/169


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-wkwebview-engine] marcostadeusc commented on issue #169: Problems during migration from UIWEBVIEW to WKWEBVIEW

Posted by GitBox <gi...@apache.org>.
marcostadeusc commented on issue #169:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/169#issuecomment-667350396


   I could finally migrate to WKWebView using this post on Cordova's blog: [https://cordova.apache.org/howto/2020/07/18/uiwebview-warning.html](url)
   
   Now I have others issues, but I have already achieve what I was looking for. So I will close this issue.
   
   The problem that I have now is based on this plugin: [https://github.com/apache/cordova-plugin-file-transfer/](url)
   
   This plugin is deprecated, but I need to find out how to migrate this to `XMLHttpRequest`. 
   
   Thanks anyway!


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-wkwebview-engine] breautek commented on issue #169: Problems during migration from UIWEBVIEW to WKWEBVIEW

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #169:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/169#issuecomment-666566755


   `cordova-ios@5.1.0` had some bugs... I forget the exact details, but you should use at least `5.1.1`.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-wkwebview-engine] marcostadeusc commented on issue #169: Problems during migration from UIWEBVIEW to WKWEBVIEW

Posted by GitBox <gi...@apache.org>.
marcostadeusc commented on issue #169:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/169#issuecomment-666649074


   > `cordova-ios@5.1.0` had some bugs... I forget the exact details, but you should use at least `5.1.1`.
   
   I changed to version `5.1.1` but still getting the same error.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-wkwebview-engine] breautek commented on issue #169: Problems during migration from UIWEBVIEW to WKWEBVIEW

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #169:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/169#issuecomment-666789370


   Thank you for upgrading to `cordova-ios@5.1.1`. I had a feeling it wouldn't solve your issue at hand, but it does rule out the possibility.
   
   I don't understand how the provided code relates to the errors you see in the xcode debug logs. You're hitting into a native exception, which generally would only be produced by some faulty native code. From the stacktraces, it isn't clear on the exact source of the problem.
   
   Here are a couple of things you can do to try to identify more precisely where the issue lies:
   
   1. If the provided sample code produces the issue, then try to find which line specifically triggers the problem. e.g, does the problem go away if you comment out `$rootScope.$broadcast("refreshMenu");`?
   2. Due the nature of the error, which appears to be around laying out native UI, focus on plugins that generates/layout native UIs for you. You can try temporarily uninstalling the plugin or commenting out code that uses the plugin to determine if the problem goes away.
   
   Of course, these suggestions won't solve the problem in itself, but hopefully will point us in the right direction. I'm not confident that this issue is within the Cordova codebase. I do think it is likely there there is some incompatibility with a installed plugin that you may need to update, or report to the package maintainers.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org