Cordova file plugin problems

I’m trying to manage files in my hybrid android app (Cordova).
I installed cordova-plugin-file@6.0.2 and tried to write a file, it doesn’t give me any errors but it doesn’t write anything on the device.
I followed the official directions (
I have used other Cordova plugins and they all work well, for example cordova-plugin-geolocation or cordova-plugin-media-capture. No problems, all right.
Does anyone have any advice to give me or do you know why?

Solved !
I had not looked carefully at the path on the device, it is not in the sdcard but in the root file system.
All is good now.