mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
修复 android 选择图片偶尔报错的问题
This commit is contained in:
parent
c9ed559380
commit
65e0cfaec7
2 changed files with 3 additions and 1 deletions
|
@ -50,6 +50,7 @@ public class MainApplication extends NavigationApplication {
|
||||||
new RNFetchBlobPackage(),
|
new RNFetchBlobPackage(),
|
||||||
new RNDeviceInfo(),
|
new RNDeviceInfo(),
|
||||||
new VectorIconsPackage(),
|
new VectorIconsPackage(),
|
||||||
|
new ImageResizerPackage(),
|
||||||
new AsyncStoragePackage(),
|
new AsyncStoragePackage(),
|
||||||
new PickerPackage(),
|
new PickerPackage(),
|
||||||
new XGPushPackage(),
|
new XGPushPackage(),
|
||||||
|
|
|
@ -258,7 +258,8 @@ export default class WritePage extends Component {
|
||||||
|
|
||||||
}, 1024 * 1024 * 2, 2560 * 1920, (e, imageUri) => {
|
}, 1024 * 1024 * 2, 2560 * 1920, (e, imageUri) => {
|
||||||
if(e) {
|
if(e) {
|
||||||
Msg.showMsg('操作失败');
|
console.error(e);
|
||||||
|
Msg.showMsg('操作失败' + e.toString());
|
||||||
} else {
|
} else {
|
||||||
this.setState({
|
this.setState({
|
||||||
photoSource: {
|
photoSource: {
|
||||||
|
|
Loading…
Reference in a new issue