Open j-d-carmichael opened 3 years ago
From the example, in the repo this is the extraction:
openwith.load(intent.items[0], function (data, item) { console.log( atob(data)) });
I cannot see how to extract the data... the above log just outputs a string of unreadable content.
The item after load looks like this:
base64: "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQ" type: "application/octet-stream" uri: "content://com.android.chrome.FileProvider/BlockedFile_319287714984242"
content://com.android.chrome.FileProvider/BlockedFile_319287714984242
I am completely new to android development so I can only assume that I have a wrong config? Should the URI be "BlockedFile"?
related: https://github.com/j3k0/cordova-plugin-openwith/issues/102
From the example, in the repo this is the extraction:
I cannot see how to extract the data... the above log just outputs a string of unreadable content.
The item after load looks like this:
I am completely new to android development so I can only assume that I have a wrong config? Should the URI be "BlockedFile"?
related: https://github.com/j3k0/cordova-plugin-openwith/issues/102