forked from Cutlery/immich
		
	chore(mobile): Add debug build type suffix to the applicationId and version (#2826)
This commit is contained in:
		
							parent
							
								
									b47027efc2
								
							
						
					
					
						commit
						f2942588f2
					
				@ -72,6 +72,11 @@ android {
 | 
				
			|||||||
   }
 | 
					   }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    buildTypes {
 | 
					    buildTypes {
 | 
				
			||||||
 | 
					        debug {
 | 
				
			||||||
 | 
					            applicationIdSuffix '.debug'
 | 
				
			||||||
 | 
					            versionNameSuffix '-DEBUG'
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        release {
 | 
					        release {
 | 
				
			||||||
            signingConfig signingConfigs.release
 | 
					            signingConfig signingConfigs.release
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
@ -76,7 +76,7 @@ class ServerInfoNotifier extends StateNotifier<ServerInfoState> {
 | 
				
			|||||||
    return {
 | 
					    return {
 | 
				
			||||||
      "major": int.parse(major),
 | 
					      "major": int.parse(major),
 | 
				
			||||||
      "minor": int.parse(minor),
 | 
					      "minor": int.parse(minor),
 | 
				
			||||||
      "patch": int.parse(patch),
 | 
					      "patch": int.parse(patch.replaceAll("-DEBUG", "")),
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user