Skip to content

Commit

Permalink
Modified build files for incall manager
Browse files Browse the repository at this point in the history
  • Loading branch information
f-r00t committed Nov 22, 2023
1 parent e218a1a commit 318cfb1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ def enableHermes = project.ext.react.get("enableHermes", false);
android {
compileSdkVersion rootProject.ext.compileSdkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

defaultConfig {
Expand Down Expand Up @@ -209,6 +209,7 @@ android {
}

dependencies {
implementation project(':react-native-incall-manager')
implementation project(':react-native-vector-icons')
implementation project(':react-native-fingerprint-scanner')
implementation project(':react-native-background-fetch')
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />


<application
android:name=".MainApplication"
Expand Down
Binary file added android/app/src/main/assets/fonts/iconpack.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions android/app/src/main/java/com/hugin/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.facebook.hermes.reactexecutor.HermesExecutorFactory;
import com.facebook.react.bridge.JavaScriptExecutorFactory;
import com.facebook.react.ReactApplication;
import com.zxcpoiu.incallmanager.InCallManagerPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 20
compileSdkVersion = 30
compileSdkVersion = 31
targetSdkVersion = 31
supportLibVersion = "28.0.0"
}
Expand Down
2 changes: 2 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
rootProject.name = 'TonChan'
include ':react-native-incall-manager'
project(':react-native-incall-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-incall-manager/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':react-native-fingerprint-scanner'
Expand Down

0 comments on commit 318cfb1

Please # to comment.