Open petru224 opened 7 years ago
Any update on this? I am having the same issue
same issue, hopefully it could get fixed soon
same issue・・・
any update on this?
I am having the same issue :( . Did anyone found a solution/workaround for this?
@rubencougil: I made a pull request to fix this issue, you can take a look at: https://github.com/Telerik-Verified-Plugins/ImagePicker/pull/130
The plugin crashes when cancel button is pressed and permission to access photos is denied.
2017-05-03 12:17:08.453006 CheckAndPack[2034:629433] GMImagePicker: User pressed cancel button 2017-05-03 12:17:09.145978 CheckAndPack[2034:629433] [Generic] This application is not allowed to access Photo data. ( 0 PhotoLibraryServices 0x2813fde1 + 1440
1 Photos 0x28c4154b + 62
2 libdispatch.dylib 0x003f3d43 _dispatch_client_callout + 22
3 libdispatch.dylib 0x003f4951 dispatch_once_f + 86
4 Photos 0x28c41509 + 132
5 Photos 0x28c17be7 + 134
6 Photos 0x28c2e44f + 182
7 libobjc.A.dylib 0x1da5d195 + 238
8 CheckAndPack 0x0014683d -[GMAlbumsViewController .cxx_destruct] + 40
9 libobjc.A.dylib 0x1da42047 + 116
10 libobjc.A.dylib 0x1da4cec5 objc_destructInstance + 34
11 libobjc.A.dylib 0x1da4cee5 object_dispose + 14
12 UIKit 0x23c18e93 + 138
13 UIKit 0x23a0f619 + 1772
14 UIKit 0x23a7c563 + 220
15 CheckAndPack 0x00143c83 -[GMAlbumsViewController dealloc] + 160
16 CoreFoundation 0x1e7d24df + 182
17 CoreFoundation 0x1e6f1a47 + 14
18 libobjc.A.dylib 0x1da5d195 + 238
19 UIKit 0x23a0f5ef + 1730
20 UIKit 0x23a1a081 + 464
21 CheckAndPack 0x00152431 -[GMImagePickerController .cxx_destruct] + 40
22 libobjc.A.dylib 0x1da42047 + 116
23 libobjc.A.dylib 0x1da4cec5 objc_destructInstance + 34
24 libobjc.A.dylib 0x1da4cee5 object_dispose + 14
25 UIKit 0x23c18e93 + 138
26 UIKit 0x23a0f619 + 1772
27 CheckAndPack 0x0015051d -[GMImagePickerController dealloc] + 62
28 libobjc.A.dylib 0x1da5d6eb + 616
29 CoreFoundation 0x1e6e92b9 _CFAutoreleasePoolPop + 16
30 CoreFoundation 0x1e79a795 + 1428
31 CoreFoundation 0x1e6e9533 CFRunLoopRunSpecific + 486
32 CoreFoundation 0x1e6e9341 CFRunLoopRunInMode + 104
33 GraphicsServices 0x1fec0bfd GSEventRunModal + 156
34 UIKit 0x238f7e67 + 574
35 UIKit 0x238f2591 UIApplicationMain + 150
36 CheckAndPack 0x000dbcc3 main + 50
37 libdyld.dylib 0x1deb350b + 2
)
2017-05-03 12:17:09.147056 CheckAndPack[2034:629433] Terminating app due to uncaught exception 'NSObjectInaccessibleException', reason: 'This application is not allowed to access Photo data.'
*** First throw call stack:
(0x1e7e0df7 0x1da43077 0x2813fe69 0x28c4154b 0x3f3d43 0x3f4951 0x28c41509 0x28c17be7 0x28c2e44f 0x1da5d195 0x14683d 0x1da42047 0x1da4cec5 0x1da4cee5 0x23c18e93 0x23a0f619 0x23a7c563 0x143c83 0x1e7d24df 0x1e6f1a47 0x1da5d195 0x23a0f5ef 0x23a1a081 0x152431 0x1da42047 0x1da4cec5 0x1da4cee5 0x23c18e93 0x23a0f619 0x15051d 0x1da5d6eb 0x1e6e92b9 0x1e79a795 0x1e6e9533 0x1e6e9341 0x1fec0bfd 0x238f7e67 0x238f2591 0xdbcc3 0x1deb350b)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)