mayankkataria opened a new issue #452:
URL: https://github.com/apache/cordova-plugin-file/issues/452
I'm using this plugin with ionic capacitor instead of cordova with help of
command ```ionic cap sync```. I wanna use ```this.file.externalRootDirectory```
to get my root directory from my android device but I'm getting ```null```.
Then I wondered if I could get any directory but all options of ```this.file```
were null. I tried to reinstall plugin and rebuild the project but the result
is same.
My code:
```
constructor(private file: File, private plt: Platform) { }
ionViewDidEnter() {
this.plt.ready().then(() => {
setTimeout(() => console.log(this.file), 1000); // all values are null
})
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]