Skip to content

feat(push): add Android FCM and Windows notifications - #7738

Open
Rehman000786942 wants to merge 1 commit into
block:mainfrom
Rehman000786942:feature/android-fcm-windows-notifications
Open

Rehman000786942 wants to merge 1 commit into
block:mainfrom
Rehman000786942:feature/android-fcm-windows-notifications

Conversation

@Rehman000786942

Copy link
Copy Markdown

Summary

Related issue

Testing

Signed-off-by: Abdul Rehman <rehman.infinitech@gmail.com>
@Rehman000786942
Rehman000786942 requested a review from a team as a code owner September 18, 2026 14:34
@github-actions

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is 8953cbfff58ed768d996677fed3af0e3bac64a20...0aed4764cd9edbc402b69decb62e7f5d6b2c4f27.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 0aed4764cd9edbc402b69decb62e7f5d6b2c4f27 to authorize a new review.
Any previous review applies only to its recorded range.

import java.net.URL
import java.nio.charset.StandardCharsets
import java.security.KeyPair
import java.security.KeyPairGenerator
val keyStore = KeyStore.getInstance("AndroidKeyStore").apply { load(null) }
val existing = keyStore.getEntry(alias, null) as? KeyStore.PrivateKeyEntry
if (existing != null) return KeyPair(existing.certificate.publicKey, existing.privateKey)
val generator = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_EC, "AndroidKeyStore")
}

private fun sign(keyPair: KeyPair, transcript: String): String {
val signature = Signature.getInstance("SHA256withECDSA")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants