about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--android/app/build.gradle2
-rw-r--r--android/app/src/main/AndroidManifest.xml9
-rw-r--r--android/build.gradle2
-rw-r--r--src/routes/index.tsx2
4 files changed, 12 insertions, 3 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle
index f0782b8b2..0920a076d 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -135,7 +135,7 @@ android {
     compileSdkVersion rootProject.ext.compileSdkVersion
 
     defaultConfig {
-        applicationId "com.app"
+        applicationId "xyz.blueskyweb.pubsq"
         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 d28d40fd3..38d83125f 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -21,6 +21,15 @@
             <action android:name="android.intent.action.MAIN" />
             <category android:name="android.intent.category.LAUNCHER" />
         </intent-filter>
+        <!-- deep linking via web links -->
+        <intent-filter android:autoVerify="true">
+            <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 -->
+            <data android:scheme="https" />
+            <data android:host="pubsq.pfrazee.com" />
+        </intent-filter>
       </activity>
     </application>
 </manifest>
diff --git a/android/build.gradle b/android/build.gradle
index 5dfc68a63..e997cb0e6 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -22,7 +22,7 @@ buildscript {
         mavenCentral()
     }
     dependencies {
-        classpath("com.android.tools.build:gradle:7.0.4")
+        classpath('com.android.tools.build:gradle:7.2.1')
         classpath("com.facebook.react:react-native-gradle-plugin")
         classpath("de.undercouch:gradle-download-task:4.1.2")
         // NOTE: Do not place your application dependencies here; they belong
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index 5084473ec..2accd6fb2 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -51,7 +51,7 @@ const tabBarScreenOptions = ({
   headerShown: false,
   tabBarIcon: (_state: {focused: boolean; color: string; size: number}) => {
     // TODO: icons
-    return <Text>{route.name.at(0)}</Text>
+    return <Text>{route.name?.[0] || ''}</Text>
   },
 })