Rename to bsky.app

zio/stable
Paul Frazee 2022-11-05 13:56:22 -05:00
parent b6f3a234da
commit 2377431901
17 changed files with 32 additions and 32 deletions

View File

@ -35,12 +35,12 @@ android_library(
android_build_config( android_build_config(
name = "build_config", name = "build_config",
package = "xyz.blueskyweb.pubsq", package = "app.bsky",
) )
android_resource( android_resource(
name = "res", name = "res",
package = "xyz.blueskyweb.pubsq", package = "app.bsky",
res = "src/main/res", res = "src/main/res",
) )

View File

@ -135,7 +135,7 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig { defaultConfig {
applicationId "xyz.blueskyweb.pubsq" applicationId "app.bsky"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1 versionCode 1

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xyz.blueskyweb.pubsq"> package="app.bsky">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
@ -26,17 +26,17 @@
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<!-- debug host: https://pubsq.pfrazee.com --> <!-- debug host: https://bsky.pfrazee.com -->
<data android:scheme="https" /> <data android:scheme="https" />
<data android:host="pubsq.pfrazee.com" /> <data android:host="bsky.pfrazee.com" />
</intent-filter> </intent-filter>
<!-- deep linking via custom links --> <!-- deep linking via custom links -->
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<!-- debug scheme: pubsq://app --> <!-- debug scheme: bsky://app -->
<data android:scheme="pubsq" /> <data android:scheme="bsky" />
<data android:host="app" /> <data android:host="app" />
</intent-filter> </intent-filter>
</activity> </activity>

View File

@ -1,4 +1,4 @@
package xyz.blueskyweb.pubsq; package app.bsky;
import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactContextBaseJavaModule;

View File

@ -1,4 +1,4 @@
package xyz.blueskyweb.pubsq; package app.bsky;
import com.facebook.react.ReactPackage; import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.NativeModule;

View File

@ -1,4 +1,4 @@
package xyz.blueskyweb.pubsq; package app.bsky;
import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate; import com.facebook.react.ReactActivityDelegate;
@ -13,7 +13,7 @@ public class MainActivity extends ReactActivity {
*/ */
@Override @Override
protected String getMainComponentName() { protected String getMainComponentName() {
return "xyz.blueskyweb.pubsq"; return "app.bsky";
} }
/** /**

View File

@ -1,4 +1,4 @@
package xyz.blueskyweb.pubsq; package app.bsky;
import android.app.Application; import android.app.Application;
import android.content.Context; import android.content.Context;
@ -9,7 +9,7 @@ import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage; import com.facebook.react.ReactPackage;
import com.facebook.react.config.ReactFeatureFlags; import com.facebook.react.config.ReactFeatureFlags;
import com.facebook.soloader.SoLoader; import com.facebook.soloader.SoLoader;
import xyz.blueskyweb.pubsq.newarchitecture.MainApplicationReactNativeHost; import app.bsky.newarchitecture.MainApplicationReactNativeHost;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package xyz.blueskyweb.pubsq.newarchitecture; package app.bsky.newarchitecture;
import android.app.Application; import android.app.Application;
import androidx.annotation.NonNull; 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.EmptyReactNativeConfig;
import com.facebook.react.fabric.FabricJSIModuleProvider; import com.facebook.react.fabric.FabricJSIModuleProvider;
import com.facebook.react.uimanager.ViewManagerRegistry; import com.facebook.react.uimanager.ViewManagerRegistry;
import xyz.blueskyweb.pubsq.BuildConfig; import app.bsky.BuildConfig;
import xyz.blueskyweb.pubsq.newarchitecture.components.MainComponentsRegistry; import app.bsky.newarchitecture.components.MainComponentsRegistry;
import xyz.blueskyweb.pubsq.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate; import app.bsky.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package xyz.blueskyweb.pubsq.newarchitecture.components; package app.bsky.newarchitecture.components;
import com.facebook.jni.HybridData; import com.facebook.jni.HybridData;
import com.facebook.proguard.annotations.DoNotStrip; import com.facebook.proguard.annotations.DoNotStrip;

View File

@ -1,4 +1,4 @@
package xyz.blueskyweb.pubsq.newarchitecture.modules; package app.bsky.newarchitecture.modules;
import com.facebook.jni.HybridData; import com.facebook.jni.HybridData;
import com.facebook.react.ReactPackage; import com.facebook.react.ReactPackage;

View File

@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">pubsq</string> <string name="app_name">bsky</string>
</resources> </resources>

View File

@ -474,7 +474,7 @@
"-ObjC", "-ObjC",
"-lc++", "-lc++",
); );
PRODUCT_BUNDLE_IDENTIFIER = xyz.blueskyweb.pubsq; PRODUCT_BUNDLE_IDENTIFIER = app.bsky;
PRODUCT_NAME = app; PRODUCT_NAME = app;
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
@ -502,7 +502,7 @@
"-ObjC", "-ObjC",
"-lc++", "-lc++",
); );
PRODUCT_BUNDLE_IDENTIFIER = xyz.blueskyweb.pubsq; PRODUCT_BUNDLE_IDENTIFIER = app.bsky;
PRODUCT_NAME = app; PRODUCT_NAME = app;
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";

View File

@ -44,7 +44,7 @@
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter; bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
#endif #endif
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"xyz.blueskyweb.pubsq", nil); UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"app.bsky", nil);
if (@available(iOS 13.0, *)) { if (@available(iOS 13.0, *)) {
rootView.backgroundColor = [UIColor systemBackgroundColor]; rootView.backgroundColor = [UIColor systemBackgroundColor];

View File

@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>en</string> <string>en</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>PubSQ</string> <string>Bluesky</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
@ -26,10 +26,10 @@
<key>CFBundleTypeRole</key> <key>CFBundleTypeRole</key>
<string>Editor</string> <string>Editor</string>
<key>CFBundleURLName</key> <key>CFBundleURLName</key>
<string>xyz.blueskyweb.pubsq</string> <string>app.bsky</string>
<key>CFBundleURLSchemes</key> <key>CFBundleURLSchemes</key>
<array> <array>
<string>pubsqapp</string> <string>bskyapp</string>
</array> </array>
</dict> </dict>
</array> </array>

View File

@ -4,7 +4,7 @@
<dict> <dict>
<key>com.apple.developer.associated-domains</key> <key>com.apple.developer.associated-domains</key>
<array> <array>
<string>applinks:pubsq.pfrazee.com</string> <string>applinks:bsky.pfrazee.com</string>
</array> </array>
</dict> </dict>
</plist> </plist>

View File

@ -1,4 +1,4 @@
{ {
"name": "xyz.blueskyweb.pubsq", "name": "app.bsky",
"displayName": "pubsq" "displayName": "Bluesky"
} }

View File

@ -3,9 +3,9 @@ import {isIOS, isAndroid, isNative, isWeb} from './detection'
export function makeAppUrl(path = '') { export function makeAppUrl(path = '') {
if (isIOS) { if (isIOS) {
return `pubsqapp://${path}` return `bskyapp://${path}`
} else if (isAndroid) { } else if (isAndroid) {
return `pubsq://app${path}` return `bsky://app${path}`
} else { } else {
// @ts-ignore window exists -prf // @ts-ignore window exists -prf
return `${window.location.origin}${path}` return `${window.location.origin}${path}`