mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Fix a issue on release builds
This commit is contained in:
		@@ -71,6 +71,10 @@ android {
 | 
				
			|||||||
    buildTypes {
 | 
					    buildTypes {
 | 
				
			||||||
        release {
 | 
					        release {
 | 
				
			||||||
            signingConfig signingConfigs.release
 | 
					            signingConfig signingConfigs.release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            useProguard true
 | 
				
			||||||
 | 
					            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -85,6 +89,10 @@ android {
 | 
				
			|||||||
            applicationId "org.communiquons.beta"
 | 
					            applicationId "org.communiquons.beta"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    packagingOptions {
 | 
				
			||||||
 | 
					        exclude 'META-INF/proguard/androidx-annotations.pro'
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
flutter {
 | 
					flutter {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								android/app/proguard-rules.pro
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								android/app/proguard-rules.pro
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					## Flutter WebRTC
 | 
				
			||||||
 | 
					-keep class com.cloudwebrtc.webrtc.** { *; }
 | 
				
			||||||
 | 
					-keep class org.webrtc.** { *; }
 | 
				
			||||||
		Reference in New Issue
	
	Block a user