dbaq / cordova-plugin-filepickerio

Cordova plugin for FileStack.com native Android and iOS SDK
https://www.filestack.com
20 stars 18 forks source link

App crashes on opening picker in some cases #10

Closed cwohlman closed 7 years ago

cwohlman commented 7 years ago

When using the picker I occasionally get this error (which crashes the app):

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'accessing _cachedSystemAnimationFence requires the main thread'

Problem seems to be caused because of trying to run this code in a background thread: https://github.com/dbaq/cordova-plugin-filepickerio/blob/master/src/ios/FilePickerIO.m#L52

cwohlman commented 7 years ago

Nevermind, I see that this has been fixed already.

Is there any plan to push this update?

dbaq commented 7 years ago

I just published a new version on npm sorry.

cwohlman commented 7 years ago

Thanks!