Git Product home page Git Product logo

filepicker-phonegap-ios-plugin's Introduction

FilePicker Phonegap iOS Plugin

This plugin makes possible to pick files from iCloud or other document providers using a native Document Picker

The file is copied to a temp folder, if you want to keep it, copy the file to a persistent location

It's only available for iOS 8 and later

Prerequisites:

To use the plugin you have to enable iCloud for your App ID, create an iCloud Container on the developer page (https://developer.apple.com/account/ios/identifier/cloudContainer), and then configure your App ID to use that iCloud Container

Step 1: Enable iCloud

Step 2: Create the iCloud Container

Step 3: Configure the App ID to use the iCloud Container clicking "Edit" button

Now you have to recreate your provisioning profile with iCloud enabled.

You can also open the Xcode project on platforms/iOs folder clicking the .xcodeproj file and then go to the project capabilities and enable iCloud there, it should do all 3 steps for you automatically.

Installation:

cordova plugin add cordova-plugin-filepicker

Usage:

Check if picker is available

Only iOS 8 and higher support picking files from document providers, you can check beforehand whether or not you can use this plugin to have the user select files.

Note that the global FilePicker object is not available before 'deviceready' has fired.

FilePicker.isAvailable(function (avail) {
  alert(avail ? "YES" : "NO");
});

Pick a file

If you don't pass any params, public.data UTI will be used

FilePicker.pickFile(successCallback,errorCallback);
function successCallback(path) {
  alert("You picked this file: " + path);
}

You can pass the UTI as string

FilePicker.pickFile(successCallback,errorCallback,"public.data");

If you want to pass more than one UTI you can pass an array of strings

var utis = ["public.data", "public.audio"];
FilePicker.pickFile(successCallback,errorCallback,utis);

Set the position of the rectangle where the file picker should show up.

var utis = ["public.data", "public.audio"];
var position = {};
position.x = 100;
position.y = 100;
position.width = 10;
position.height = 10;
FilePicker.pickFile(successCallback,errorCallback,utis,position);

successCallback will bring the file url as string errorCallback will bring an error message as string

See all the available UTIs https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html

Known issues

This plugin uses a hook to create a .entitlements file, needed to use the Document Picker, so the plugin won't work on some online builders that don't allow hook execution (like phonegap build)

For more information about the Document Picker: https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/DocumentPickerProgrammingGuide/Introduction/Introduction.html

filepicker-phonegap-ios-plugin's People

Contributors

bharatvyas avatar doug-a-brunner avatar eddyverbruggen avatar jcesarmobile avatar madmaxedy avatar paulklinkenberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

filepicker-phonegap-ios-plugin's Issues

Popover menu always left

Hi ! i got issue , To day in install your plugin to my project ionic + cordova
When i click button upload in IOS 9 , New popover show but it allways left screen .
How to show it where i clicked

Not sure how to get local files apart from icloud

Hi, every time i try to choose any file the option that is asked to select from is "iCloud" and there is no other option to select the local files, like images inside photos or documents which are not in iCloud, how do i do that?

Please need help,

error opening file because there is no such file

HI, i tried to upload my file to cloud server using filetransfer.upload(); and it returns the error

Error opening file file:///private/var/mobile/Containers/Data/Application/E42EB84C-7664-416A-B6D0-AB9175B3593B/tmp/com.oas.MyJiranV1-Inbox/testfile.pdf: Error Domain=NSCocoaErrorDomain Code=260 "The file “testfile” couldn’t be opened because there is no such file."

is it because it is stored in the temp folder?

I noticed in the console, the actual path is actually:
picked URL file:///private/var/mobile/Containers/Data/Application/D25F57DC-CB24-41B2-BCEA-BB31B2504572/Documents/testfilepdf with the Inbox copy file:///private/var/mobile/Containers/Data/Application/E42EB84C-7664-416A-B6D0-AB9175B3593B/tmp/com.oas.MyJiranV1-Inbox/testfile.pdf

do i have to copy it to a folder to be able to upload it?

npm/Phonegap build?

I love your plugin on the local phonegap. But unfortunately i can't use it on phonegap build. Could you consider posting this on npm the cordova plugin site?

Files are not getting displayed

Hi, i have successfully integrated your plugin (i guess), the icloud option opens up that is all, and then nothing shows up inside that icloud window, no files show up i have added all the identifiers still nothing, is there anything that i am doing wrong, please help

Choose Local files images

Hi any one suggest solution for the below issue. when i am using this plugin i can only accessing files from icloud, googleDrive. if there is any way to access the files and images from phone memory.

not supporting ios9?

Hello, after doing a research about an ios plugin to choose files in ios this was the best option (only one) that i find, but i tested in my device (ios 9 iphone 5s) and it doesn't display nothing.

My question is if it supports ios 9 update due some of the code snippets that i check over ionic forums claim that it might be supported but wasn't been tested on a device

FilePicker.pickFile not returning successCallback or errorCallback when instantiated.

I am trying to implement filePicker to select a file from iCloud. I have carried out the necessary changes to capabilities and entitlements.

screen shot 2017-01-18 at 15 49 46

When my function FilePicker.isAvailable fires it correctly returns ''YES". However when FilePicker.pickFile is fired I get nothing back, no successCallback or errorCallback.

I am a bit confused as to what is happening and tried various different options including putting through UTIs as a string and null for the positioning of the picker.

function anyFunction(){  
    FilePicker.isAvailable(function (avail) {
        console.log(avail ? "YES" : "NO");
    });   
    FilePicker.pickFile(successCallback, errorCallback);
}

function successCallback(path){
    console.log("You picked this file: " + path);
}

function errorCallback(err){
    console.log('Error from file picker : '+err);
}

Working from XCode but not from cordova run --device ios :(

When running form XCode i get the document picker allowing me to pick iCloud. When i run the same project with cordova run --device ios: no document picker! The plugin isAvailable() callback does say it is available though :(

Did anyone ever have a similar issue?

position in ionic

Can I use the parameter position of type IOSFilePickerPosition in pickFile()?
Thanks!

Intermittent problem picking files using filepicker

Hi
I am using your FilePicker for an app I am building.

I followed your instructions on github and have my container set up correctly.
I am using an iPhone 6s running iOS 10.2.1.

I am getting an intermittent error. Sometimes it works sometimes it doesn't.

My Code:

function buttonYes(){
FilePicker.isAvailable(function (avail) {
console.log(avail ? "YES" : "NO");
});
window.FilePicker.pickFile(filePickSuccessCallback,filePickErrorCallback);
}

function filePickSuccessCallback(path){
var fName = path.substr(path.lastIndexOf('/') + 1);
console.log(fName);
var fileDir = cordova.file.tempDirectory + 'com.dearle-Inbox/';
var timestamp = Math.floor(Date.now());
timestamp = formatTimeStamp(timestamp);

console.log("You picked this file: " + path);

    for(j = 0; j < jobs.jobs.length; j++){
        var job = jobs.jobs[j];
        if(job.jobId == jobid){
            console.log('job.jobId :'+ job.jobId + ' jobid : '+ jobid);
            
            if(docUpload.length == 0){
                docUpload.push({fileName: fName, job: jobid, documentId: documentId, filePath: path});
                saveDocUpload(docUpload);
            }
            else{
                var docIsThere = false;
                for(du = 0; du < docUpload.length; du++){
                    var docForUpload = docUpload[du];
                    if(docForUpload.fileName == fName){
                        docIsThere = true;
                    }
                }
                if(!docIsThere){
                    docUpload.push({fileName: fName, job: jobid, documentId: documentId, filePath: path});
                    saveDocUpload(docUpload);
                }
            }
            
            console.log(docUpload);
            
            if(!job.docUpload || job.docUpload.length == 0){
                job.docUpload = [];
                job.docUpload.push({fileName: fName, job: jobid, documentId: documentId, filePath: path});
                saveJobs(jobs);
            }
            else{
                var isDocAlreadyThere = false;
                for(d = 0; d < job.docUpload.length; d++){
                    var doc = job.docUpload[d];
                    if(doc.fileName == fName ){
                        isDocAlreadyThere = true;
                    }
                }
                if(!isDocAlreadyThere){
                    job.docUpload.push({fileName: fName, job: jobid, documentId: documentId, filePath: path});
                    saveJobs(jobs);
                }
            }
        }
    }

window.resolveLocalFileSystemURL(cordova.file.tempDirectory+'com.dearle-Inbox/+fName, function(fileEntry){
    console.log(fileEntry);
}, function(e){console.log(e);});

}

The output always tells me I have picked a file and have a successful call back.

console log from success callback:
You picked this file: /private/var/mobile/Containers/Data/Application/A9025397-8E84-4BF8-91AC-DAF42B06E27B/tmp/com.dearle-Inbox/4156345_How_to_get_started.pdf.

This seems to suggest that I have successfully transferred the file. However when I check for the file using the window.resolveLocalFileSystemURL call I will get 1 of 2 outputs.

1: I will get a successful callback as it finds the file or

2: I will get an FILE_NOT_FOUND_ERROR from Cordova-Plugin-File

I have tried various different things, but to no avail.

Unfortunately I am not an objective C programmer (it baffles me!!).

I would appreciate your help.

How to use other documents providers?

Hello,

I'm new in iOS and Cordova, so maybe ask a silly question.

I want to use you plugin and it works for me, but show only iCloud option in popover.

What should be done to add more options in the list? For example, I want to have Photos and iCloud in my app.

ionic 2 How to get mimeType from Cordova File Transfer Plugin in ios?

I am developing hybrid mobile application. In one of the scenario we need to fetch mimeType from a file when we select or upload a file.

Android side perfectly work but ios side not working (this.File.resolveLocalFilesystemUrl).ios related solution available or not ?

this.File.resolveLocalFilesystemUrl(fileUri).then((entry: Entry) => {
    if (entry) {
        var fileEntry = entry as FileEntry;
        fileEntry.file(success => { 
            var mimeType = success.type;
        }, error => {
            // no mime type found;
        });        
    }
});

How can i read a file from iCloud in an iOS-device

First of all, I am not sure if this problem is related with this plugin or if it's related with cordova-plugin-file.

I want to read the content of a file stored in iCloud. (It's a PDF, but it doesn't matter now).
Important note: I don't want to open the file. I want to read the content.

I pick the file with the FilePicker Phonegap iOS Plugin. The plugin gives me a path.

I want to read it whith the Cordova File Plugin (https://github.com/apache/cordova-plugin-file) but I did something wrong and the log is always giving me an error.

Here is the code of the angularjs based project:

$scope.successCallback = function (path) {
    var fileName = path.substr(path.lastIndexOf('/') + 1);
    var fileDir = path.substr(0,path.lastIndexOf('/') + 1)
    console.log("FilePath: " + path);

    $cordovaFile.readAsDataURL(fileDir, fileName)
      .then(function (data) {
          console.log("Data OK=" + data);
      }, function (error) {
          console.log("Error reading file: " + JSON.stringify(error));
      });                 
}
window.FilePicker.pickFile($scope.successCallback, $scope.errorCallback);

And that's the output:

$FilePath: /private/var/mobile/Containers/Data/Application/{id}/tmp/DocumentPickerIncoming/file.pdf
$Error reading file: {"code":5,"message":"ENCODING_ERR"}

What am I doing wrong?
Thanks a lot

Error After Choosing File

Hi,

I am trying to use your plugin and all works well up until I choose a file.
The successCallback is never called and I get the message "plugin com.apple.UIKit.fileprovider.default invalidated" in the Xcode console.

Any idea on how to solve this?
Thanks

Discontinued?

Has this plugin been discontinued? The last update was almost a year ago.

It's a nice feature and I couldn't find any replacements for iOS. Anyone knows of one?

Regarding excel sheet issue

Hello,

In my app, I want to fetch only excel file (.xlsx) from cloud & send it to server. I'm using google drive as well as iCloud. Everything is working fine with iCloud.

But while choosing from google drive, the file which I'm fetching is .xlsx, but it is opening as PDF. I used UTI = "public data".

Please see below image:

img_0599

Also I went through this document : https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html

It has identifier for xls files (UTI = "com.microsoft.excel.xls") but there is no identifier for .xlsx files.

Can anyone please let me know if I'm missing something.

Failed to fetch plugin file:node_modules/cordova-plugin-filepicker via registry

Hi there, I run cordova plugin add cordova-plugin-filepicker to add the plugin to my Ionic app however this returns the following error -

Error: Failed to fetch plugin file:node_modules/cordova-plugin-filepicker via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.

I'm not sure what the issue is - can you advise? Cheers

FileProvider Crash sometimes after selecting files from Google Drive.

Hi, thanks for your excellent plugin and your effort. The FileProvider crash sometimes after selecting files from Google Drive with the FilePicker plugin. This is my CrashReporter.

Thanks for your help!!

Incident Identifier: 33BF50EC-F8B4-4098-91A7-EB1612D97778
CrashReporter Key:   4b95bfecc992947d3c6c6cde17f47bea51bbf8b3
Hardware Model:      iPhone6,1
Process:             FileProvider [553]
Path:                /private/var/containers/Bundle/Application/1F4BDA5F-482E-4923-89D0-7F6AD11101A9/Drive.app/PlugIns/FileProvider.appex/FileProvider
Identifier:          com.google.Drive.FileProviderExtension
Version:             4.2017.25202 (4.2017.25202)
Code Type:           ARM-64 (Native)
Role:                Unspecified
Parent Process:      launchd [1]
Coalition:           com.google.Drive.FileProviderExtension [323]


Date/Time:           2017-07-18 16:50:36.7060 -0300
Launch Time:         2017-07-18 16:49:57.3914 -0300
OS Version:          iPhone OS 10.3.2 (14F89)
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace <0xF>, Code 0xdead10cc
Triggered by Thread:  0

Filtered syslog:
None found

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   CoreFoundation                	0x000000018b2c2d30 _CFRelease + 480
1   CoreFoundation                	0x000000018b2c2c28 _CFRelease + 216
2   CFNetwork                     	0x000000018b9fbe54 URLResponse::~URLResponse() + 68
3   CoreFoundation                	0x000000018b2c2c28 _CFRelease + 216
4   CFNetwork                     	0x000000018b92a850 -[NSURLResponseInternal dealloc] + 36
5   CFNetwork                     	0x000000018b92b3f4 -[NSURLResponse(NSURLResponsePrivate) dealloc] + 44
6   CFNetwork                     	0x000000018b92bcfc -[NSHTTPURLResponse dealloc] + 76
7   FileProvider                  	0x00000001001a7ebc 0x100018000 + 1638076
8   libobjc.A.dylib               	0x0000000189d72f00 object_cxxDestructFromClass(objc_object*, objc_class*) + 148
9   libobjc.A.dylib               	0x0000000189d80334 objc_destructInstance + 92
10  libobjc.A.dylib               	0x0000000189d80398 object_dispose + 28
11  FileProvider                  	0x000000010019bd58 0x100018000 + 1588568
12  CFNetwork                     	0x000000018baeeb44 __destroy_helper_block_.465 + 28
13  libsystem_blocks.dylib        	0x000000018a21fa68 _Block_release + 160
14  Foundation                    	0x000000018bd27f9c -[NSBlockOperation dealloc] + 64
15  Foundation                    	0x000000018bde3cb0 __NSOQSchedule_f + 484
16  libdispatch.dylib             	0x000000018a1ca9a0 _dispatch_client_callout + 16
17  libdispatch.dylib             	0x000000018a1cf5e8 _dispatch_main_queue_callback_4CF + 996
18  CoreFoundation                	0x000000018b2c10c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
19  CoreFoundation                	0x000000018b2bece4 __CFRunLoopRun + 1572
20  CoreFoundation                	0x000000018b1eeda4 CFRunLoopRunSpecific + 424
21  Foundation                    	0x000000018bd08d74 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
22  Foundation                    	0x000000018bd5d6c4 -[NSRunLoop(NSRunLoop) run] + 88
23  libxpc.dylib                  	0x000000018a413c54 _xpc_objc_main + 664
24  libxpc.dylib                  	0x000000018a415984 xpc_main + 200
25  Foundation                    	0x000000018bf16d90 service_connection_handler + 0
26  PlugInKit                     	0x0000000193c9312c -[PKService run] + 752
27  PlugInKit                     	0x0000000193c92cf0 +[PKService main] + 56
28  PlugInKit                     	0x0000000193c93150 +[PKService _defaultRun:arguments:] + 20
29  Foundation                    	0x000000018befcba4 NSExtensionMain + 64
30  libdyld.dylib                 	0x000000018a1fd59c start + 4

Thread 1 name:  Dispatch queue: com.google.ssoauth.FileWriteQueue
Thread 1:
0   libsystem_kernel.dylib        	0x000000018a2f14dc fsync + 8
1   Foundation                    	0x000000018bd1eef0 _NSWriteDataToFileWithExtendedAttributes + 640
2   Foundation                    	0x000000018bd67dd8 -[NSData(NSData) writeToURL:options:error:] + 264
3   FileProvider                  	0x0000000100170998 0x100018000 + 1411480
4   libdispatch.dylib             	0x000000018a1ca9e0 _dispatch_call_block_and_release + 24
5   libdispatch.dylib             	0x000000018a1ca9a0 _dispatch_client_callout + 16
6   libdispatch.dylib             	0x000000018a1d8ad4 _dispatch_queue_serial_drain + 928
7   libdispatch.dylib             	0x000000018a1ce2cc _dispatch_queue_invoke + 884
8   libdispatch.dylib             	0x000000018a1daa50 _dispatch_root_queue_drain + 540
9   libdispatch.dylib             	0x000000018a1da7d0 _dispatch_worker_thread3 + 124
10  libsystem_pthread.dylib       	0x000000018a3d3100 _pthread_wqthread + 1096
11  libsystem_pthread.dylib       	0x000000018a3d2cac start_wqthread + 4

Thread 2:
0   libsystem_pthread.dylib       	0x000000018a3d2ca8 start_wqthread + 0

Thread 3 name:  Dispatch queue: com.apple.NSURLSession-work
Thread 3:
0   libsystem_kernel.dylib        	0x000000018a2f05c4 fstat + 8
1   CoreFoundation                	0x000000018b221fc0 _CFReadBytesFromFile + 176
2   CoreFoundation                	0x000000018b220d68 CFURLCreateDataAndPropertiesFromResource + 544
3   CoreFoundation                	0x000000018b2f5ef4 _CFDataCreateFromURL + 72
4   CoreFoundation                	0x000000018b367094 _copyStringFromTable + 288
5   CoreFoundation                	0x000000018b366c90 CFBundleCopyLocalizedStringForLocalization + 128
6   CFNetwork                     	0x000000018ba0fc7c _CFNetworkErrorMapErrorCode(long, __CFString const*, __CFString const*, __CFString const*, __CFString const*, __CFString const*, __CFString const*, __CFString const*, __CFString const*) + 108
7   CFNetwork                     	0x000000018ba0f428 _CFNetworkErrorInitLocalizedStringsDictionary() + 136
8   libsystem_pthread.dylib       	0x000000018a3d741c __pthread_once_handler + 80
9   libsystem_platform.dylib      	0x000000018a3cca48 _os_once + 52
10  libsystem_pthread.dylib       	0x000000018a3d4300 pthread_once + 68
11  CFNetwork                     	0x000000018ba0e51c _CFNetworkErrorGetLocalizedString(long, long) + 48
12  CFNetwork                     	0x000000018ba0e5bc _CFNetworkErrorCopyLocalizedDescriptionWithHostname + 40
13  CFNetwork                     	0x000000018b9fa58c cfnTranslateCFError + 260
14  CFNetwork                     	0x000000018b9ec278 __51-[__NSCFURLLocalSessionConnection _task_sendFinish]_block_invoke + 104
15  CFNetwork                     	0x000000018b9ec204 -[__NSCFURLLocalSessionConnection _task_sendFinish] + 88
16  CFNetwork                     	0x000000018b9ed39c -[__NSCFURLLocalSessionConnection _didFinishWithError:] + 400
17  CFNetwork                     	0x000000018baa3b30 ___ZN19URLConnectionLoader15protocolDidFailEP9__CFError_block_invoke_2 + 44
18  CFNetwork                     	0x000000018b9efc68 ___ZN25SessionConnectionLoadable21withLoaderClientAsyncEU13block_pointerFvP21LoaderClientInterfaceE_block_invoke + 32
19  libdispatch.dylib             	0x000000018a1ca9e0 _dispatch_call_block_and_release + 24
20  libdispatch.dylib             	0x000000018a1ca9a0 _dispatch_client_callout + 16
21  libdispatch.dylib             	0x000000018a1d8ad4 _dispatch_queue_serial_drain + 928
22  libdispatch.dylib             	0x000000018a1ce2cc _dispatch_queue_invoke + 884
23  libdispatch.dylib             	0x000000018a1daa50 _dispatch_root_queue_drain + 540
24  libdispatch.dylib             	0x000000018a1da7d0 _dispatch_worker_thread3 + 124
25  libsystem_pthread.dylib       	0x000000018a3d3100 _pthread_wqthread + 1096
26  libsystem_pthread.dylib       	0x000000018a3d2cac start_wqthread + 4

Thread 4 name:  GAIThread
Thread 4:
0   libsystem_kernel.dylib        	0x000000018a2f14dc fsync + 8
1   libsqlite3.dylib              	0x000000018b86efd8 0x18b808000 + 421848
2   libsqlite3.dylib              	0x000000018b879d4c 0x18b808000 + 466252
3   libsqlite3.dylib              	0x000000018b86e894 0x18b808000 + 419988
4   libsqlite3.dylib              	0x000000018b85b578 0x18b808000 + 341368
5   libsqlite3.dylib              	0x000000018b82ad70 0x18b808000 + 142704
6   libsqlite3.dylib              	0x000000018b854b60 0x18b808000 + 314208
7   libsqlite3.dylib              	0x000000018b8460c8 sqlite3_step + 528
8   FileProvider                  	0x00000001001d6a24 0x100018000 + 1829412
9   FileProvider                  	0x00000001001d64b4 0x100018000 + 1828020
10  FileProvider                  	0x00000001001d01d8 0x100018000 + 1802712
11  FileProvider                  	0x00000001001cfff4 0x100018000 + 1802228
12  Foundation                    	0x000000018be064cc __NSThreadPerformPerform + 340
13  CoreFoundation                	0x000000018b2c142c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
14  CoreFoundation                	0x000000018b2c0d9c __CFRunLoopDoSources0 + 540
15  CoreFoundation                	0x000000018b2be9a8 __CFRunLoopRun + 744
16  CoreFoundation                	0x000000018b1eeda4 CFRunLoopRunSpecific + 424
17  Foundation                    	0x000000018bd08d74 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
18  Foundation                    	0x000000018bd5d6c4 -[NSRunLoop(NSRunLoop) run] + 88
19  FileProvider                  	0x00000001001bd5ec 0x100018000 + 1725932
20  Foundation                    	0x000000018be062d8 __NSThread__start__ + 996
21  libsystem_pthread.dylib       	0x000000018a3d568c _pthread_body + 240
22  libsystem_pthread.dylib       	0x000000018a3d559c _pthread_body + 0
23  libsystem_pthread.dylib       	0x000000018a3d2cb4 thread_start + 4

Thread 5:
0   libsystem_pthread.dylib       	0x000000018a3d2ca8 start_wqthread + 0

Thread 6 name:  com.apple.NSURLConnectionLoader
Thread 6:
0   libsystem_kernel.dylib        	0x000000018a2ef224 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x000000018a2ef09c mach_msg + 72
2   CoreFoundation                	0x000000018b2c0e90 __CFRunLoopServiceMachPort + 192
3   CoreFoundation                	0x000000018b2beae4 __CFRunLoopRun + 1060
4   CoreFoundation                	0x000000018b1eeda4 CFRunLoopRunSpecific + 424
5   CFNetwork                     	0x000000018b9fadf4 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404
6   Foundation                    	0x000000018be062d8 __NSThread__start__ + 996
7   libsystem_pthread.dylib       	0x000000018a3d568c _pthread_body + 240
8   libsystem_pthread.dylib       	0x000000018a3d559c _pthread_body + 0
9   libsystem_pthread.dylib       	0x000000018a3d2cb4 thread_start + 4

Thread 7:
0   libsystem_kernel.dylib        	0x000000018a30da88 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018a3d31a4 _pthread_wqthread + 1260
2   libsystem_pthread.dylib       	0x000000018a3d2cac start_wqthread + 4

Thread 8:
0   libsystem_kernel.dylib        	0x000000018a30da88 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018a3d31a4 _pthread_wqthread + 1260
2   libsystem_pthread.dylib       	0x000000018a3d2cac start_wqthread + 4

Thread 9:
0   libsystem_kernel.dylib        	0x000000018a30da88 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018a3d31a4 _pthread_wqthread + 1260
2   libsystem_pthread.dylib       	0x000000018a3d2cac start_wqthread + 4

Thread 10:
0   libsystem_kernel.dylib        	0x000000018a30da88 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018a3d31a4 _pthread_wqthread + 1260
2   libsystem_pthread.dylib       	0x000000018a3d2cac start_wqthread + 4

Thread 11:
0   libsystem_kernel.dylib        	0x000000018a30da88 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018a3d31a4 _pthread_wqthread + 1260
2   libsystem_pthread.dylib       	0x000000018a3d2cac start_wqthread + 4

Thread 12:
0   libsystem_pthread.dylib       	0x000000018a3d2ca8 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000001003ec000   x1: 0x00000001003f9400   x2: 0x0000000143d66ae0   x3: 0x000000000000001d
    x4: 0x0000000000000002   x5: 0x000000016fde6268   x6: 0x000000016fde6378   x7: 0x0000000000000000
    x8: 0x00000001004007ad   x9: 0x00000000006007ad  x10: 0x0000000000000000  x11: 0x0000000000000fff
   x12: 0x0000000143d66000  x13: 0x000000000000259c  x14: 0x000000000000259c  x15: 0x000000000000259c
   x16: 0x00000001b15f0be0  x17: 0x000000018b92a82c  x18: 0x0000000000000000  x19: 0x0000000143d1a330
   x20: 0xffffffffffffffff  x21: 0x0000000143d1a338  x22: 0x0000000000000007  x23: 0x00000001b15ec1e8
   x24: 0x00000001b0065000  x25: 0x0000000100000000  x26: 0xffffffff00000000  x27: 0x00000001000007ad
   x28: 0x0000000002ffffff   fp: 0x000000016fde67a0   lr: 0x000000018b2c2c28
    sp: 0x000000016fde6740   pc: 0x000000018b2c2d30 cpsr: 0x60000000

Binary Images:
0x100018000 - 0x1002cffff FileProvider arm64  <470b0ae91d6d3048b8b9dc98e88363ed> /var/containers/Bundle/Application/1F4BDA5F-482E-4923-89D0-7F6AD11101A9/Drive.app/PlugIns/FileProvider.appex/FileProvider
0x1004c8000 - 0x1004fbfff dyld arm64  <a3339f99c2ea39d8beb70b8ff2e84061> /usr/lib/dyld
0x100594000 - 0x10059bfff sdk.dylib arm64  <0ecb3d51420331c8a6053a995eddf83f> /System/Library/Caches/com.apple.xpc/sdk.dylib
0x189cf4000 - 0x189cf5fff libSystem.B.dylib arm64  <2e9654eb84903bd7aee0815fd9d27591> /usr/lib/libSystem.B.dylib
0x189cf6000 - 0x189d4bfff libc++.1.dylib arm64  <da0f6a86db853140b2d79e3b36f28795> /usr/lib/libc++.1.dylib
0x189d4c000 - 0x189d68fff libc++abi.dylib arm64  <5dc5ba28cfa43f838099049d17ba9ec6> /usr/lib/libc++abi.dylib
0x189d6c000 - 0x18a149fff libobjc.A.dylib arm64  <85f3b59b96243690b138ce96e663bf4b> /usr/lib/libobjc.A.dylib
0x18a14a000 - 0x18a14efff libcache.dylib arm64  <5d1024035c983afdacc90dad2f0280ec> /usr/lib/system/libcache.dylib
0x18a14f000 - 0x18a15afff libcommonCrypto.dylib arm64  <0ca00f1d89553b9e8ad032310e8ecbb8> /usr/lib/system/libcommonCrypto.dylib
0x18a15b000 - 0x18a15efff libcompiler_rt.dylib arm64  <771427d857db3158b2f7d971afa219c9> /usr/lib/system/libcompiler_rt.dylib
0x18a15f000 - 0x18a166fff libcopyfile.dylib arm64  <793e7046ae7c3b65b17d6e0d9fe975fd> /usr/lib/system/libcopyfile.dylib
0x18a167000 - 0x18a1c8fff libcorecrypto.dylib arm64  <66d47f7529873633892967a26e598456> /usr/lib/system/libcorecrypto.dylib
0x18a1c9000 - 0x18a1f8fff libdispatch.dylib arm64  <1643bcf57daf389784dfcad8c485fd3e> /usr/lib/system/libdispatch.dylib
0x18a1f9000 - 0x18a1fdfff libdyld.dylib arm64  <6c6a61f720cf30daa4a357cbefbf4cd6> /usr/lib/system/libdyld.dylib
0x18a1fe000 - 0x18a1fefff liblaunch.dylib arm64  <1539b0564b4b34f78ab27c96400c3619> /usr/lib/system/liblaunch.dylib
0x18a1ff000 - 0x18a204fff libmacho.dylib arm64  <9434199c06b73b7090f38d0d0f6e6c20> /usr/lib/system/libmacho.dylib
0x18a205000 - 0x18a206fff libremovefile.dylib arm64  <2262f08800e630af981ed21f7240d32e> /usr/lib/system/libremovefile.dylib
0x18a207000 - 0x18a21efff libsystem_asl.dylib arm64  <8c876d02afeb3aa18e733bbdbfa074f9> /usr/lib/system/libsystem_asl.dylib
0x18a21f000 - 0x18a21ffff libsystem_blocks.dylib arm64  <45adbecbe4b93744911aa6314fbbc8ff> /usr/lib/system/libsystem_blocks.dylib
0x18a220000 - 0x18a29cfff libsystem_c.dylib arm64  <31008bfe57f7313a974fad1f76e24496> /usr/lib/system/libsystem_c.dylib
0x18a29d000 - 0x18a2a1fff libsystem_configuration.dylib arm64  <99e65007dcd2368da0a7896f491ece18> /usr/lib/system/libsystem_configuration.dylib
0x18a2a2000 - 0x18a2a7fff libsystem_containermanager.dylib arm64  <62636c63790b3c0d9cc115fc73d66ba2> /usr/lib/system/libsystem_containermanager.dylib
0x18a2a8000 - 0x18a2a9fff libsystem_coreservices.dylib arm64  <9eec7dc8a2d831639eaf9bd9b3e70377> /usr/lib/system/libsystem_coreservices.dylib
0x18a2aa000 - 0x18a2c2fff libsystem_coretls.dylib arm64  <f7a5e11e082d37babe31812e9717fcf0> /usr/lib/system/libsystem_coretls.dylib
0x18a2c3000 - 0x18a2c9fff libsystem_dnssd.dylib arm64  <9700821f537737e4b2f91607acb78aa7> /usr/lib/system/libsystem_dnssd.dylib
0x18a2ca000 - 0x18a2edfff libsystem_info.dylib arm64  <077e4a85b19f3b00b768a5eb34fe46b5> /usr/lib/system/libsystem_info.dylib
0x18a2ee000 - 0x18a312fff libsystem_kernel.dylib arm64  <275624061b1a3ab391baf08b4ba58a97> /usr/lib/system/libsystem_kernel.dylib
0x18a313000 - 0x18a33ffff libsystem_m.dylib arm64  <d8e9248df4523f35a7ac365dab827fba> /usr/lib/system/libsystem_m.dylib
0x18a340000 - 0x18a35bfff libsystem_malloc.dylib arm64  <56104290e798374188ef0da981dc3146> /usr/lib/system/libsystem_malloc.dylib
0x18a35c000 - 0x18a3b5fff libsystem_network.dylib arm64  <54ba9caf24023fd0ad569557ac08b1a6> /usr/lib/system/libsystem_network.dylib
0x18a3b6000 - 0x18a3bffff libsystem_networkextension.dylib arm64  <8aef40a6317b3062b40dc94d87f7d1bf> /usr/lib/system/libsystem_networkextension.dylib
0x18a3c0000 - 0x18a3cafff libsystem_notify.dylib arm64  <1da4fe88c1ad31b6a5c7c2138f5d1c94> /usr/lib/system/libsystem_notify.dylib
0x18a3cb000 - 0x18a3d1fff libsystem_platform.dylib arm64  <a0a582b8f653379e8ac7799e83c90b1f> /usr/lib/system/libsystem_platform.dylib
0x18a3d2000 - 0x18a3dbfff libsystem_pthread.dylib arm64  <8f14c41e6536348a9b6ffd2a82be7d57> /usr/lib/system/libsystem_pthread.dylib
0x18a3dc000 - 0x18a3dffff libsystem_sandbox.dylib arm64  <ac550550955c37c2b2e4022095b4b8de> /usr/lib/system/libsystem_sandbox.dylib
0x18a3e0000 - 0x18a3e7fff libsystem_symptoms.dylib arm64  <39c51c9bffa030ef82de6c281436e836> /usr/lib/system/libsystem_symptoms.dylib
0x18a3e8000 - 0x18a3fafff libsystem_trace.dylib arm64  <3fdd15d2b2c33d68b8cc600d0482b5fd> /usr/lib/system/libsystem_trace.dylib
0x18a3fb000 - 0x18a400fff libunwind.dylib arm64  <990bab05c7b333f3bfc274d5ea579b71> /usr/lib/system/libunwind.dylib
0x18a401000 - 0x18a401fff libvminterpose.dylib arm64  <dabe83c40ec235dfb7f0e8fe395e1844> /usr/lib/system/libvminterpose.dylib
0x18a402000 - 0x18a428fff libxpc.dylib arm64  <7a12d1ee49b73e1eb582b9c359c7fe79> /usr/lib/system/libxpc.dylib
0x18a429000 - 0x18a63efff libicucore.A.dylib arm64  <d7b181cad9a438e7b6e010c2e4c8da5e> /usr/lib/libicucore.A.dylib
0x18a63f000 - 0x18a650fff libz.1.dylib arm64  <ab0d683d7cf931e49e5456a420ced72e> /usr/lib/libz.1.dylib
0x18b1e6000 - 0x18b567fff CoreFoundation arm64  <719044f95fe23ee0ab14504def42b100> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x18b568000 - 0x18b578fff libbsm.0.dylib arm64  <4f2930cfb67e3965a863f8bfb7704300> /usr/lib/libbsm.0.dylib
0x18b579000 - 0x18b579fff libenergytrace.dylib arm64  <5cfceffa0be736398124efbb3d80cbd1> /usr/lib/libenergytrace.dylib
0x18b57a000 - 0x18b5f5fff IOKit arm64  <6f72fc6ac9d2309dbf33c8b014c129d0> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x18b5f6000 - 0x18b616fff libMobileGestalt.dylib arm64  <5674397d74c33492a16f51f6fd33f114> /usr/lib/libMobileGestalt.dylib
0x18b617000 - 0x18b700fff libxml2.2.dylib arm64  <605bee9eb5ff3c43a65d251460f3650c> /usr/lib/libxml2.2.dylib
0x18b701000 - 0x18b79bfff Security arm64  <287bf21cb54734b9b91574ccb4e71436> /System/Library/Frameworks/Security.framework/Security
0x18b79c000 - 0x18b807fff SystemConfiguration arm64  <57d2eead9fcf34ecaa81c225ad8345e1> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x18b808000 - 0x18b918fff libsqlite3.dylib arm64  <aa3a5cd643b43e40b5680d5a3758ab8f> /usr/lib/libsqlite3.dylib
0x18b919000 - 0x18bc8dfff CFNetwork arm64  <05331a42dd8b31cea6ef547eadc487cd> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x18bc8e000 - 0x18bc9bfff libbz2.1.0.dylib arm64  <29e1c06129583bb5b423bbfd7397c0e5> /usr/lib/libbz2.1.0.dylib
0x18bc9c000 - 0x18bcb4fff liblzma.5.dylib arm64  <eb9e235443573c948bcd016ea00a3709> /usr/lib/liblzma.5.dylib
0x18bcb5000 - 0x18bccffff libCRFSuite.dylib arm64  <a859d30f7de034a2bee5aa662bc5bc2d> /usr/lib/libCRFSuite.dylib
0x18bcd0000 - 0x18bcf9fff libarchive.2.dylib arm64  <a31887c5b46a3b97ad308f4db869be43> /usr/lib/libarchive.2.dylib
0x18bcfa000 - 0x18bcfbfff liblangid.dylib arm64  <80d66702d7ce30b7b75c3f75472697eb> /usr/lib/liblangid.dylib
0x18bcfc000 - 0x18bfcbfff Foundation arm64  <08e6a29fdbac38dd817c66cedf0e0052> /System/Library/Frameworks/Foundation.framework/Foundation
0x18bfcc000 - 0x18c077fff libBLAS.dylib arm64  <708d8599265c39d3881fc57c55bc982d> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x18c078000 - 0x18c3a6fff libLAPACK.dylib arm64  <96e5ce2234903263ad30c6398972d535> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x18c3a7000 - 0x18c641fff vImage arm64  <1f67094759de381898830a3692edff0f> /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
0x18c642000 - 0x18c667fff libvMisc.dylib arm64  <3de044e80d883d6188e8ce8a8572ec5b> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
0x18c668000 - 0x18c67cfff libLinearAlgebra.dylib arm64  <37c71c692da03cc9a1534badab1cf6f4> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLinearAlgebra.dylib
0x18c67d000 - 0x18c68efff libSparseBLAS.dylib arm64  <2237c532ebe539f8ab93c181dfa1a291> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libSparseBLAS.dylib
0x18c68f000 - 0x18c704fff libvDSP.dylib arm64  <0ced33b1008e357e9acb9d039cff697d> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x18c705000 - 0x18c705fff vecLib arm64  <d21c98b0003235f99d247f4f934c7641> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x18c706000 - 0x18c706fff Accelerate arm64  <f38de9acd0ba3a00a1c32fda7a240f38> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x18c707000 - 0x18cc4bfff CoreGraphics arm64  <7d39f265eae8328f801705549c70e571> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x18cc4c000 - 0x18cc60fff GraphicsServices arm64  <b5749f3fa6f13ce689683db33f23256c> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x18cc61000 - 0x18ccaefff AppSupport arm64  <2a60ffa70fa13031a1251b964802ad31> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x18ccaf000 - 0x18cddcfff MobileCoreServices arm64  <78cfd6fb54fa3b2abaa4006791ac96ca> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x18cddd000 - 0x18ce3efff BaseBoard arm64  <ff0febbec86337aead2c18f8ac460dec> /System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard
0x18ce3f000 - 0x18ce4efff AssertionServices arm64  <8ff92082f5833b7795af4a2200886ce2> /System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices
0x18ce4f000 - 0x18ce7cfff BackBoardServices arm64  <7bd5622615bb39cdba684e47e9bb8798> /System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
0x18ce81000 - 0x18ced0fff FrontBoardServices arm64  <6adf5e0649313e35bd11d448eb071d17> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
0x18ced4000 - 0x18cf08fff SpringBoardServices arm64  <a5f42cadcaba3943953f5047533c2fe7> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x18cf09000 - 0x18cf23fff MobileKeyBag arm64  <51a5be975d3a37c2af8751a5b9124948> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x18cf24000 - 0x18cf2cfff IOSurface arm64  <acecdca025ff36b4b14159e52e2819dd> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x18cf2d000 - 0x18cf38fff liblockdown.dylib arm64  <3904292ecd513a0e85216e7c3abd1101> /usr/lib/liblockdown.dylib
0x18cf39000 - 0x18cf4ffff CrashReporterSupport arm64  <b06bf5fa4c9b36f595a2a8ea4a84cca9> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x18cf50000 - 0x18cf52fff IOSurfaceAccelerator arm64  <7dd37fd295f93ecfa89401bbbb418dbf> /System/Library/PrivateFrameworks/IOSurfaceAccelerator.framework/IOSurfaceAccelerator
0x18cf53000 - 0x18cf93fff AppleJPEG arm64  <d8b98c13f8d83200ad41d6b30d3c9c14> /System/Library/PrivateFrameworks/AppleJPEG.framework/AppleJPEG
0x18cf94000 - 0x18d521fff ImageIO arm64  <9133dcebff4c3ab6807f96f884190cb5> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x18d522000 - 0x18d528fff TCC arm64  <b11f764c841d3c69a50a6b0993735d43> /System/Library/PrivateFrameworks/TCC.framework/TCC
0x18d529000 - 0x18d52dfff AggregateDictionary arm64  <fab7b20283e43d8aa268b7d051e3d521> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x18d52e000 - 0x18d53afff PowerLog arm64  <a668cd2a3ad03c0291a9665f3151f946> /System/Library/PrivateFrameworks/PowerLog.framework/PowerLog
0x18d53b000 - 0x18d5a5fff libTelephonyUtilDynamic.dylib arm64  <a9cba41bffa83838b49c3f8ff2538f8a> /usr/lib/libTelephonyUtilDynamic.dylib
0x18d5a6000 - 0x18d5b8fff CommonUtilities arm64  <495171d174123535af0ff1751ef454b3> /System/Library/PrivateFrameworks/CommonUtilities.framework/CommonUtilities
0x18d5b9000 - 0x18d5cefff libcompression.dylib arm64  <c5e41b4a6cbf37fb87cd5cd44f6906b8> /usr/lib/libcompression.dylib
0x18d5cf000 - 0x18d867fff CoreData arm64  <7574c4fafa7a33bf82e05d9fa01ed542> /System/Library/Frameworks/CoreData.framework/CoreData
0x18d868000 - 0x18d86dfff libCoreVMClient.dylib arm64  <07e215340c3239fea6c469df55183bcd> /System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
0x18d86e000 - 0x18d873fff IOAccelerator arm64  <54e24860953b39ddbe13a2dcdf76c733> /System/Library/PrivateFrameworks/IOAccelerator.framework/IOAccelerator
0x18d874000 - 0x18d875fff libCVMSPluginSupport.dylib arm64  <02280e05346d31509d62ac2583f72857> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x18d876000 - 0x18d879fff libCoreFSCache.dylib arm64  <f5c0306167ea39b2b60185329c1a8bbb> /System/Library/Frameworks/OpenGLES.framework/libCoreFSCache.dylib
0x18d87a000 - 0x18d8bbfff libGLImage.dylib arm64  <34bb7e96428f3c1abd6f0cbb2787b9e1> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x18d8bc000 - 0x18d8c6fff libGFXShared.dylib arm64  <d70b4c465ebe3a9e98c2b82ccf8fb7d7> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x18d8c7000 - 0x18d8cffff IOMobileFramebuffer arm64  <e759626dff9439309f66279b3e4296ca> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x18d8d0000 - 0x18d8d0fff libmetal_timestamp.dylib arm64  <b51cc6027bd833d4a2a80f0d1de8bc40> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
0x18d8d1000 - 0x18d932fff Metal arm64  <0dc267ebbc333fcfa409b09544725b5f> /System/Library/Frameworks/Metal.framework/Metal
0x18d933000 - 0x18d93dfff OpenGLES arm64  <d789825652ac31c78f1007fed0ff3777> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x18d93e000 - 0x18d962fff CoreVideo arm64  <ba0cdc15666b32f7be6f9fcd1528c7f1> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x18d963000 - 0x18d965fff OAuth arm64  <56d873bb47973452a9fc41ee777f8d42> /System/Library/PrivateFrameworks/OAuth.framework/OAuth
0x18d96d000 - 0x18d9a9fff Accounts arm64  <28b18304843b3350a829aaedc92b5a54> /System/Library/Frameworks/Accounts.framework/Accounts
0x18d9aa000 - 0x18da9cfff libiconv.2.dylib arm64  <1db28a41c3a83551aad361a4e072fe33> /usr/lib/libiconv.2.dylib
0x18da9d000 - 0x18dbeafff CoreAudio arm64  <34f7497d8b43383cb4021a8300855c94> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x18dbeb000 - 0x18dbeefff UserFS arm64  <b8862d7a16d83d22954ab81b89743009> /System/Library/PrivateFrameworks/UserFS.framework/UserFS
0x18dbef000 - 0x18dcfcfff CoreMedia arm64  <8d8137d106813d32a14ce6e1f8384c08> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x18dcfd000 - 0x18dd03fff libcupolicy.dylib arm64  <3964026e2c6f3eab9ea81b19ec10b7ed> /usr/lib/libcupolicy.dylib
0x18dd04000 - 0x18dd8dfff CoreTelephony arm64  <84dcfae0a4713efc95beb71856f971aa> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x18dd8e000 - 0x18de9bfff libFontParser.dylib arm64  <a7990cbb692b36a49280088c24b9ec2a> /System/Library/PrivateFrameworks/FontServices.framework/libFontParser.dylib
0x18de9c000 - 0x18df2bfff VideoToolbox arm64  <59e3d13a5d243b44abf10a5c4ba313f4> /System/Library/Frameworks/VideoToolbox.framework/VideoToolbox
0x18df2c000 - 0x18df2cfff FontServices arm64  <5a9fc52851583aac96b6745cf7aae370> /System/Library/PrivateFrameworks/FontServices.framework/FontServices
0x18df2d000 - 0x18e079fff CoreText arm64  <851f6498f833335fb35ec9e67515c2fb> /System/Library/Frameworks/CoreText.framework/CoreText
0x18e07a000 - 0x18e094fff ProtocolBuffer arm64  <a3544981c8743eea875d5b7c7bc5b19b> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x18e095000 - 0x18e0bdfff PersistentConnection arm64  <4a392539b9c33a47b69439638cfaac04> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x18e0be000 - 0x18e0c4fff DataMigration arm64  <6cff1ebc13b332e3809b4722048c6ffb> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x18e0c5000 - 0x18e519fff AudioToolbox arm64  <0505b7dd6a033bf78117a8cd81a1101b> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x18e51a000 - 0x18e6f7fff QuartzCore arm64  <416a878f23c636fc8d81404ff7dd4fdc> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x18e6f8000 - 0x18e6fefff Netrb arm64  <099e2ab3ae8e3a498e0e0a0f17e128a7> /System/Library/PrivateFrameworks/Netrb.framework/Netrb
0x18e6ff000 - 0x18e70ffff libcmph.dylib arm64  <903e25509e37307e99af188ed1272633> /usr/lib/libcmph.dylib
0x18e710000 - 0x18e730fff libmis.dylib arm64  <1a116c60b46a3781a68a9c27e9cf2653> /usr/lib/libmis.dylib
0x18e731000 - 0x18e822fff LanguageModeling arm64  <c49bcbbac36d34308151388e8bf1a718> /System/Library/PrivateFrameworks/LanguageModeling.framework/LanguageModeling
0x18e823000 - 0x18e919fff ManagedConfiguration arm64  <0e15a8564caf3d47ab9b199770bf5cd2> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x18e91a000 - 0x18e930fff libmarisa.dylib arm64  <96c399295cb13cad829c93b5c29f0661> /usr/lib/libmarisa.dylib
0x18e931000 - 0x18ea01fff ProofReader arm64  <bb56e538be8835199a0abd263adb75f8> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x18ea02000 - 0x18ea0cfff MediaAccessibility arm64  <17fe4943f5363a278cf9868db2623b9d> /System/Library/Frameworks/MediaAccessibility.framework/MediaAccessibility
0x18ea0d000 - 0x18ea1dfff MobileAsset arm64  <2a3a006162af37b79c3a6b2ab71344c6> /System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset
0x18ea1e000 - 0x18ea8ffff ColorSync arm64  <996fd30495c33a64b17b87797c54aec2> /System/Library/PrivateFrameworks/ColorSync.framework/ColorSync
0x18ea90000 - 0x18eb00fff MetalPerformanceShaders arm64  <e78463e7ed8334909ae0968c5b4ddcbc> /System/Library/Frameworks/MetalPerformanceShaders.framework/MetalPerformanceShaders
0x18eb01000 - 0x18ef30fff FaceCore arm64  <0179b0a45e4932e5967336ac40c0c4d8> /System/Library/PrivateFrameworks/FaceCore.framework/FaceCore
0x18efae000 - 0x18f177fff CoreImage arm64  <8c5c510a2d90361696f6a965b6b933a0> /System/Library/Frameworks/CoreImage.framework/CoreImage
0x18f178000 - 0x18f1c7fff TextInput arm64  <a1a56e91cb0534e8815a23fb6993b023> /System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x18f1c8000 - 0x18f1d8fff libAccessibility.dylib arm64  <fbd694050c503c12a3e0e7dfb490b9df> /usr/lib/libAccessibility.dylib
0x18f1e8000 - 0x18fc2afff JavaScriptCore arm64  <f4afe098cd9b33c2b3369773851e26b9> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x18fe7d000 - 0x191072fff WebCore arm64  <d0a2b6b3b79434a08272968e20cd00a7> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x191073000 - 0x19109bfff libxslt.1.dylib arm64  <3edbcb1d6e1d33519db363daf35cfe1c> /usr/lib/libxslt.1.dylib
0x19109c000 - 0x191208fff WebKitLegacy arm64  <a7feeddf725930858e5fe93e4e047bb5> /System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy
0x191209000 - 0x1912cefff CoreUI arm64  <0a25c84cf6183efead20a5cea30b98ad> /System/Library/PrivateFrameworks/CoreUI.framework/CoreUI
0x1912cf000 - 0x1912f6fff DictionaryServices arm64  <dd7a3952ff63333ebe91d7eff8347628> /System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices
0x1912f7000 - 0x1912fafff HangTracer arm64  <13e35bff690836b7b717f3f5ff690897> /System/Library/PrivateFrameworks/HangTracer.framework/HangTracer
0x1912fb000 - 0x19134ffff PhysicsKit arm64  <e53aecfb95ec3252986a82a83a3cafd1> /System/Library/PrivateFrameworks/PhysicsKit.framework/PhysicsKit
0x191350000 - 0x191427fff UIFoundation arm64  <db0623abf2243a578bd1e457f6877483> /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
0x191434000 - 0x1921dbfff UIKit arm64  <4ad90348edcc3d21983f83490705f2aa> /System/Library/Frameworks/UIKit.framework/UIKit
0x193c82000 - 0x193ca1fff PlugInKit arm64  <5fd199791bd034158ae690bd4b9ab1e1> /System/Library/PrivateFrameworks/PlugInKit.framework/PlugInKit
0x19454e000 - 0x194564fff UserManagement arm64  <40ac399d20df3c0e9c438d1c212beb4f> /System/Library/PrivateFrameworks/UserManagement.framework/UserManagement
0x1968ad000 - 0x19691afff libprotobuf.dylib arm64  <9c108882e95c3003a9140280a9da8250> /usr/lib/libprotobuf.dylib
0x196d3b000 - 0x196d6cfff DataDetectorsCore arm64  <a6010e00f70239889cbdaaaf2325df0d> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/DataDetectorsCore
0x196d7b000 - 0x196fdbfff libAWDSupportFramework.dylib arm64  <2c1184b25c6130d29445782aa1fe9b73> /usr/lib/libAWDSupportFramework.dylib
0x19701e000 - 0x19705efff WirelessDiagnostics arm64  <8aab71ecbfba39c78621cdf43f93a4d2> /System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
0x197f12000 - 0x197f8bfff libnetwork.dylib arm64  <a1d866db069538fc90aaae3ca1ccb13d> /usr/lib/libnetwork.dylib
0x19bea3000 - 0x19bf01fff CoreBrightness arm64  <3cbc7c04794738d3a761dde2fd830fd1> /System/Library/PrivateFrameworks/CoreBrightness.framework/CoreBrightness
0x1a0ebb000 - 0x1a0ec9fff AppleFSCompression arm64  <9ce16a16e20c35f5be292f251083c30d> /System/Library/PrivateFrameworks/AppleFSCompression.framework/AppleFSCompression
0x1a1bca000 - 0x1a1beffff CoreServicesInternal arm64  <3c2db4f07ea232358a78e76307363ba0> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/CoreServicesInternal
0x1a4e66000 - 0x1a5035fff libFosl_dynamic.dylib arm64  <8e1668637c423351a9b8f75d3db4e1bd> /usr/lib/libFosl_dynamic.dylib
0x1a5036000 - 0x1a5040fff libMobileGestaltExtensions.dylib arm64  <c84971521e73337b92f4e3efabae2eb6> /usr/lib/libMobileGestaltExtensions.dylib
0x1a5451000 - 0x1a5483fff libpcap.A.dylib arm64  <5b50b83d66ba3127ab8bfb9d7773aeab> /usr/lib/libpcap.A.dylib
0x1a5870000 - 0x1a5893fff UserNotifications arm64  <dea565113b183df0a2d4cd6a375f3142> /System/Library/Frameworks/UserNotifications.framework/UserNotifications
0x1a5d66000 - 0x1a5e09fff TextureIO arm64  <a427c8b881e43dad8d3c812bc418d731> /System/Library/PrivateFrameworks/TextureIO.framework/TextureIO
0x1a7409000 - 0x1a741bfff libBNNS.dylib arm64  <7b15b1fd47de37cc94234f1279febec2> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBNNS.dylib
0x1a741c000 - 0x1a7420fff libQuadrature.dylib arm64  <6142532815973d5f9292892fb7c2c353> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libQuadrature.dylib
0x1a77cd000 - 0x1a77defff CoreEmoji arm64  <02de2177a2a83b389b2d8796f9576d41> /System/Library/PrivateFrameworks/CoreEmoji.framework/CoreEmoji
0x1a7e44000 - 0x1a7f10fff NLP arm64  <9162fa12a5ab3325a413c57dad3dce48> /System/Library/PrivateFrameworks/NLP.framework/NLP
0x1a90ca000 - 0x1a9142fff libate.dylib arm64  <8f60d460abd031edaf8477a229c4006c> /usr/lib/libate.dylib
0x1a9143000 - 0x1a9143fff libcoretls.dylib arm64  <852a1f8d67063962b6699bd608ee1eef> /usr/lib/libcoretls.dylib
0x1a9144000 - 0x1a9145fff libcoretls_cfhelpers.dylib arm64  <85a72486fa0e376f8b14a6d19375a1b6> /usr/lib/libcoretls_cfhelpers.dylib

EOF


File not found in iOS

Hello,

I have used this plugin in my iOS Application. But when I'm running below code, I'm getting alert "Your picked this file " with path. But when I checked the path for that file, there was no file found. Tried this on simulator as well as iPad.

Can you please let me know what I'm missing.

FilePicker.pickFile(successCallback,errorCallback);
var successCallback = function(path) {
  alert("You picked this file: " + path);
}

Thanks in advance.

Want absolute path

uri path return /private/var path but i want path like file:///... how to get that type of file

Plugin not installed

Hi guys, I'm trying to use your plugin for the Ionic 3 app. I followed the instructions in the docs. Build succeeded. I checked, plugin in the ios folder and I see .m and .h files in xcode and stored in the config.xml. I build the app and deploy it to my iPhone SE with 10.3. I'm trying to use this button to pick the file but see in the console such phrase:

WARN: Native: tried calling iOS File Picker.pickFile, but the iOS File Picker plugin is not installed.
WARN: Install the iOS File Picker plugin: ‘ionic cordova plugin add cordova-plugin-filepicker’
ERROR: ERROR Error: Uncaught (in promise): plugin_not_installed

I reinstall plugin twice, redeploy the app twice, restart phone and laptop. No success, the same issue.

cordova: 8.0.0
ionic: 3.19.1
npm: 5.5.1
node: 8.7.0
plugin version: 1.1.4

Entitlements hook file with problems

If entitlements file exists, the hook stops running and never defers.

var destFile = path.join(iosFolder, projName, 'Resources', projName + '.entitlements');
if (fs.existsSync(destFile)) {
  console.error("File exists, not doing anything: " + destFile);
} else {

There are 2 problems here:
1 - The entitlements file can exist and don't have FilePicker necessary entitlements, created by another plugin;
2 - I think the hook must defer even if nothing was to be done, otherwise cordova platform add stops running after this.

I don't know what has to be done, I'm not familiar with hook nor entitlements logics.

Unable to go inside successCallback

After calling FilePicker.pickFile unable to get inside success callback

##My environment

  • Plugin version: 1.1.5 File Picker
  • Xcode version: 9.3.1
  • Device manufacturer / model: iphone 5
  • Cordova version (cordova -v): 8.0.0
  • Cordova platform version (cordova platform ls): cordova-ios 4.5.0

Expected Behavior

Should go inside successCallback or errorCallback after calling FilePicker.pickFile function

Actual Behavior

Unable to go inside either success or error callback

FilePicker.pickFile does not show content providers

When I run the following code in an iPhone 7 with iOS 11.2.6 no content providers are shown as you can see in the image:

FilePicker.pickFile(
	function (uri) {
		deferred.resolve(uri);
	},
	function (error) {
		console.log(error);
		deferred.reject(error);
	}
);

screen shot 2018-03-28 at 2 55 02 pm

The same code works as expected in an iPhone 4S with with iOS 9.3.5.

Am I forgetting something?

Edit: I don't know if it is a relevant detail, but when I execute the above code, xCode console log a message like:

2018-03-28 15:03:51.377993-0300 AppName[383:13444] canceled
2018-03-28 15:03:53.182583-0300 AppName[383:13444] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

Publish on npm?

Is it possible to get this plugin published on npm? That would make it a lot easier to keep track of updates to the plugin. Thanks!

Filepicker returns 'cancelled' on ios 11

This issue is relevant only for iOS 11.
FilePicker.pickFile returns error with text 'cancelled' when trying to select a file from iCloud. It opens iCloud folder but when we try to click on a file to select it, it returns to the app with this error.
We tested the same code on iOS 10.3.3(iPhone6,2) , it seem to work. Filepicker.pickfile calls the succesCallback and returns file path.

Devices were we reproduced this error:
Device type : iPhone9,3 , version : iOS 11.0.2
Device type: iPhone8,2, version: iOS 11.0.3

How to use this plugin in ionic

Hi....
i developing ios app using ionic framework and i want to use this plugin for picking file on ios.
So please tell me how to use .

Configure iCloud App Services and capabilities without XCode

Hi,

I have followed all the three steps mentioned:
Step 1: Enable iCloud
Step 2: Create the iCloud Container
Step 3: Configure the App ID to use the iCloud Container clicking "Edit" button.

But when I install the app and check in settings->icloud, My app is not listed with other iCloud enabled apps.

is there any way to enable iCloud capabilities for an app without XCode?

How to fetch files from mobile storage

Hello,
I am using this plugin, and I am able to fetch files from the iCloud. But I want to select files from the mobile storage, so how to do this in Ionic 2 .

Thanks

How to working with ios 7

Hi! i have problem with app iso 7 . How to use plugin for ios 7 ?
. I hope you help me. Thank you for read.

Unable to load doc, docx and similar files

I was able to select png or rtf files.
For microsoft document files, the success callback gives the url but the file in not visible in tmp folder.

Simple code:

window.FilePicker.pickFile(function(file){
      console.log(file);
    }, function(err){
      console.log(err);
    }, ["public.item", "public.content", "public.data","com.microsoft.word.doc"]);

Can

Hello,
Is there method to enable iCloud picker without going to xCode?. We are doing automatic builds and I would like to enable it when the plugin is install and not via Xcode,,

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.