Skip to content

Commit

Permalink
switch to and enable background_fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
LGro committed Jul 30, 2024
1 parent d90e2a6 commit 650da85
Show file tree
Hide file tree
Showing 9 changed files with 218 additions and 269 deletions.
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<application
tools:replace="android:label"
android:label="Coagulate"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
Expand Down
2 changes: 2 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ allprojects {
repositories {
google()
mavenCentral()
// [required] background_fetch
maven { url "${project(':background_fetch').projectDir}/libs" }
}
// NOTE: This is needed for newer gradle versions to play nice with older flutter plugins
subprojects {
Expand Down
1 change: 1 addition & 0 deletions lib/data/models/coag_contact.dart
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class CoagContact extends Equatable {
final ContactDHTSettings? dhtSettingsForReceiving;
// TODO: Make this a proper type with toJson?
final String? sharedProfile;
// TODO: Move these two to contact details to also have the same for the system contact
final DateTime? mostRecentUpdate;
final DateTime? mostRecentChange;

Expand Down
171 changes: 0 additions & 171 deletions lib/data/providers/background.dart

This file was deleted.

Loading

0 comments on commit 650da85

Please sign in to comment.