Added notification channel and code to show notification.
This commit is contained in:
parent
5e2aa51627
commit
f85e19c75d
3 changed files with 64 additions and 4 deletions
|
|
@ -144,6 +144,10 @@
|
|||
<string name="notification_channel_name">NewPipe Notification</string>
|
||||
<string name="notification_channel_description">Notifications for NewPipe Background and Popup Players</string>
|
||||
|
||||
<string name="app_update_notification_channel_id" translatable="false">newpipeAppUpdate</string>
|
||||
<string name="app_update_notification_channel_name">App Update Notification</string>
|
||||
<string name="app_update_notification_channel_description">Notifications for new NewPipe version</string>
|
||||
|
||||
<string name="unknown_content">[Unknown]</string>
|
||||
|
||||
<string name="toggle_orientation">Toggle Orientation</string>
|
||||
|
|
@ -504,4 +508,8 @@
|
|||
<item>144p</item>
|
||||
</string-array>
|
||||
|
||||
<!-- App update notification -->
|
||||
<string name="app_update_notification_content_title">NewPipe Update Available</string>
|
||||
<string name="app_update_notification_content_text">Tap to download</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue