I am using File Transfer plugin v 1.5.1 and File plugin v4.1.0. In Android 6.0.1 my code is unable to create a directory whereas on lower versions it does. My API Target Version is 23.
If I explicity enable the storage permissions in the App Settings it works but how do I do it automatically. On lower versions it automatically shows a dialog box for the same and works perfectly fine.
Is someone else also facing the same issue? Can someone help me on this. I have tried adding permissions in Inter xdk config but no success:
<preference name="android-permission" value="WRITE_EXTERNAL_STORAGE" />
Looking for help.
I recommend you search StackOverflow for Cordova solutions to this problem. The Intel XDK creates a Cordova app, so whatever solution you can find for a Cordova (or PhoneGap) app will also apply here.