android-notification-log icon indicating copy to clipboard operation
android-notification-log copied to clipboard

Server Sync Functionality

Open GreenKudu opened this issue 4 years ago • 2 comments

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?

GreenKudu avatar Mar 31 '21 15:03 GreenKudu

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 avatar Mar 31 '21 16:03 weberdo

@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.

sparksis avatar Feb 11 '22 22:02 sparksis