Used to test web application to native mobile app event communication and integration issues.
JavaScript code from the screener web application that dispatches events to the mobile interface:
var data = {
"type": "APP_EVENT",
"symbol": "INFO",
"securityType": "COMMON_STOCK"
}
webkit.messageHandlers.fidCallbackHandler.postMessage(data);
- Xcode 8.1
- Swift 3.0
- Deployment Target iOS 9.0