From ec838de4a8ddc522637816ff337d0ae89a52c390 Mon Sep 17 00:00:00 2001 From: GamefoldTV <92638771+GamefoldTV@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:14:55 +0700 Subject: [PATCH] Create 14 --- 14_pushes/14 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 14_pushes/14 diff --git a/14_pushes/14 b/14_pushes/14 new file mode 100644 index 0000000..034e2a4 --- /dev/null +++ b/14_pushes/14 @@ -0,0 +1,23 @@ +class MyBroadcastReceiver : BroadcastReceiver() { + override fun onReceive(context: Context, intent: Intent) { + val recipientId = intent.getStringExtra("recipientId") + val appAuthId = AppAuth.getUser()?.id.toString() + + when (recipientId) { + appAuthId -> { + + } + "0" -> { + if (recipientId != appAuthId) { + } + } + else -> { + if (recipientId != appAuthId) { + } + } + null -> { + + } + } + } +}