Skip to content

Commit 60f017d

Browse files
authored
Merge pull request #262 from spoonconsulting/upgrade-workmanager
Upgrade WorkManager and Room
2 parents 3f8e547 + 87dc54d commit 60f017d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

plugin.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
</engines>
1414
<dependency id="cordova-plugin-file" version="6.0.2"/>
1515
<platform name="android">
16-
<framework src="androidx.work:work-runtime:2.7.1" />
16+
<framework src="androidx.work:work-runtime:2.8.0" />
1717
<framework src="com.squareup.okhttp3:okhttp:4.9.3" />
18-
<framework src="androidx.room:room-runtime:2.4.2" />
18+
<framework src="androidx.room:room-runtime:2.5.0" />
1919
<framework src="src/android/config.gradle" custom="true" type="gradleReference"/>
2020
<config-file target="res/xml/config.xml" parent="/*">
2121
<feature name="FileTransferBackground">
@@ -34,6 +34,7 @@
3434
<uses-permission android:name="android.permission.INTERNET" />
3535
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
3636
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
37+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
3738
</config-file>
3839
<config-file target="AndroidManifest.xml" parent="/manifest/application">
3940
<meta-data android:name="DATABASE" android:value="cordova-plugin-background-upload.db" />

src/android/config.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ if(cordovaConfig.MIN_SDK_VERSION < minSdkVersion){
44
}
55

66
dependencies {
7-
annotationProcessor 'androidx.room:room-compiler:2.4.3'
7+
annotationProcessor 'androidx.room:room-compiler:2.5.0'
88
}

0 commit comments

Comments
 (0)