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 495030ea..2fe23260 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 @@ -31,7 +31,7 @@ class MobileBackendPlugin: Plugin() { response = Json.decodeFromString( Shared_backend.handleRequest( rawInputMessage.toByteArray(Charsets.UTF_8) - ).toString(Charsets.UTF_8) + ).toString(Charsets.UTF_8)C ) } catch (error: Exception) { output.put("error", error.message) diff --git a/x/examples/outline-connectivity-app/package.json b/x/examples/outline-connectivity-app/package.json index 14e3a4cd..1652a117 100644 --- a/x/examples/outline-connectivity-app/package.json +++ b/x/examples/outline-connectivity-app/package.json @@ -6,6 +6,7 @@ "description": "A cross-platform connectivity test app using the Outline SDK", "devDependencies": { "@yarnpkg/sdks": "^3.0.0-rc.48", + "concurrently": "^8.2.2", "typescript": "^5.1.6" }, "engines": { @@ -25,8 +26,8 @@ "shared_backend": "yarn workspace shared_backend", "shared_frontend": "yarn workspace shared_frontend", "watch": "yarn workspaces foreach -piv run watch", - "watch:android": "yarn workspaces foreach -piv run watch:android", - "watch:ios": "yarn workspaces foreach -piv run watch:ios" + "watch:android": "concurrently -n frontend,android 'yarn app_mobile watch:frontend' 'yarn workspaces foreach -piv run watch:android'", + "watch:ios": "concurrently -n frontend,ios 'yarn app_mobile watch:frontend' 'yarn workspaces foreach -piv run watch:ios'" }, "version": "0.0.0", "workspaces": [ diff --git a/x/examples/outline-connectivity-app/yarn.lock b/x/examples/outline-connectivity-app/yarn.lock index fbad2c9e..fef74a6c 100644 --- a/x/examples/outline-connectivity-app/yarn.lock +++ b/x/examples/outline-connectivity-app/yarn.lock @@ -975,6 +975,26 @@ __metadata: languageName: node linkType: hard +"concurrently@npm:^8.2.2": + version: 8.2.2 + resolution: "concurrently@npm:8.2.2" + dependencies: + chalk: ^4.1.2 + date-fns: ^2.30.0 + lodash: ^4.17.21 + rxjs: ^7.8.1 + shell-quote: ^1.8.1 + spawn-command: 0.0.2 + supports-color: ^8.1.1 + tree-kill: ^1.2.2 + yargs: ^17.7.2 + bin: + conc: dist/bin/concurrently.js + concurrently: dist/bin/concurrently.js + checksum: 8ac774df06869773438f1bf91025180c52d5b53139bc86cf47659136c0d97461d0579c515d848d1e945d4e3e0cafe646b2ea18af8d74259b46abddcfe39b2c6c + languageName: node + linkType: hard + "console-control-strings@npm:^1.1.0": version: 1.1.0 resolution: "console-control-strings@npm:1.1.0" @@ -2608,6 +2628,7 @@ __metadata: resolution: "outline_sdk_connectivity_test@workspace:." dependencies: "@yarnpkg/sdks": ^3.0.0-rc.48 + concurrently: ^8.2.2 lit: ^2.7.6 typescript: ^5.1.6 languageName: unknown