Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Errors messages and keyboard unusable on iOS with SDK 12.1

$
0
0

@renerheaume wrote:

I recently updated my Mac system from macOS 10.12.6 with Xcode 9.2 and iOS SDK 11.2 to macOS 10.13.6 with XCode 10.1 and iOS SDK 12.1 (cannot update to a more recent macOS right now).

My Ionic app was using UIWebView. Keyboard stopped working. When I restored the older macOS and rebuild Cordova, it worked again. But we all know UIWebView is deprecated so I started to migrate to WKWebView built against the newer iOS SDK. Keyboard still does not work. I tried and checked the following:

  1. Put NSAllowsArbitraryLoads in Info.plist
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>
  1. Adding cordova-plugin-wkwebviewxhrfix from https://github.com/TheMattRay/cordova-plugin-wkwebviewxhrfix

  2. Editing the Cordova library source code, to replace the call to loadFileUrl method with loadRequest even for file:// URLs, as hinted at https://github.com/syrjs/core/blob/develop/ios/SyrNative/SyrNative/SyrBridge.m

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>