diff --git a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/getoutline/sdk/example/connectivity/MobileBackendPlugin.kt b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/getoutline/sdk/example/connectivity/MobileBackendPlugin.kt index f49416a8..495030ea 100644 --- a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/getoutline/sdk/example/connectivity/MobileBackendPlugin.kt +++ b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/getoutline/sdk/example/connectivity/MobileBackendPlugin.kt @@ -24,7 +24,7 @@ class MobileBackendPlugin: Plugin() { val rawInputMessage = Json.encodeToString( FrontendRequest( call.getString("resourceName")!!, - call.getString("parameters")!! + call.getString("parameters") ?: "{}" ) ) diff --git a/x/examples/outline-connectivity-app/app_mobile/ios/App/App/MobileBackend.swift b/x/examples/outline-connectivity-app/app_mobile/ios/App/App/MobileBackend.swift index 899b50c9..67496df6 100644 --- a/x/examples/outline-connectivity-app/app_mobile/ios/App/App/MobileBackend.swift +++ b/x/examples/outline-connectivity-app/app_mobile/ios/App/App/MobileBackend.swift @@ -38,7 +38,7 @@ public class MobileBackendPlugin: CAPPlugin { let rawRequest = try encoder.encode( FrontendRequest( resourceName: call.getString("resourceName")!, - parameters: call.getString("parameters")! + parameters: call.getString("parameters") ?? "{}" ) ) diff --git a/x/examples/outline-connectivity-app/shared_frontend/pages/connectivity_test/index.ts b/x/examples/outline-connectivity-app/shared_frontend/pages/connectivity_test/index.ts index 48f3a3ad..4cb6095a 100644 --- a/x/examples/outline-connectivity-app/shared_frontend/pages/connectivity_test/index.ts +++ b/x/examples/outline-connectivity-app/shared_frontend/pages/connectivity_test/index.ts @@ -597,7 +597,6 @@ export class ConnectivityTestPage extends LitElement { render() { // TODO: move language definitions to a centralized place return html`
- ${this.renderPlatformStyles()}

${msg("Outline Connectivity Test")}