WebViewBridge.Swift

Like JockeyJS, written in Swift, and with support for WKWebView: A bridge for WebView(UIWebView, WKWebView), using JavaScriptCore, handles communications between native(Swift) and js. Example usage (call native function from JS): // XCode override func viewDidLoad() { // … let webView = WKWebView() let bridge = ZHWebViewBridge.bridge(webview) bridge.registerHandler(“Video.Play”) { (args:[AnyObject]) -> (Bool, [AnyObject]?) in self.player.play() return […]

EarlGrey – iOS UI Automation Test Framework

New native iOS UI automation test framework from Google: With the EarlGrey framework, you have access to enhanced synchronization features […] which help ensure that the UI is in a steady state before actions are performed. This greatly increases test stability and makes tests highly repeatable. EarlGrey works in conjunction with the XCTest framework and […]

Testing React Native Apps on Android and iOS

These apps are regular native Android and iOS apps, and basically any test automation frameworks works for them: Robotium, Appium, Calabash, uiautomator, Espresso, Jasmine, UI Automation, TestNG, Frank, KIF and many others! Therefore, you do have a great freedom of choice when you build your apps based on React Native framework. Contains example scripts for […]

A faster, more stable Chrome on iOS

The Chromium Blog: In Chrome 48 we’ve made the switch from UIWebView to WKWebView, leading to dramatic improvements in stability, speed, responsiveness, and web compatibility. The improvements are indeed remarkable and – from a user’s point of view – very noticeable. Additionally it’s also more stable: With WKWebView’s out-of-process rendering, when the web view crashes […]

JockeyJS

JockeyJS is a dual-iOS and Android library that facilitates two-way communication between native applications and JavaScript apps running inside them. Here’s an iOS example: // Send an event to JavaScript, passing a payload. // payload can be an NSDictionary or NSArray, or anything that is serializable to JSON. // It can be nil. [Jockey send:@”event-name” […]

iOS9 MobileSafari Viewport Problem

The viewport is set incorrectly when the viewport meta tag is specified with initial-scale=1 or width=device-width, and the page contains an element (e.g. div tag) that is wider than the desired viewport’s boundary. In the screenshot above (courtesy @RWD) you can see that the off-screen menu actually appears on-screen in iOS9. Apple changed how iOS9 […]

Your iPhone’s lockscreen is unsafe

Before you know it, anyone with physical access to your ‘locked’ device could be accessing your personal photographs and contacts. Even with the latest iOS 9.0.1 update, your iPhone’s lockscreen is unsafe → On a sidenote: The audio stack of my iPhone crashed today — “Hello IT, have you tried …”