Git Product home page Git Product logo

push-adapter's Introduction

Push Adapter

Service and Library to replace Googles FCM service for push notifications.

This service is self-contained, it does not depend on any third-party service. It is split up in serveral components:

  • two Android apps
  • an Android library
  • a Java backend
  • shared code (pinning-tls-lib)
  • sample app and -backend

I am still on the lookout for a better name ;)

Android

push-adapter (Android app)

app, manages clients, handles registrations. relays push notifications from mqtt-client to registered apps.

push-integration-lib

A library for apps using this service. Receives notifications from push-adapter.

  • provides clients the FirebaseMessagingService class to receive notifications.
  • provides an API compatible to FirebaseInstanceId to register for push notifications, receiving a push token and connection details for pushing to a Push Relay.

mqtt-client

Android app to handle low level MQTT connections. Receives push notification from push-relay and provides them to Push Adapter.

License: EPL

this part uses a different license, required by the mqtt-library used.

push-relay: Java backend

REST API; backend for push-adapter; handles app registration tokens and client certificates. receives notifications to be pushed to devices from app backends (e.g. app-backend) hosts an MQTT broker internally to push to mqtt-client on devices.

pinning-tls-lib

plain java library for setting up a TLS connection with specific server certificates and client keys. used in all components.

Sample applications

app

sample app which uses push-integration-lib

app-backend (sample)

backend for the sample app

Android O and up:

some settings to get this to work with doze mode:

exceptions from doze mode needed:

  • mqtt client
  • push adapter
  • <app using push-integration-lib>

Acknowledgements

This project was created as part of a master thesis at SBA Research.

push-adapter's People

Contributors

haja avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

sbaresearch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.