I can’t use the class File
from cordova-plugin-file
in my application cause there is another interface from JavaScript
alse called File
.
This name conflict impedes my app to access the cordova-plugin-file
functions I want.
File
from JavaScript
has this description : “provide information about files and allows JavaScript
in a web page to access their content”.
File
from cordova-plugin-file
should allow to read/write access to files residing on the device.
Here is my code :
import { File } from '@ionic-native/file';
export class Tab1Page {
constructor(public file: File) {}
...
}
Thanks for your help