Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ArtsemKurantsou/SPI4Android
Example of SPI usage in Android project
https://github.com/ArtsemKurantsou/SPI4Android
Last synced: about 2 months ago
JSON representation
Example of SPI usage in Android project
- Host: GitHub
- URL: https://github.com/ArtsemKurantsou/SPI4Android
- Owner: ArtsemKurantsou
- License: apache-2.0
- Created: 2023-12-28T17:31:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2023-12-31T14:20:49.000Z (9 months ago)
- Last Synced: 2024-05-05T19:34:12.398Z (5 months ago)
- Language: Kotlin
- Homepage:
- Size: 551 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
- awesome-list - ArtsemKurantsou/SPI4Android - Example of SPI usage in Android project (Kotlin)
README
# SPI in Android example
This repository contains example of the SPI (Service Provider Interface) usage in the Android
application. The mechanism is demonstrated based on the push services implementation.More info on the SPI mechanism usage can be found in my article in [Medium](https://medium.com/@artsemkurantsou/9f712760df13).
## Repository structure
The project contains several modules:
- **app** - this module is a "dummy" application module that is used as an example of the push
services integration.
- **push-service:core** - this module contains abstraction for the push services and initialization
logic (based on the SPI mechanism).
- **push-service:firebase** - Firebase Cloud Messaging implementation of the push service
- **push-service:amazon** - Amazon Device Messaging implementation of the push service
- **push-service:huawei** - Huawei Messaging Service implementation of the push service
- **push-service:baidu** - Baidu Push SDK implementation of the push service