Skip to content

Commit

Permalink
Run the sync code in the main process
Browse files Browse the repository at this point in the history
So that notifications generated from sync open the app properly and launch the
status screen.

This implements
e-mission/e-mission-docs#712 (comment)
  • Loading branch information
shankari committed Apr 8, 2022
1 parent 979ae67 commit 9a3cda0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-em-serversync"
version="1.2.7">
version="1.2.8">

<name>ServerSync</name>
<description>Push and pull local data to the server</description>
Expand Down Expand Up @@ -63,8 +63,7 @@
</service>
<service
android:name="edu.berkeley.eecs.emission.cordova.serversync.SyncService"
android:exported="true"
android:process=":sync">
android:exported="true">
<intent-filter>
<action android:name="android.content.SyncAdapter"/>
</intent-filter>
Expand Down

0 comments on commit 9a3cda0

Please sign in to comment.