diff --git a/x/examples/outline-connectivity-app/README.md b/x/examples/outline-connectivity-app/README.md index e895028c..2f993f14 100644 --- a/x/examples/outline-connectivity-app/README.md +++ b/x/examples/outline-connectivity-app/README.md @@ -91,10 +91,8 @@ export class AppMain extends LitElement { - [Yarn](https://yarnpkg.com/) - Golang - [Go](https://golang.org/) - - `PATH=$PATH:$(go env GOPATH)/bin` - [Wails](https://wails.app/) - - [Gomobile](https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile) - - `gomobile init` + - [Gomobile](../../mobileproxy/README.md#build-the-ios-and-android-libraries-with-gomobile-bind) - Apple - [Xcode](https://developer.apple.com/xcode/) - [CocoaPods](https://cocoapods.org/) @@ -123,15 +121,15 @@ If at any point you run into issues during development, try `yarn reset`. ### Needed Improvements -1. **\[P1\]** platform-specific styles +1. **\[P1\]** android-specific CSS 1. **\[P1\]** read browser language on load, centralize language list, and only localize once 1. **\[P1\]** documentation on how to generate mobile app build credentials 1. **\[P1\]** add individual test result errors to the test result output UI 1. **\[P2\]** use x/config to parse the access key and showcase the different transports (see: https://github.com/Jigsaw-Code/outline-sdk/blob/main/x/examples/outline-connectivity/main.go) 1. **\[P2\]** generalize request handler via generics/reflection -1. **\[P2\]** Create a logo for the app -1. **\[P2\]** Make backend request calls non-blocking -1. **\[P2\]** Introducing some kind of tracing into the test +1. **\[P2\]** create a logo for the app +1. **\[P2\]** make backend request calls non-blocking +1. **\[P2\]** introducing some kind of tracing into the test ### Current Issues diff --git a/x/examples/outline-connectivity-app/app_mobile/android/app/build.gradle b/x/examples/outline-connectivity-app/app_mobile/android/app/build.gradle index 619db60b..a930e562 100644 --- a/x/examples/outline-connectivity-app/app_mobile/android/app/build.gradle +++ b/x/examples/outline-connectivity-app/app_mobile/android/app/build.gradle @@ -3,10 +3,10 @@ apply plugin: "org.jetbrains.kotlin.android" apply plugin: "kotlinx-serialization" android { - namespace "org.outline.sdk.connectivity" + namespace "org.getoutline.sdk.example.connectivity" compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { - applicationId "org.outline.sdk.connectivity" + applicationId "org.getoutline.sdk.example.connectivity" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 diff --git a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendRequest.kt b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendRequest.kt index 58acf149..33aa9329 100644 --- a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendRequest.kt +++ b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendRequest.kt @@ -1,4 +1,4 @@ -package org.outline.sdk.connectivity +package org.getoutline.sdk.example.connectivity import kotlinx.serialization.Serializable diff --git a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendResponse.kt b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendResponse.kt index 550af59e..37ef94db 100644 --- a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendResponse.kt +++ b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/FrontendResponse.kt @@ -1,4 +1,4 @@ -package org.outline.sdk.connectivity +package org.getoutline.sdk.example.connectivity import kotlinx.serialization.Serializable diff --git a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MainActivity.kt b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MainActivity.kt index cbe5eda1..a765aa06 100644 --- a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MainActivity.kt +++ b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MainActivity.kt @@ -1,4 +1,4 @@ -package org.outline.sdk.connectivity +package org.getoutline.sdk.example.connectivity import android.os.Bundle import com.getcapacitor.BridgeActivity diff --git a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MobileBackendPlugin.kt b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MobileBackendPlugin.kt index d73e3bab..f49416a8 100644 --- a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MobileBackendPlugin.kt +++ b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/java/org/outline/sdk/connectivity/MobileBackendPlugin.kt @@ -1,4 +1,4 @@ -package org.outline.sdk.connectivity +package org.getoutline.sdk.example.connectivity import com.getcapacitor.JSObject import com.getcapacitor.Plugin diff --git a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/res/values/strings.xml b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/res/values/strings.xml index 9799722c..cffda501 100644 --- a/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/res/values/strings.xml +++ b/x/examples/outline-connectivity-app/app_mobile/android/app/src/main/res/values/strings.xml @@ -2,6 +2,6 @@ @outline_sdk_connectivity_demo/app_mobile @outline_sdk_connectivity_demo/app_mobile - org.outline.sdk.connectivity - org.outline.sdk.connectivity + org.getoutline.sdk.example.connectivity + org.getoutline.sdk.example.connectivity diff --git a/x/examples/outline-connectivity-app/app_mobile/capacitor.config.ts b/x/examples/outline-connectivity-app/app_mobile/capacitor.config.ts index 47c6b8fd..c98c8f8a 100644 --- a/x/examples/outline-connectivity-app/app_mobile/capacitor.config.ts +++ b/x/examples/outline-connectivity-app/app_mobile/capacitor.config.ts @@ -1,7 +1,7 @@ import { CapacitorConfig } from '@capacitor/cli'; let config: CapacitorConfig = { - appId: "org.outline.sdk.connectivity", + appId: "org.getoutline.sdk.example.connectivity", appName: "@outline_sdk_connectivity_demo/app_mobile", webDir: "output/frontend", server: { diff --git a/x/examples/outline-connectivity-app/app_mobile/ios/App/App.xcodeproj/project.pbxproj b/x/examples/outline-connectivity-app/app_mobile/ios/App/App.xcodeproj/project.pbxproj index e28b74ef..aa3fe754 100644 --- a/x/examples/outline-connectivity-app/app_mobile/ios/App/App.xcodeproj/project.pbxproj +++ b/x/examples/outline-connectivity-app/app_mobile/ios/App/App.xcodeproj/project.pbxproj @@ -372,7 +372,7 @@ ); MARKETING_VERSION = 1.0; OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\""; - PRODUCT_BUNDLE_IDENTIFIER = org.outline.sdk.connectivity; + PRODUCT_BUNDLE_IDENTIFIER = org.getoutline.sdk.example.connectivity; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OBJC_BRIDGING_HEADER = "App/App-Bridging-Header.h"; @@ -398,7 +398,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = org.outline.sdk.connectivity; + PRODUCT_BUNDLE_IDENTIFIER = org.getoutline.sdk.example.connectivity; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = ""; SWIFT_OBJC_BRIDGING_HEADER = "App/App-Bridging-Header.h";