Skip to content
forked from KoalaSat/pokey

Nostr "Pull Notifications" on Android

License

Notifications You must be signed in to change notification settings

greenart7c3/pokey

 
 

Repository files navigation

Pokey

GitHub downloads release MIT

Display live notifications for your nostr events and allow other apps to receive and interact with them.

Description of Image

Getting Started

What is Nostr: https://www.nostr.how

Features

  • Finish POC
  • Connect with Amber
  • Broadcast to other apps
  • Auth to relays
  • Use built-in Tor engine
  • Multi-account
  • InBox Relays management
  • Granulated notification settings
  • Mute button and mute lists
  • Last 20 notifications view
  • Custom emojis
  • Search term notification

Receiving user's inbox events on your app

  1. Register the intent filter in the AndroidManifest.xml file:
<receiver android:name=".MyBroadcastReceiver">
    <intent-filter>
        <action android:name="com.shared.NOSTR" />
    </intent-filter>
</receiver>
  1. Register receiver in your Service or Activity:
override fun onStart() {
    super.onStart()
    val filter = IntentFilter("com.shared.NOSTR")
    registerReceiver(myBroadcastReceiver, filter)
}

override fun onStop() {
    super.onStop()
    unregisterReceiver(myBroadcastReceiver)
}

Kudos

About

Nostr "Pull Notifications" on Android

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 98.5%
  • Shell 1.5%