android-notification-log
android-notification-log copied to clipboard
Server Sync Functionality
Hi,
Thanks a lot for your hard work on this framework. I was going through the ACM Paper and the Architecture diagram, and there are two mentions about notification push to servers ('Direct Server Push' and 'Periodic Server Sync') that I don't see available within the app. I took a very quick, high-level look at the code and I don't think that server sync and/or push functionality is actually implemented and that only the manual JSON export is available.
Is this the case or did I miss something?
We extended Notification Log with server sync functionality for specific user studies, but these extensions did not end up in this repository. For 'direct server push', we sent out notifications in the JSON representation from NotificationHandler using OkHttp. For 'periodic server sync', we used evernote/android-job (now deprecated for WorkManager) to create a periodic job that checked the DB for new entries and sent them to the server, again using OkHttp.
@weberdo, do you accept pull-requests from external sources? This seems like something that could be flushed out fairly quickly. I'd be willing to take over this issue if you do accept PRs.