diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 4fe6f5fc..7edd3ccd 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -16,6 +16,7 @@ -keep class * implements com.google.gson.TypeAdapterFactory -keep class * implements com.google.gson.JsonSerializer -keep class * implements com.google.gson.JsonDeserializer +-keep class com.hiennv.flutter_callkit_incoming.** { *; } -ignorewarnings -keepattributes *Annotation* diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 70fa7d5b..4d4dcfee 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -17,6 +17,9 @@ + + + @@ -59,7 +62,7 @@ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:exported="true" android:hardwareAccelerated="true" - android:launchMode="singleTop" + android:launchMode="singleInstance" android:theme="@style/LaunchTheme" android:windowSoftInputMode="adjustResize">