Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Is it possible to declare NSURLIsExcludedFromBackupKey when using fs.mkdir() #229

Closed
aforty opened this issue Jan 13, 2017 · 2 comments
Closed

Comments

@aforty
Copy link

aforty commented Jan 13, 2017

I don't see this documented or in the source. Is there any way to do this after the fact?

If not, would you accept a PR for this? I'm thinking an optional options that could be passed to fs.mkdir(path: String, options: Object?). I'm not familiar with Android, so I'm not sure if there is something equivalent to this flag but if not the object could just be ignored there.

fs.mkdir('/some/path', { NSURLIsExcludedFromBackupKey: true })

Thoughts?

@wkh237
Copy link
Owner

wkh237 commented Jan 15, 2017

@aforty , there's no way to do this so far, it'd be great if you can make a PR 😄

@wkh237
Copy link
Owner

wkh237 commented Jan 27, 2017

@aforty , I've added an IOS only API RNFetchBlob.ios.excludeFromBackupKey, please upgrade to 0.10.2-beta.8 to verify it.

@wkh237 wkh237 closed this as completed Feb 1, 2017
wkh237 added a commit that referenced this issue Mar 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants