This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const onPress = async () => { | |
| try { | |
| await launchImageLibrary( | |
| { | |
| mediaType: 'photo', | |
| selectionLimit: 1, | |
| includeBase64: true, | |
| }, | |
| handleImage, | |
| ); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def getVersionName = { getVersionProps()['appVersionName'] } | |
| def getVersionProps() { | |
| def versionPropsFile = file('gradle.properties') | |
| if (!versionPropsFile.exists()) { | |
| versionPropsFile.createNewFile() | |
| } | |
| def versionProps = new Properties() | |
| versionProps.load(new FileInputStream(versionPropsFile)) | |
| return versionProps | 
