Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.
This repository was archived by the owner on Nov 9, 2021. It is now read-only.

Error: column '_data' does not exist #49

@marvin-SL

Description

@marvin-SL

Hello,
I'm sharing file from other apps to my cordova app.
When I share from explorer app, i've got the file uri such as :
file:///sdcard/Audio/SoundRecorder/2019-03-04%2019-36-03.aac

but when I share from 3rd party app (whatsapp in my example), I don't receive a file uri :
content://com.whatsapp.provider.media/item/100492 and then i got “column ‘_data’ does not exist”

    this.filePath.resolveNativePath(receivedFile).then((rslt) => {
          console.log('reslt');
        }).catch((error) => { console.log("error", error) }); //error column '_data' does not exist

ionic info

Ionic:

   ionic (Ionic CLI)  : 4.8.0
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.8

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 6.3.0, browser 5.0.3, ios 4.5.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1

System:

   Android SDK Tools : 26.1.1 
   NodeJS            : v8.11.3 
   npm               : 5.6.0
   OS                : Linux 4.15


Can you help me ?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions