support ios

This commit is contained in:
dmcBig
2018-04-20 16:56:23 +08:00
committed by GitHub
parent 444598adc7
commit 4239dc3ca6
12 changed files with 658 additions and 23 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ public class MediaPicker extends CordovaPlugin {
byte[] imageBytes = baos.toByteArray();
encodedImage = Base64.encodeToString(imageBytes, Base64.DEFAULT);
baos.close();
} catch (IOException e) {
} catch (Exception e) {
e.printStackTrace();
}
return encodedImage;