Rename to bsky.app
parent
b6f3a234da
commit
2377431901
|
@ -35,12 +35,12 @@ android_library(
|
|||
|
||||
android_build_config(
|
||||
name = "build_config",
|
||||
package = "xyz.blueskyweb.pubsq",
|
||||
package = "app.bsky",
|
||||
)
|
||||
|
||||
android_resource(
|
||||
name = "res",
|
||||
package = "xyz.blueskyweb.pubsq",
|
||||
package = "app.bsky",
|
||||
res = "src/main/res",
|
||||
)
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ android {
|
|||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
|
||||
defaultConfig {
|
||||
applicationId "xyz.blueskyweb.pubsq"
|
||||
applicationId "app.bsky"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="xyz.blueskyweb.pubsq">
|
||||
package="app.bsky">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
|
@ -26,17 +26,17 @@
|
|||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<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:host="pubsq.pfrazee.com" />
|
||||
<data android:host="bsky.pfrazee.com" />
|
||||
</intent-filter>
|
||||
<!-- deep linking via custom links -->
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<!-- debug scheme: pubsq://app -->
|
||||
<data android:scheme="pubsq" />
|
||||
<!-- debug scheme: bsky://app -->
|
||||
<data android:scheme="bsky" />
|
||||
<data android:host="app" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package xyz.blueskyweb.pubsq;
|
||||
package app.bsky;
|
||||
|
||||
import com.facebook.react.bridge.ReactApplicationContext;
|
||||
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package xyz.blueskyweb.pubsq;
|
||||
package app.bsky;
|
||||
|
||||
import com.facebook.react.ReactPackage;
|
||||
import com.facebook.react.bridge.NativeModule;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package xyz.blueskyweb.pubsq;
|
||||
package app.bsky;
|
||||
|
||||
import com.facebook.react.ReactActivity;
|
||||
import com.facebook.react.ReactActivityDelegate;
|
||||
|
@ -13,7 +13,7 @@ public class MainActivity extends ReactActivity {
|
|||
*/
|
||||
@Override
|
||||
protected String getMainComponentName() {
|
||||
return "xyz.blueskyweb.pubsq";
|
||||
return "app.bsky";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package xyz.blueskyweb.pubsq;
|
||||
package app.bsky;
|
||||
|
||||
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 xyz.blueskyweb.pubsq.newarchitecture.MainApplicationReactNativeHost;
|
||||
import app.bsky.newarchitecture.MainApplicationReactNativeHost;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.List;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package xyz.blueskyweb.pubsq.newarchitecture;
|
||||
package app.bsky.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 xyz.blueskyweb.pubsq.BuildConfig;
|
||||
import xyz.blueskyweb.pubsq.newarchitecture.components.MainComponentsRegistry;
|
||||
import xyz.blueskyweb.pubsq.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate;
|
||||
import app.bsky.BuildConfig;
|
||||
import app.bsky.newarchitecture.components.MainComponentsRegistry;
|
||||
import app.bsky.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package xyz.blueskyweb.pubsq.newarchitecture.components;
|
||||
package app.bsky.newarchitecture.components;
|
||||
|
||||
import com.facebook.jni.HybridData;
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package xyz.blueskyweb.pubsq.newarchitecture.modules;
|
||||
package app.bsky.newarchitecture.modules;
|
||||
|
||||
import com.facebook.jni.HybridData;
|
||||
import com.facebook.react.ReactPackage;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<resources>
|
||||
<string name="app_name">pubsq</string>
|
||||
<string name="app_name">bsky</string>
|
||||
</resources>
|
||||
|
|
|
@ -474,7 +474,7 @@
|
|||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = xyz.blueskyweb.pubsq;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = app.bsky;
|
||||
PRODUCT_NAME = app;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
|
@ -502,7 +502,7 @@
|
|||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = xyz.blueskyweb.pubsq;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = app.bsky;
|
||||
PRODUCT_NAME = app;
|
||||
SWIFT_VERSION = 5.0;
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
|
||||
#endif
|
||||
|
||||
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"xyz.blueskyweb.pubsq", nil);
|
||||
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"app.bsky", nil);
|
||||
|
||||
if (@available(iOS 13.0, *)) {
|
||||
rootView.backgroundColor = [UIColor systemBackgroundColor];
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>PubSQ</string>
|
||||
<string>Bluesky</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
|
@ -26,10 +26,10 @@
|
|||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>xyz.blueskyweb.pubsq</string>
|
||||
<string>app.bsky</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>pubsqapp</string>
|
||||
<string>bskyapp</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<dict>
|
||||
<key>com.apple.developer.associated-domains</key>
|
||||
<array>
|
||||
<string>applinks:pubsq.pfrazee.com</string>
|
||||
<string>applinks:bsky.pfrazee.com</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"name": "xyz.blueskyweb.pubsq",
|
||||
"displayName": "pubsq"
|
||||
"name": "app.bsky",
|
||||
"displayName": "Bluesky"
|
||||
}
|
|
@ -3,9 +3,9 @@ import {isIOS, isAndroid, isNative, isWeb} from './detection'
|
|||
|
||||
export function makeAppUrl(path = '') {
|
||||
if (isIOS) {
|
||||
return `pubsqapp://${path}`
|
||||
return `bskyapp://${path}`
|
||||
} else if (isAndroid) {
|
||||
return `pubsq://app${path}`
|
||||
return `bsky://app${path}`
|
||||
} else {
|
||||
// @ts-ignore window exists -prf
|
||||
return `${window.location.origin}${path}`
|
||||
|
|
Loading…
Reference in New Issue