Page MenuHomePhabricator

D7105.id24080.diff
No OneTemporary

D7105.id24080.diff

diff --git a/native/android/app/src/main/AndroidManifest.xml b/native/android/app/src/main/AndroidManifest.xml
--- a/native/android/app/src/main/AndroidManifest.xml
+++ b/native/android/app/src/main/AndroidManifest.xml
@@ -3,16 +3,22 @@
xmlns:tools="http://schemas.android.com/tools"
package="app.comm.android"
>
+ <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
+ <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
+ <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
+ <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
+ <!-- Required to maintain app compatibility. -->
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
+ android:maxSdkVersion="32" />
<application
android:name=".MainApplication"
@@ -38,7 +44,12 @@
android:windowSoftInputMode="adjustResize"
android:exported="true"
android:screenOrientation="portrait"
- />
+ >
+ <intent-filter>
+ <action android:name="app.comm.android.START_MAIN_ACTIVITY" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
<activity
android:name=".SplashActivity"
android:launchMode="singleTop"
diff --git a/native/android/build.gradle b/native/android/build.gradle
--- a/native/android/build.gradle
+++ b/native/android/build.gradle
@@ -2,10 +2,10 @@
buildscript {
ext {
- buildToolsVersion = "31.0.0"
+ buildToolsVersion = "33.0.0"
minSdkVersion = 21
- compileSdkVersion = 31
- targetSdkVersion = 31
+ compileSdkVersion = 33
+ targetSdkVersion = 33
if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888"
@@ -19,7 +19,7 @@
mavenCentral()
}
dependencies {
- classpath("com.android.tools.build:gradle:7.2.1")
+ classpath("com.android.tools.build:gradle:7.2.2")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:5.0.1")
classpath("com.google.gms:google-services:4.3.14")
diff --git a/native/expo-modules/aes-crypto/android/build.gradle b/native/expo-modules/aes-crypto/android/build.gradle
--- a/native/expo-modules/aes-crypto/android/build.gradle
+++ b/native/expo-modules/aes-crypto/android/build.gradle
@@ -59,7 +59,7 @@
}
android {
- compileSdkVersion safeExtGet("compileSdkVersion", 31)
+ compileSdkVersion safeExtGet("compileSdkVersion", 33)
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
@@ -72,7 +72,7 @@
defaultConfig {
minSdkVersion safeExtGet("minSdkVersion", 21)
- targetSdkVersion safeExtGet("targetSdkVersion", 31)
+ targetSdkVersion safeExtGet("targetSdkVersion", 33)
versionCode 1
versionName "0.1.0"
}
diff --git a/native/expo-modules/android-lifecycle/android/build.gradle b/native/expo-modules/android-lifecycle/android/build.gradle
--- a/native/expo-modules/android-lifecycle/android/build.gradle
+++ b/native/expo-modules/android-lifecycle/android/build.gradle
@@ -59,7 +59,7 @@
}
android {
- compileSdkVersion safeExtGet("compileSdkVersion", 31)
+ compileSdkVersion safeExtGet("compileSdkVersion", 33)
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
@@ -72,7 +72,7 @@
defaultConfig {
minSdkVersion safeExtGet("minSdkVersion", 21)
- targetSdkVersion safeExtGet("targetSdkVersion", 31)
+ targetSdkVersion safeExtGet("targetSdkVersion", 33)
versionCode 1
versionName "0.1.0"
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 12:30 AM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2689713
Default Alt Text
D7105.id24080.diff (4 KB)

Event Timeline