Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
18 Views

Unable to create directory Android 6.0.1

Hi,

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:

intelxdk.config.additions.xml:
<preference name="android-permission" value="WRITE_EXTERNAL_STORAGE" />

Looking for help.

Thanks, Abhiraj!

Tags (2)
0 Kudos
1 Reply
18 Views

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.

0 Kudos