mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-16 05:39:24 +00:00
Merge pull request #1301 from keymanapp/ios-1166-reachability-crash-fix
[iOS] System keyboard + Reachability crash fix
This commit is contained in:
commit
06342c2d7c
4 changed files with 15 additions and 3 deletions
|
|
@ -824,7 +824,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "if which swiftlint >/dev/null; then\n swiftlint --config ../../.swiftlint.yml\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
|
||||
shellScript = "if which swiftlint >/dev/null; then\n swiftlint --config ../../.swiftlint.yml\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
|
||||
};
|
||||
C0A5FF391F6684DE00BE740C /* ShellScript */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
|
|
|
|||
|
|
@ -181,9 +181,12 @@ public class Manager: NSObject, HTTPDownloadDelegate, UIGestureRecognizerDelegat
|
|||
keymanWeb.view.addGestureRecognizer(hold)
|
||||
|
||||
reachability = Reachability(hostName: keymanHostName)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(self.reachabilityChanged),
|
||||
|
||||
if(!Util.isSystemKeyboard) {
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(self.reachabilityChanged),
|
||||
name: .reachabilityChanged, object: reachability)
|
||||
reachability.startNotifier()
|
||||
reachability.startNotifier()
|
||||
}
|
||||
|
||||
/* HTTPDownloader only uses this for its delegate methods. So long as we don't
|
||||
* set the queue running, this should be perfectly fine.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
* Bookmark add button is enabled only when title/url fields have text (#1073)
|
||||
* Removed deprecated code to to support keyman:// scheme for ad-hoc distribution (#1160)
|
||||
* Updated the default keyboard to SIL EuroLatin (#1101)
|
||||
* Fixed bug behind some crashes of system keyboard (#1166)
|
||||
|
||||
## 2018-08-02 10.0.208 stable
|
||||
* Fixed OSK layout problems (and possible crash) on iOS 11 on certain hardware (#1089, #1159)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildSystemType</key>
|
||||
<string>Original</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Loading…
Add table
Reference in a new issue