Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developer: Database Export/Import file #1664

Draft
wants to merge 5 commits into
base: trunk
Choose a base branch
from

Conversation

bjtitus
Copy link
Contributor

@bjtitus bjtitus commented Apr 27, 2024

  • Adds file handling for a pcasts file
  • Imports preferences and database from the file & kills the app
  • Option to delete the DB & Settings file by just deleting and resetting UserDefaults instead of incrementally unsubscribing (as "Unsubscribe from all Podcasts" does)
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-04-27.at.09.59.03.mp4

To test

  • Visit Developer Menu
  • Tap "Export Bundle"
  • Save in Files
  • Tap the "Reset Database + Settings" - app will quit
  • Visit Developer Menu
  • Tap "Import Bundle" - app will quit
  • Select the pcasts file
  • Open the app and ensure podcasts and settings match

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.

@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants