摘要 |
Techniques for rendering a webview in a host application are described. A webview in a host application is identified, the webview including at least one function call to a first function. Additionally, one or more application-specific URL values corresponding to a URL command scheme for the host application are identified. A URL scheme object is populated with the identified one or more application-specific URL values, the populated URL scheme object including a function definition for the first function that is associated with a first one of the one or more application-specific URL values. The populated URL scheme object is then inserted into the identified webview, such that when the webview is rendered and one of the at least one function calls is made, the function definition in the inserted URL scheme object is executed to transmit a request to an address portion of the first application-specific URL value.
|