ionic-team / ionic-team/capacitor-filesystem

Feature: enable excluding file from backup

Open
#23 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6
Forks
15
Avg merge
14m
Merged PRs (30d)
1

Description

## Feature Request
Enable excluding file from backup.

### Plugin

capacitor-filesystem

### Description

This is a feature that is a good practice for directories like DATA, for files that are redownloable. Only implementation for iOS. https://developer.apple.com/documentation/foundation/urlresourcevalues/isexcludedfrombackup

For Android, it can be made at project level, with something like `android/app/src/main/res/xml/backup_rules.xml`:
``` android/app/src/main/res/xml/backup_rules.xml

```

And on `AndroidManifest.xml`:
```

```

Not needed implementation for web.

### Platform(s)

iOS

### Preferred Solution

I opened a PR with my solution.

Not sure if it's interesting to add the info about Android.

### Alternatives

### Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.