From 51c9a51f8c31c78adbebda2520d3a0267fbad1ec Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 14 Nov 2022 13:13:08 -0600 Subject: [PATCH] Change appid to xyz.blueskyweb.app --- android/app/_BUCK | 4 ++-- android/app/build.gradle | 2 +- android/app/src/main/AndroidManifest.xml | 2 +- .../java/xyz/blueskyweb/pubsq/AppSecureRandomModule.java | 2 +- .../java/xyz/blueskyweb/pubsq/AppSecureRandomPackage.java | 2 +- .../src/main/java/xyz/blueskyweb/pubsq/MainActivity.java | 4 ++-- .../main/java/xyz/blueskyweb/pubsq/MainApplication.java | 4 ++-- .../newarchitecture/MainApplicationReactNativeHost.java | 8 ++++---- .../components/MainComponentsRegistry.java | 2 +- .../MainApplicationTurboModuleManagerDelegate.java | 2 +- ios/app.xcodeproj/project.pbxproj | 8 ++++---- ios/app/AppDelegate.mm | 2 +- ios/app/Info.plist | 2 +- ios/app/app.entitlements | 4 +--- src/app.json | 2 +- 15 files changed, 24 insertions(+), 26 deletions(-) diff --git a/android/app/_BUCK b/android/app/_BUCK index 8f24da48..ca23b2cc 100644 --- a/android/app/_BUCK +++ b/android/app/_BUCK @@ -35,12 +35,12 @@ android_library( android_build_config( name = "build_config", - package = "app.bsky", + package = "xyz.blueskyweb.app", ) android_resource( name = "res", - package = "app.bsky", + package = "xyz.blueskyweb.app", res = "src/main/res", ) diff --git a/android/app/build.gradle b/android/app/build.gradle index d439c075..932c12d1 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -135,7 +135,7 @@ android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { - applicationId "app.bsky" + applicationId "xyz.blueskyweb.app" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index d5364316..54a8415a 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="xyz.blueskyweb.app"> diff --git a/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomModule.java b/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomModule.java index 3724d960..3eab1601 100644 --- a/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomModule.java +++ b/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomModule.java @@ -1,4 +1,4 @@ -package app.bsky; +package xyz.blueskyweb.app; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; diff --git a/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomPackage.java b/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomPackage.java index f0892b0e..7b30e5a6 100644 --- a/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomPackage.java +++ b/android/app/src/main/java/xyz/blueskyweb/pubsq/AppSecureRandomPackage.java @@ -1,4 +1,4 @@ -package app.bsky; +package xyz.blueskyweb.app; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; diff --git a/android/app/src/main/java/xyz/blueskyweb/pubsq/MainActivity.java b/android/app/src/main/java/xyz/blueskyweb/pubsq/MainActivity.java index d63f4260..c8c347ad 100644 --- a/android/app/src/main/java/xyz/blueskyweb/pubsq/MainActivity.java +++ b/android/app/src/main/java/xyz/blueskyweb/pubsq/MainActivity.java @@ -1,4 +1,4 @@ -package app.bsky; +package xyz.blueskyweb.app; import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivityDelegate; @@ -13,7 +13,7 @@ public class MainActivity extends ReactActivity { */ @Override protected String getMainComponentName() { - return "app.bsky"; + return "xyz.blueskyweb.app"; } /** diff --git a/android/app/src/main/java/xyz/blueskyweb/pubsq/MainApplication.java b/android/app/src/main/java/xyz/blueskyweb/pubsq/MainApplication.java index 2d38947e..51dd6192 100644 --- a/android/app/src/main/java/xyz/blueskyweb/pubsq/MainApplication.java +++ b/android/app/src/main/java/xyz/blueskyweb/pubsq/MainApplication.java @@ -1,4 +1,4 @@ -package app.bsky; +package xyz.blueskyweb.app; import android.app.Application; import android.content.Context; @@ -9,7 +9,7 @@ import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.react.config.ReactFeatureFlags; import com.facebook.soloader.SoLoader; -import app.bsky.newarchitecture.MainApplicationReactNativeHost; +import xyz.blueskyweb.app.newarchitecture.MainApplicationReactNativeHost; import java.lang.reflect.InvocationTargetException; import java.util.List; diff --git a/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/MainApplicationReactNativeHost.java b/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/MainApplicationReactNativeHost.java index bb1f2adc..bb512cae 100644 --- a/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/MainApplicationReactNativeHost.java +++ b/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/MainApplicationReactNativeHost.java @@ -1,4 +1,4 @@ -package app.bsky.newarchitecture; +package xyz.blueskyweb.app.newarchitecture; import android.app.Application; import androidx.annotation.NonNull; @@ -19,9 +19,9 @@ import com.facebook.react.fabric.CoreComponentsRegistry; import com.facebook.react.fabric.EmptyReactNativeConfig; import com.facebook.react.fabric.FabricJSIModuleProvider; import com.facebook.react.uimanager.ViewManagerRegistry; -import app.bsky.BuildConfig; -import app.bsky.newarchitecture.components.MainComponentsRegistry; -import app.bsky.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate; +import xyz.blueskyweb.app.BuildConfig; +import xyz.blueskyweb.app.newarchitecture.components.MainComponentsRegistry; +import xyz.blueskyweb.app.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate; import java.util.ArrayList; import java.util.List; diff --git a/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/components/MainComponentsRegistry.java b/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/components/MainComponentsRegistry.java index a0a2482c..15344c1a 100644 --- a/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/components/MainComponentsRegistry.java +++ b/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/components/MainComponentsRegistry.java @@ -1,4 +1,4 @@ -package app.bsky.newarchitecture.components; +package xyz.blueskyweb.app.newarchitecture.components; import com.facebook.jni.HybridData; import com.facebook.proguard.annotations.DoNotStrip; diff --git a/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java b/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java index bbb99f7b..4cfd2f74 100644 --- a/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +++ b/android/app/src/main/java/xyz/blueskyweb/pubsq/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java @@ -1,4 +1,4 @@ -package app.bsky.newarchitecture.modules; +package xyz.blueskyweb.app.newarchitecture.modules; import com.facebook.jni.HybridData; import com.facebook.react.ReactPackage; diff --git a/ios/app.xcodeproj/project.pbxproj b/ios/app.xcodeproj/project.pbxproj index ccbfc679..bc5be5f2 100644 --- a/ios/app.xcodeproj/project.pbxproj +++ b/ios/app.xcodeproj/project.pbxproj @@ -461,7 +461,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = app/app.entitlements; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = A6GRZHF6BV; + DEVELOPMENT_TEAM = B3LX46C5HS; ENABLE_BITCODE = NO; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; INFOPLIST_FILE = app/Info.plist; @@ -474,7 +474,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = app.bsky; + PRODUCT_BUNDLE_IDENTIFIER = xyz.blueskyweb.app; PRODUCT_NAME = app; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -490,7 +490,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = app/app.entitlements; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = A6GRZHF6BV; + DEVELOPMENT_TEAM = B3LX46C5HS; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; INFOPLIST_FILE = app/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -502,7 +502,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = app.bsky; + PRODUCT_BUNDLE_IDENTIFIER = xyz.blueskyweb.app; PRODUCT_NAME = app; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; diff --git a/ios/app/AppDelegate.mm b/ios/app/AppDelegate.mm index ae764ed4..c73bc099 100644 --- a/ios/app/AppDelegate.mm +++ b/ios/app/AppDelegate.mm @@ -47,7 +47,7 @@ bridge.surfacePresenter = _bridgeAdapter.surfacePresenter; #endif - UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"app.bsky", nil); + UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"xyz.blueskyweb.app", nil); if (@available(iOS 13.0, *)) { rootView.backgroundColor = [UIColor systemBackgroundColor]; diff --git a/ios/app/Info.plist b/ios/app/Info.plist index 2d1a86ee..16c540e3 100644 --- a/ios/app/Info.plist +++ b/ios/app/Info.plist @@ -26,7 +26,7 @@ CFBundleTypeRole Editor CFBundleURLName - app.bsky + xyz.blueskyweb.app CFBundleURLSchemes bskyapp diff --git a/ios/app/app.entitlements b/ios/app/app.entitlements index 8ea56bd5..31429136 100644 --- a/ios/app/app.entitlements +++ b/ios/app/app.entitlements @@ -3,8 +3,6 @@ com.apple.developer.associated-domains - - applinks:bsky.pfrazee.com - + diff --git a/src/app.json b/src/app.json index 0f8282d5..1f9e391e 100644 --- a/src/app.json +++ b/src/app.json @@ -1,4 +1,4 @@ { - "name": "app.bsky", + "name": "xyz.blueskyweb.app", "displayName": "Bluesky" } \ No newline at end of file