Skip to content

Conversation

@bowyer-app
Copy link
Contributor

close #948

@bowyer-app bowyer-app requested a review from salmaahhmed as a code owner April 11, 2024 09:07
Comment on lines +21 to +25
if (oldVersion > 1) {
return
}
db.execSQL(SQL_DELETE_ENTRIES)
onCreate(db)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the old version, this was executed when updating from 1 to 2, so I think it will work now.
https://github.com/fluttercommunity/flutter_downloader/blob/v1.6.1/android/src/main/java/vn/hunghd/flutterdownloader/TaskDbHelper.java#L59-L60

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bowyer-app can you write some comments on your code explaining the change

@bowyer-app
Copy link
Contributor Author

Hello @bartekpacia @salmaahhmed

I hope you're doing well. I would greatly appreciate it if you could take the time to review it.

Thank you in advance!

Best regards

@bowyer-app
Copy link
Contributor Author

@bartekpacia @salmaahhmed

I know you're busy, but could you please review this for me?

@bartekpacia
Copy link
Collaborator

hey @bowyer-app, sorry for the delay. I'll try to get to it in the weekend. I'm indeed busy.

@bowyer-app
Copy link
Contributor Author

@bartekpacia
Thank you. I'm looking forward to the good news.

@bowyer-app
Copy link
Contributor Author

Hi @bartekpacia, I hope you're doing well. I just wanted to kindly follow up on this PR that we discussed a while ago. I understand you might be busy, but it would be great if you could let me know when you might have a chance to look into it. Thank you for your time!

Comment on lines +21 to +25
if (oldVersion > 1) {
return
}
db.execSQL(SQL_DELETE_ENTRIES)
onCreate(db)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bowyer-app can you write some comments on your code explaining the change

@salmaahhmed salmaahhmed merged commit a7bc2ab into fluttercommunity:master Oct 21, 2024
@bowyer-app bowyer-app deleted the patch/db_migration_for_android branch August 19, 2025 07:08
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.

no such column: save_in_public_storage (code 1 SQLITE_ERROR)

3 participants