Host detection
| Function | Returns | Notes |
|---|---|---|
getSDK() | CatholicMiniAppSDK | null | null outside the app. |
requireSDK() | CatholicMiniAppSDK | Throws outside the app. For code paths that need the host. |
isInApp() | boolean | true inside the i-Catholic WebView. |
hasBridgeMethod(name) | boolean | Does this app version have the method? See Feature detection. |