mirror of
https://github.com/DmcSDK/cordova-plugin-mediaPicker
synced 2026-05-03 00:00:04 +08:00
support ios
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user