Created
March 7, 2020 22:27
-
-
Save lapinek/592026a345433f28f2a539736b157beb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WebViewController.js | |
(function () { | |
if (window.webkit) { | |
var response = { | |
"authId": "authId", | |
"callbacks": [ | |
{ | |
"type": "Code", | |
"input": [], | |
"output": [] | |
} | |
] | |
} | |
window.webkit.messageHandlers.callback.postMessage(JSON.stringify(response)) | |
} | |
}()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment