From 73bcd3e6b3ba91f38738936af0ae735241c2c9d9 Mon Sep 17 00:00:00 2001 From: XADE Date: Mon, 3 Aug 2026 16:45:37 +0530 Subject: [PATCH] package name: com.ogh.app --- .maestro/flows/app-navigation.yaml | 2 +- .maestro/flows/destination-crud.yaml | 2 +- .maestro/flows/twitch-authorization-page.yaml | 2 +- .../flows/youtube-authorization-page.yaml | 2 +- DECISIONS.md | 2 +- OAUTH_SETUP.md | 4 ++-- SPECIFICATION.md | 4 ++-- androidApp/build.gradle.kts | 4 ++-- androidApp/src/main/AndroidManifest.xml | 2 +- .../main/kotlin/com/ogh/app/MainActivity.kt | 22 +++++++++---------- .../kotlin/com/ogh/app/PauseSlateFactory.kt | 2 +- .../com/ogh/app/PhysicalOrientationTracker.kt | 2 +- .../com/ogh/app/ReusableScreenSource.kt | 2 +- .../com/ogh/app/ScreenCaptureService.kt | 2 +- .../ogh/app/data/SecureDestinationStorage.kt | 4 ++-- .../com/ogh/app/data/SettingsRepository.kt | 2 +- .../app/oauth/AndroidKeystoreTokenStorage.kt | 2 +- .../com/ogh/app/oauth/GoogleTokenRevoker.kt | 2 +- .../kotlin/com/ogh/app/oauth/OAuthConfig.kt | 6 ++--- .../kotlin/com/ogh/app/oauth/OAuthManager.kt | 2 +- .../kotlin/com/ogh/app/oauth/TokenManager.kt | 2 +- .../ogh/app/oauth/TwitchDeviceAuthClient.kt | 2 +- .../com/ogh/app/oauth/YouTubeApiClient.kt | 2 +- .../kotlin/com/ogh/app/ui/StreamPreview.kt | 4 ++-- .../com/ogh/app/viewmodel/StreamViewModel.kt | 6 ++--- androidApp/src/main/res/values/strings.xml | 2 +- .../com/ogh/app/CameraSourceCatalogTest.kt | 2 +- .../kotlin/com/ogh/app/StreamViewModelTest.kt | 6 ++--- .../ogh/app/data/DestinationJsonCodecTest.kt | 2 +- .../com/ogh/app/data/SettingsJsonCodecTest.kt | 2 +- .../ogh/app/oauth/GoogleTokenRevokerTest.kt | 2 +- .../com/ogh/app/oauth/OAuthConfigTest.kt | 4 ++-- .../app/oauth/TwitchDeviceAuthClientTest.kt | 2 +- .../com/ogh/app/oauth/YouTubeApiClientTest.kt | 2 +- 34 files changed, 56 insertions(+), 56 deletions(-) diff --git a/.maestro/flows/app-navigation.yaml b/.maestro/flows/app-navigation.yaml index 06ec76a..15129d6 100644 --- a/.maestro/flows/app-navigation.yaml +++ b/.maestro/flows/app-navigation.yaml @@ -1,4 +1,4 @@ -appId: com.ogh.app +appId: org.aossie.ogh name: App navigation and settings tags: [smoke] --- diff --git a/.maestro/flows/destination-crud.yaml b/.maestro/flows/destination-crud.yaml index 2b3a8aa..2c188bc 100644 --- a/.maestro/flows/destination-crud.yaml +++ b/.maestro/flows/destination-crud.yaml @@ -1,4 +1,4 @@ -appId: com.ogh.app +appId: org.aossie.ogh name: Manual destination CRUD tags: [smoke] --- diff --git a/.maestro/flows/twitch-authorization-page.yaml b/.maestro/flows/twitch-authorization-page.yaml index d47b844..ce05bf0 100644 --- a/.maestro/flows/twitch-authorization-page.yaml +++ b/.maestro/flows/twitch-authorization-page.yaml @@ -1,4 +1,4 @@ -appId: com.ogh.app +appId: org.aossie.ogh name: Twitch authorization page loads tags: [oauth, network] --- diff --git a/.maestro/flows/youtube-authorization-page.yaml b/.maestro/flows/youtube-authorization-page.yaml index f815c89..d3baf36 100644 --- a/.maestro/flows/youtube-authorization-page.yaml +++ b/.maestro/flows/youtube-authorization-page.yaml @@ -1,4 +1,4 @@ -appId: com.ogh.app +appId: org.aossie.ogh name: YouTube authorization page loads tags: [oauth, network] --- diff --git a/DECISIONS.md b/DECISIONS.md index d5110f6..fc8a224 100644 --- a/DECISIONS.md +++ b/DECISIONS.md @@ -191,7 +191,7 @@ requiring Google Play Services. Track the public YouTube and Twitch client IDs in Android string resources. YouTube uses AppAuth Authorization Code with PKCE in the system browser and -`com.ogh.app:/oauth2callback`, requesting only the `youtube` scope. Twitch uses +`org.aossie.ogh:/oauth2callback`, requesting only the `youtube` scope. Twitch uses its public-client Device Authorization Grant and `channel:read:stream_key`. Never embed a client secret. diff --git a/OAUTH_SETUP.md b/OAUTH_SETUP.md index 47b922b..80b33a7 100644 --- a/OAUTH_SETUP.md +++ b/OAUTH_SETUP.md @@ -52,7 +52,7 @@ slow-down, denial and expiration. 3. Configure the OAuth consent screen, support contact, and exactly one scope: `https://www.googleapis.com/auth/youtube`. 4. Complete Google's OAuth app verification before distributing a build that requests YouTube management scopes. -5. Create the native/Android OAuth client for package `com.ogh.app` and the +5. Create the native/Android OAuth client for package `org.aossie.ogh` and the signing certificate used for the distributed build. Obtain a signing SHA-1 with: @@ -76,7 +76,7 @@ slow-down, denial and expiration. ### Redirect requirement -Ogh returns from the browser through `com.ogh.app:/oauth2callback`. The +Ogh returns from the browser through `org.aossie.ogh:/oauth2callback`. The redirect scheme in `OAuthConfig.kt`, the manifest intent filter, and the Google Android client's custom-scheme setting must all agree. Validate the complete flow on both standard and de-Googled Android using the final signed review APK. diff --git a/SPECIFICATION.md b/SPECIFICATION.md index bd4f881..ae6e558 100644 --- a/SPECIFICATION.md +++ b/SPECIFICATION.md @@ -16,7 +16,7 @@ of that implementation. If it drifts, verify the code and tests and update this file; do not change working behavior merely to make it match stale prose. The current deliverable is the Android application. Its application ID, -namespace, OAuth redirect identity, and Maestro app ID are `com.ogh.app`. +namespace, OAuth redirect identity, and Maestro app ID are `org.aossie.ogh`. Android 7.0/API 24 is the minimum version; compile and target SDK are 36. The name Ogh comes from Sanskrit *ogha* (ओघ), meaning a stream, current, @@ -435,7 +435,7 @@ tab. It does not use Google Sign-In or require Google Play Services. |---|---| | Authorization endpoint | `https://accounts.google.com/o/oauth2/v2/auth` | | Token endpoint | `https://oauth2.googleapis.com/token` | -| Redirect | `com.ogh.app:/oauth2callback` | +| Redirect | `org.aossie.ogh:/oauth2callback` | | Scope | `https://www.googleapis.com/auth/youtube` | | Extra authorization parameter | `access_type=offline` | | API base | `https://www.googleapis.com/youtube/v3` | diff --git a/androidApp/build.gradle.kts b/androidApp/build.gradle.kts index 21b6877..a269db6 100644 --- a/androidApp/build.gradle.kts +++ b/androidApp/build.gradle.kts @@ -26,11 +26,11 @@ check(releaseSigningValues.all { it.isNullOrBlank() } || hasReleaseSigning) { } android { - namespace = "com.ogh.app" + namespace = "org.aossie.ogh" compileSdk = (findProperty("android.compileSdk") as String).toInt() defaultConfig { - applicationId = "com.ogh.app" + applicationId = "org.aossie.ogh" minSdk = (findProperty("android.minSdk") as String).toInt() targetSdk = (findProperty("android.targetSdk") as String).toInt() versionCode = appVersionCode diff --git a/androidApp/src/main/AndroidManifest.xml b/androidApp/src/main/AndroidManifest.xml index 5505c5b..509d46a 100644 --- a/androidApp/src/main/AndroidManifest.xml +++ b/androidApp/src/main/AndroidManifest.xml @@ -51,7 +51,7 @@ - + diff --git a/androidApp/src/main/kotlin/com/ogh/app/MainActivity.kt b/androidApp/src/main/kotlin/com/ogh/app/MainActivity.kt index d2e8b1d..2ee2df1 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/MainActivity.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/MainActivity.kt @@ -1,4 +1,4 @@ -package com.ogh.app +package org.aossie.ogh import android.Manifest import android.content.ComponentName @@ -33,16 +33,16 @@ import androidx.lifecycle.lifecycleScope import androidx.lifecycle.Lifecycle import androidx.lifecycle.repeatOnLifecycle import androidx.lifecycle.ViewModelProvider -import com.ogh.app.oauth.OAuthConfig -import com.ogh.app.oauth.OAuthManager -import com.ogh.app.oauth.TokenManager -import com.ogh.app.oauth.TwitchDeviceAuthClient -import com.ogh.app.oauth.YouTubeApiClient -import com.ogh.app.oauth.GoogleTokenRevoker -import com.ogh.app.data.SecureDestinationStorage -import com.ogh.app.data.SettingsRepository -import com.ogh.app.viewmodel.StreamViewModel -import com.ogh.app.ui.StreamPreview +import org.aossie.ogh.oauth.OAuthConfig +import org.aossie.ogh.oauth.OAuthManager +import org.aossie.ogh.oauth.TokenManager +import org.aossie.ogh.oauth.TwitchDeviceAuthClient +import org.aossie.ogh.oauth.YouTubeApiClient +import org.aossie.ogh.oauth.GoogleTokenRevoker +import org.aossie.ogh.data.SecureDestinationStorage +import org.aossie.ogh.data.SettingsRepository +import org.aossie.ogh.viewmodel.StreamViewModel +import org.aossie.ogh.ui.StreamPreview import com.ogh.shared.ui.AboutScreen import com.ogh.shared.ui.AboutUiState import com.ogh.shared.ui.AccountsScreen diff --git a/androidApp/src/main/kotlin/com/ogh/app/PauseSlateFactory.kt b/androidApp/src/main/kotlin/com/ogh/app/PauseSlateFactory.kt index 2834fc5..413cea5 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/PauseSlateFactory.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/PauseSlateFactory.kt @@ -1,4 +1,4 @@ -package com.ogh.app +package org.aossie.ogh import android.content.Context import android.graphics.Bitmap diff --git a/androidApp/src/main/kotlin/com/ogh/app/PhysicalOrientationTracker.kt b/androidApp/src/main/kotlin/com/ogh/app/PhysicalOrientationTracker.kt index b34e093..d32d490 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/PhysicalOrientationTracker.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/PhysicalOrientationTracker.kt @@ -1,4 +1,4 @@ -package com.ogh.app +package org.aossie.ogh import android.content.Context import android.hardware.SensorManager diff --git a/androidApp/src/main/kotlin/com/ogh/app/ReusableScreenSource.kt b/androidApp/src/main/kotlin/com/ogh/app/ReusableScreenSource.kt index e3d885c..2098a24 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/ReusableScreenSource.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/ReusableScreenSource.kt @@ -1,4 +1,4 @@ -package com.ogh.app +package org.aossie.ogh import android.content.Context import android.graphics.SurfaceTexture diff --git a/androidApp/src/main/kotlin/com/ogh/app/ScreenCaptureService.kt b/androidApp/src/main/kotlin/com/ogh/app/ScreenCaptureService.kt index df98003..875e802 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/ScreenCaptureService.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/ScreenCaptureService.kt @@ -1,4 +1,4 @@ -package com.ogh.app +package org.aossie.ogh import android.app.NotificationChannel import android.app.NotificationManager diff --git a/androidApp/src/main/kotlin/com/ogh/app/data/SecureDestinationStorage.kt b/androidApp/src/main/kotlin/com/ogh/app/data/SecureDestinationStorage.kt index ce86dd5..cbbc2de 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/data/SecureDestinationStorage.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/data/SecureDestinationStorage.kt @@ -1,8 +1,8 @@ -package com.ogh.app.data +package org.aossie.ogh.data import android.content.Context import android.util.Log -import com.ogh.app.oauth.AndroidKeystoreTokenStorage +import org.aossie.ogh.oauth.AndroidKeystoreTokenStorage import com.ogh.shared.domain.Destination import com.ogh.shared.domain.DestinationType import org.json.JSONArray diff --git a/androidApp/src/main/kotlin/com/ogh/app/data/SettingsRepository.kt b/androidApp/src/main/kotlin/com/ogh/app/data/SettingsRepository.kt index b124509..cbb8ec5 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/data/SettingsRepository.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/data/SettingsRepository.kt @@ -1,4 +1,4 @@ -package com.ogh.app.data +package org.aossie.ogh.data import android.content.Context import androidx.datastore.preferences.core.Preferences diff --git a/androidApp/src/main/kotlin/com/ogh/app/oauth/AndroidKeystoreTokenStorage.kt b/androidApp/src/main/kotlin/com/ogh/app/oauth/AndroidKeystoreTokenStorage.kt index 3f87fe3..676414a 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/oauth/AndroidKeystoreTokenStorage.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/oauth/AndroidKeystoreTokenStorage.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import android.content.Context import android.security.keystore.KeyGenParameterSpec diff --git a/androidApp/src/main/kotlin/com/ogh/app/oauth/GoogleTokenRevoker.kt b/androidApp/src/main/kotlin/com/ogh/app/oauth/GoogleTokenRevoker.kt index 1c70c74..c067200 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/oauth/GoogleTokenRevoker.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/oauth/GoogleTokenRevoker.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import okhttp3.FormBody import okhttp3.OkHttpClient diff --git a/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthConfig.kt b/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthConfig.kt index 13237aa..c1587be 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthConfig.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthConfig.kt @@ -1,8 +1,8 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import android.content.Context import androidx.core.net.toUri -import com.ogh.app.R +import org.aossie.ogh.R import com.ogh.shared.domain.StreamingProvider import net.openid.appauth.AuthorizationServiceConfiguration @@ -16,7 +16,7 @@ import net.openid.appauth.AuthorizationServiceConfiguration object OAuthConfig { /** Redirect URI scheme — must match AndroidManifest.xml intent filter. */ - const val REDIRECT_URI = "com.ogh.app:/oauth2callback" + const val REDIRECT_URI = "org.aossie.ogh:/oauth2callback" fun getServiceConfig(provider: StreamingProvider): AuthorizationServiceConfiguration { return when (provider) { diff --git a/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthManager.kt b/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthManager.kt index 2549f81..c2f55a8 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthManager.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/oauth/OAuthManager.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import android.content.Context import android.content.Intent diff --git a/androidApp/src/main/kotlin/com/ogh/app/oauth/TokenManager.kt b/androidApp/src/main/kotlin/com/ogh/app/oauth/TokenManager.kt index 5f08016..4a93e21 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/oauth/TokenManager.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/oauth/TokenManager.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import android.content.Context import android.util.Log diff --git a/androidApp/src/main/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClient.kt b/androidApp/src/main/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClient.kt index b60203a..20d2280 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClient.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClient.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import com.ogh.shared.domain.ProviderAccount import com.ogh.shared.domain.StreamingProvider diff --git a/androidApp/src/main/kotlin/com/ogh/app/oauth/YouTubeApiClient.kt b/androidApp/src/main/kotlin/com/ogh/app/oauth/YouTubeApiClient.kt index a068b18..6337c45 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/oauth/YouTubeApiClient.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/oauth/YouTubeApiClient.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import com.ogh.shared.domain.LatencyMode import com.ogh.shared.domain.PrivacyStatus diff --git a/androidApp/src/main/kotlin/com/ogh/app/ui/StreamPreview.kt b/androidApp/src/main/kotlin/com/ogh/app/ui/StreamPreview.kt index 4705486..60d7791 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/ui/StreamPreview.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/ui/StreamPreview.kt @@ -1,4 +1,4 @@ -package com.ogh.app.ui +package org.aossie.ogh.ui import android.Manifest import android.content.pm.PackageManager @@ -26,7 +26,7 @@ import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.unit.dp import androidx.compose.ui.viewinterop.AndroidView import androidx.core.content.ContextCompat -import com.ogh.app.ScreenCaptureService +import org.aossie.ogh.ScreenCaptureService import com.ogh.shared.domain.StreamState import com.ogh.shared.domain.VideoSettings import com.ogh.shared.ui.theme.OghColors diff --git a/androidApp/src/main/kotlin/com/ogh/app/viewmodel/StreamViewModel.kt b/androidApp/src/main/kotlin/com/ogh/app/viewmodel/StreamViewModel.kt index a3278f4..1218bf0 100644 --- a/androidApp/src/main/kotlin/com/ogh/app/viewmodel/StreamViewModel.kt +++ b/androidApp/src/main/kotlin/com/ogh/app/viewmodel/StreamViewModel.kt @@ -1,11 +1,11 @@ -package com.ogh.app.viewmodel +package org.aossie.ogh.viewmodel import android.content.Intent import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.pedro.common.ConnectChecker -import com.ogh.app.ScreenCaptureService -import com.ogh.app.data.AppSettingsStore +import org.aossie.ogh.ScreenCaptureService +import org.aossie.ogh.data.AppSettingsStore import com.ogh.shared.data.DestinationRepository import com.ogh.shared.domain.AppSettings import com.ogh.shared.domain.AudioSettings diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml index a1b814c..a3699e3 100644 --- a/androidApp/src/main/res/values/strings.xml +++ b/androidApp/src/main/res/values/strings.xml @@ -7,6 +7,6 @@ them registered to this project. Never add client secrets, access tokens, refresh tokens, or stream keys here. --> - 12650804497-pklvchb6l6prgmlnlpnejc3g8ovr25o9.apps.googleusercontent.com + 12650804497-7d7an3ldp5hapfngnct3lofbaddd52af.apps.googleusercontent.com 0ierwbtq6sams93ds7kpsrr5mkd6vv diff --git a/androidApp/src/test/kotlin/com/ogh/app/CameraSourceCatalogTest.kt b/androidApp/src/test/kotlin/com/ogh/app/CameraSourceCatalogTest.kt index b3f3753..35fa859 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/CameraSourceCatalogTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/CameraSourceCatalogTest.kt @@ -1,4 +1,4 @@ -package com.ogh.app +package org.aossie.ogh import android.content.pm.ActivityInfo import android.hardware.camera2.CameraCharacteristics diff --git a/androidApp/src/test/kotlin/com/ogh/app/StreamViewModelTest.kt b/androidApp/src/test/kotlin/com/ogh/app/StreamViewModelTest.kt index a576cff..67f4021 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/StreamViewModelTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/StreamViewModelTest.kt @@ -1,7 +1,7 @@ -package com.ogh.app +package org.aossie.ogh -import com.ogh.app.data.AppSettingsStore -import com.ogh.app.viewmodel.StreamViewModel +import org.aossie.ogh.data.AppSettingsStore +import org.aossie.ogh.viewmodel.StreamViewModel import com.ogh.shared.domain.AppSettings import com.ogh.shared.domain.AudioSettings import com.ogh.shared.domain.LatencyMode diff --git a/androidApp/src/test/kotlin/com/ogh/app/data/DestinationJsonCodecTest.kt b/androidApp/src/test/kotlin/com/ogh/app/data/DestinationJsonCodecTest.kt index 87634cf..2fd2a54 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/data/DestinationJsonCodecTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/data/DestinationJsonCodecTest.kt @@ -1,4 +1,4 @@ -package com.ogh.app.data +package org.aossie.ogh.data import com.ogh.shared.domain.Destination import org.junit.Test diff --git a/androidApp/src/test/kotlin/com/ogh/app/data/SettingsJsonCodecTest.kt b/androidApp/src/test/kotlin/com/ogh/app/data/SettingsJsonCodecTest.kt index 395a942..2803faa 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/data/SettingsJsonCodecTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/data/SettingsJsonCodecTest.kt @@ -1,4 +1,4 @@ -package com.ogh.app.data +package org.aossie.ogh.data import com.ogh.shared.domain.AppSettings import com.ogh.shared.domain.AudioSettings diff --git a/androidApp/src/test/kotlin/com/ogh/app/oauth/GoogleTokenRevokerTest.kt b/androidApp/src/test/kotlin/com/ogh/app/oauth/GoogleTokenRevokerTest.kt index 047c6d5..360cea6 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/oauth/GoogleTokenRevokerTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/oauth/GoogleTokenRevokerTest.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.MockWebServer diff --git a/androidApp/src/test/kotlin/com/ogh/app/oauth/OAuthConfigTest.kt b/androidApp/src/test/kotlin/com/ogh/app/oauth/OAuthConfigTest.kt index 66527d9..f619e0c 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/oauth/OAuthConfigTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/oauth/OAuthConfigTest.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import com.ogh.shared.domain.StreamingProvider import org.junit.Test @@ -16,6 +16,6 @@ class OAuthConfigTest { @Test fun youtube_redirectMatchesDocumentedAndroidCustomSchemeForm() { - assertEquals("com.ogh.app:/oauth2callback", OAuthConfig.REDIRECT_URI) + assertEquals("org.aossie.ogh:/oauth2callback", OAuthConfig.REDIRECT_URI) } } diff --git a/androidApp/src/test/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClientTest.kt b/androidApp/src/test/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClientTest.kt index 1fae2cd..af6abad 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClientTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/oauth/TwitchDeviceAuthClientTest.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import com.ogh.shared.domain.ProviderAccount import com.ogh.shared.domain.StreamingProvider diff --git a/androidApp/src/test/kotlin/com/ogh/app/oauth/YouTubeApiClientTest.kt b/androidApp/src/test/kotlin/com/ogh/app/oauth/YouTubeApiClientTest.kt index 823d8c6..90cf112 100644 --- a/androidApp/src/test/kotlin/com/ogh/app/oauth/YouTubeApiClientTest.kt +++ b/androidApp/src/test/kotlin/com/ogh/app/oauth/YouTubeApiClientTest.kt @@ -1,4 +1,4 @@ -package com.ogh.app.oauth +package org.aossie.ogh.oauth import com.ogh.shared.domain.StreamMetadata import okhttp3.mockwebserver.MockResponse