Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datalux/notification-sniffer
An Android Library that implements a Notification Sniffer
https://github.com/datalux/notification-sniffer
android android-library notifications security sniffing
Last synced: 12 days ago
JSON representation
An Android Library that implements a Notification Sniffer
- Host: GitHub
- URL: https://github.com/datalux/notification-sniffer
- Owner: Datalux
- License: gpl-3.0
- Created: 2021-05-20T22:03:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-21T14:30:45.000Z (over 3 years ago)
- Last Synced: 2025-01-14T22:51:42.741Z (23 days ago)
- Topics: android, android-library, notifications, security, sniffing
- Language: Kotlin
- Homepage:
- Size: 162 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# notification-sniffer
An Android Library that implements a Notification Sniffer## Gradle Dependency
- gradle project level
```gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
- gradle application level
```gradle
dependencies {
implementation 'com.github.Datalux:notification-sniffer:0.1'
}
```
## Example```kotlin
if(!NotificationSniffer.checkForPermission(this))
NotificationSniffer.askForPermission(this)
NotificationSniffer.startSniffing(this)
NotificationSniffer.listener = object : SniffListener {
override fun onResult(extractedNotification: ExtractedNotification) {
Log.d("onMain", extractedNotification.toString())
}
}
```