iOSApp.InstallOpenURLHandler
----------------------------

Install OpenURL handler.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [iOSApp](component_iOSApp.md) | [11.1](newinversion111.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "iOSApp.InstallOpenURLHandler" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Install OpenURL handler.  
Once installed, the MBS Plugin will be notified about new Open URL requests sent to your iOS application.  
We can trigger a script or evaluate an expression. We always store the URL for query via [iOSApp.LastURL](iOSAppLastURL.md) function.  
### Examples

Installs URL open handler:

 Set Variable \[ $r ; Value: MBS ("iOSApp.InstallOpenURLHandler") \]   
Set Variable \[ $r ; Value: MBS ("[iOSApp.SetDidOpenURLScript](iOSAppSetDidOpenURLScript.md)"; Get(FileName); "URLArrived") \]  
### See also

- [iOSApp.IsOpenURLHandlerInstalled](iOSAppIsOpenURLHandlerInstalled.md)
- [iOSApp.LastURL](iOSAppLastURL.md)
- [iOSApp.SetDidOpenURLEvaluate](iOSAppSetDidOpenURLEvaluate.md)
- [iOSApp.SetDidOpenURLScript](iOSAppSetDidOpenURLScript.md)

### Release notes

- **Version 11.1**
    - Added functions for iOS applications to catch URL requests: [iOSApp.InstallOpenURLHandler](https://www.mbsplugins.eu/iOSAppInstallOpenURLHandler.shtml), [iOSApp.LastURL](https://www.mbsplugins.eu/iOSAppLastURL.shtml), [iOSApp.SetDidOpenURLEvaluate](https://www.mbsplugins.eu/iOSAppSetDidOpenURLEvaluate.shtml) and [iOSApp.SetDidOpenURLScript](https://www.mbsplugins.eu/iOSAppSetDidOpenURLScript.shtml).

### Blog Entries

- [MBS FileMaker Plugin 11.1](https://www.mbsplugins.de/archive/2021-03-16/MBS_FileMaker_Plugin_111/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 11.1](https://www.mbsplugins.de/archive/2021-03-09/Neues_MBS_FileMaker_Plugin_111/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 11.1](https://www.mbsplugins.de/archive/2021-03-09/MBS_FileMaker_Plugin_111/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.1pr1](https://www.mbsplugins.de/archive/2021-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 27th January 2021 , last changed 27th January 2021

  
[iOSApp.GetWillResignActiveScript](iOSAppGetWillResignActiveScript.md) - [iOSApp.IsOpenURLHandlerInstalled](iOSAppIsOpenURLHandlerInstalled.md)

[HTML Version](iOSAppInstallOpenURLHandler.shtml)