OmarAlghamdi / walkly-android

Android implementation of Walkly (the walking game)
0 stars 1 forks source link

Offline Battle does not continue in the background #86

Open OmarAlghamdi opened 4 years ago

OmarAlghamdi commented 4 years ago

currently the user has to either keep the application in the foreground or check regularly the status of the battle. the battle pauses on onStop of the activity life cycle.

The Solution: Currently I am working on solution that continues the battle in the background using Background Service. Once the battle ends, the user will get a notification and the result of the battle will be sent back to the activity using Broadcast