-
Notifications
You must be signed in to change notification settings - Fork 2
Conversation
r? @keybase/react-hackers but most likely @chrisnojima |
Compare to zo0r#657 |
|
||
defaultConfig { | ||
minSdkVersion 16 | ||
targetSdkVersion 23 | ||
targetSdkVersion 28 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to bump this to 28 to get it to compile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is on top of the version we currently use right
@@ -158,7 +158,7 @@ public void sendToNotificationCentre(Bundle bundle) { | |||
title = context.getPackageManager().getApplicationLabel(appInfo).toString(); | |||
} | |||
|
|||
NotificationCompat.Builder notification = new NotificationCompat.Builder(context) | |||
NotificationCompat.Builder notification = new NotificationCompat.Builder(context, RNPushNotification.CHANNEL_ID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is called by RNPushNotificationListenerService.handleRemotePushNotification
, which AFAICT is what is called when a GCM push notification is received.
Tested with plaintext notifications both off and on.
Yes, this is on top of keybase-fixes-off-302 |
This is required for Android Oreo.
Hard-code channel parameters for now.