mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #223] Restoring topics or settings from backup doesn't work #180
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#180
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shadow00 on GitHub (Apr 26, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/223
Just tried to backup and restore the topics and settings from the app (v1.11.0 from F-Droid) on an Android 8.1 device. The backup worked fine (even though the app didn't have storage permissions?), but restoring from backup doesn't work because the system's file picker doesn't allow selecting any file (even after giving the app the storage permission and making a new backup).
@binwiederhier commented on GitHub (Apr 26, 2022):
Must be a problem with an older Android version. I'll check it out. Thanks for reporting.
@binwiederhier commented on GitHub (May 1, 2022):
I can reproduce this on a SDK 24 device. I hope there is an easy-ish solution:
@binwiederhier commented on GitHub (May 1, 2022):
solved in
github.com/binwiederhier/ntfy-android@400f72a9bf-- Will be in next release@shadow00 commented on GitHub (May 1, 2022):
Well that was quick! :D
@binwiederhier commented on GitHub (May 1, 2022):
For some bugs there are very pragmatic solutions. I think newer Android versions automatically detect the mime type, which is why it worked on newer versions. I can set the mime type on write, but then it's unclear what happens when you copy the backup file from somewhere else. So the pragmatic approach is to just allow selecting any file...