Nextcloud/Talk/Android: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „'''topic''' kurze Beschreibung“ durch „'''topic''' - Kurzbeschreibung“
 
(76 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== Debugging push notifications ==
'''topic''' - Kurzbeschreibung
This list is intended to help users that have problems to receive talk notifications on their android phone. It may
== Beschreibung ==
not be complete. Please contribute to this list as you gain new knowledge. Just create an issue with the
== Installation ==
"notification" label or create a pull request for this document.
== Anwendungen ==
=== Fehlerbehebung ===
== Syntax ==
=== Optionen ===
=== Parameter ===
=== Umgebung ===
=== Rückgabewert ===
== Konfiguration ==
=== Dateien ===
== Sicherheit ==
== Dokumentation ==
=== RFC ===
=== Man-Pages ===
=== Info-Pages ===
== Siehe auch ==
== Links ==
=== Projekt ===
=== Weblinks ===


=== Users ===
# Make sure to install the app from the Google PlayStore
The f-droid version doesn't support push notifications.


[[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" alt="Download from Google Play" height="80">]](https://play.google.com/store/apps/details?id=com.nextcloud.talk2)


Only talk notifications will be delivered by the Talk app, for all other notifications install the Nextcloud Files app from Google PlayStore.


[[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" alt="Download from Google Play" height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client)
= TMP =
=== Installation ===  
; Google PlayStore
https://play.google.com/store/apps/details?id=com.nextcloud.talk2


If your problem still occurs after checking all these hints, create an issue at https://github.com/nextcloud/talk-android/issues
'''HINWEIS'''
Die f-droid Version unterstützt keine Push-Benachrichtigungen


=== Android settings ===
; Nextcloud-App
Please take into account that the android settings might be different for each manufacturer.
Weitere Benachrichtigungen liefert die Nextcloud-App
https://play.google.com/store/apps/details?id=com.nextcloud.client


It might be worth it to check what other messaging apps recommend to get their apps running on a certain smartphone and adapt this to the talk app.
=== Benachrichtigungen ===
'''Hinweis'''
Android-Einstellungen können von Hersteller zu Hersteller unterschiedlich sein.


Also [https://dontkillmyapp.com/](https://dontkillmyapp.com/) might be good starting point.
; Allgemeine Einstellungen
* Check that your phone is not in "do not disturb" mode
# Stellen Sie sicher, dass sich Ihr Telefon nicht im "Bitte nicht stören"-Modus befindet.
* Check that your phone has internet access
# Überprüfen Sie, ob Ihr Telefon Internetzugang hat.
* Check the android settings like **"energy saving"** and **"notifications"** regularly as they might be reset by android at any time!
# Überprüfen Sie die Android-Einstellungen
** Energy saving options example for Xiaomi RedMi:
#* "Energiesparen"
*** go to "Settings"
#* "Benachrichtigungen"
*** "Battery & performance"
*** "App battery saver"
*** tap on the Talk app
*** set "No restrictions"
** Notification options example for Xiaomi RedMi:
*** Settings
**** Notifications
***** tap on the Talk app
****** enable "Show notifications" and if you like
****** enable "Lock screen notifications"


=== Check talk app settings ===
==== Beispiel ====
* In the settings, check if ringtones are set for calls and notifications and if vibration is activated if you would like so.
===== Xiaomi RedMi =====
* In the conversation settings (in the upper right corner of a conversation), check that notifications are set to "Always notify" or "Notify when mentioned"
; Energiesparoptionen
** Be aware that this is a per conversation setting. Set it for every conversation differently depending on your needs.
* Einstellungen
** Also be aware that notifications are not generated when you have an active session for a conversation. This also applies for tabs that are open in the background, etc.
** "Akku & Leistung"
** "App Batteriesparer"
** Tippen Sie auf die Talk-App
** "Keine Einschränkungen" einstellen


== Check server settings ==
; Benachrichtigungsoptionen
Run the `notification:test-push` command for the user who is logged in at the device that should receive the notification:
* Einstellungen
** Benachrichtigungen
*** Talk-App
**** "Benachrichtigungen anzeigen"
**** "Sperrbildschirm-Benachrichtigungen" sollten aus Sicherheitsgründen NICHT aktiviert werden


sudo -u www-data php /var/www/yourinstance/occ notification:test-push --talk youruser
=== Talk-App ===
; Einstellungen prüfen
* Klingeltöne und Vibration für Anrufe und Benachrichtigungen


It should print something like the following:
; Gesprächseinstellungen
Trying to push to 2 devices
In der oberen rechten Ecke eines Gesprächs
 
* Benachrichtigungen
Language is set to en
** "Immer benachrichtigen" oder
Private user key size: 1704
** "Benachrichtigen, wenn erwähnt"  
Public user key size: 451
Identified 1 Talk devices and 1 others.
Device token:156850
Device public key size: 451
Data to encrypt is: {"nid":525210,"app":"admin_notification_talk","subject":"Testing push notifications","type":"admin_notifications","id":"614aeee4"}
Signed encrypted push subject
Push notification sent successfully


This means the notifications are set up correctly on server side. Note that there won't be any notification on the
Beachten Sie, dass dies eine Einstellung für jede Unterhaltung ist.  
phone as this is just a test-message which won't be handled (As a developer you could set a breakpoint in the
* Stellen Sie sie für jede Unterhaltung anders ein, je nach Ihren Bedürfnissen.
"onMessageReceived"-method of the Firebase cloud messaging handling to check if the notification is received).


If it prints something like
Beachten Sie auch, dass keine Benachrichtigungen erzeugt werden, wenn Sie eine aktive Sitzung für eine Unterhaltung haben.  
sudo -u www-data php /var/www/yourinstance/occ notification:test-push --talk youruser
* Dies gilt auch für Tabs, die im Hintergrund geöffnet sind, etc.
No devices found for user
[[Kategorie:Nextcloud/Talk]]
 
try to remove the account from the Nextcloud Android Talk app and log in again. Afterwards try to run the command
again.
If it prints
There are no commands defined in the "notification" namespace.
 
then the https://github.com/nextcloud/notifications app is not installed on your nextcloud instance.
 
The notification app is shipped and enabled by default, but could be missing in development environments or being disabled manually.
Install and enable the app by following the instructions at https://github.com/nextcloud/notifications#developers and
try again to execute the command.
 
== Developers/testers ==
* Be aware that the "qa"-versions that you can install by scanning the QR-code in a github pull request don't support notifications!
* When starting the talk app within Android Studio, make sure to select the "gplayDebug" build variant:
  ![gplay debug build variant](/docs/gplayDebugBuildVariant.png "gplay debug build variant")
* Especially after reinstalling the app, make sure to always check the android settings as they might be reset.
 
Q: https://github.com/nextcloud/talk-android/blob/master/docs/notifications.md

Aktuelle Version vom 14. September 2024, 21:09 Uhr

topic - Kurzbeschreibung

Beschreibung

Installation

Anwendungen

Fehlerbehebung

Syntax

Optionen

Parameter

Umgebung

Rückgabewert

Konfiguration

Dateien

Sicherheit

Dokumentation

RFC

Man-Pages

Info-Pages

Siehe auch

Links

Projekt

Weblinks

TMP

Installation

Google PlayStore
https://play.google.com/store/apps/details?id=com.nextcloud.talk2
HINWEIS
Die f-droid Version unterstützt keine Push-Benachrichtigungen
Nextcloud-App

Weitere Benachrichtigungen liefert die Nextcloud-App

https://play.google.com/store/apps/details?id=com.nextcloud.client

Benachrichtigungen

Hinweis
Android-Einstellungen können von Hersteller zu Hersteller unterschiedlich sein.
Allgemeine Einstellungen
  1. Stellen Sie sicher, dass sich Ihr Telefon nicht im "Bitte nicht stören"-Modus befindet.
  2. Überprüfen Sie, ob Ihr Telefon Internetzugang hat.
  3. Überprüfen Sie die Android-Einstellungen
    • "Energiesparen"
    • "Benachrichtigungen"

Beispiel

Xiaomi RedMi
Energiesparoptionen
  • Einstellungen
    • "Akku & Leistung"
    • "App Batteriesparer"
    • Tippen Sie auf die Talk-App
    • "Keine Einschränkungen" einstellen
Benachrichtigungsoptionen
  • Einstellungen
    • Benachrichtigungen
      • Talk-App
        • "Benachrichtigungen anzeigen"
        • "Sperrbildschirm-Benachrichtigungen" sollten aus Sicherheitsgründen NICHT aktiviert werden

Talk-App

Einstellungen prüfen
  • Klingeltöne und Vibration für Anrufe und Benachrichtigungen
Gesprächseinstellungen

In der oberen rechten Ecke eines Gesprächs

  • Benachrichtigungen
    • "Immer benachrichtigen" oder
    • "Benachrichtigen, wenn erwähnt"

Beachten Sie, dass dies eine Einstellung für jede Unterhaltung ist.

  • Stellen Sie sie für jede Unterhaltung anders ein, je nach Ihren Bedürfnissen.

Beachten Sie auch, dass keine Benachrichtigungen erzeugt werden, wenn Sie eine aktive Sitzung für eine Unterhaltung haben.

  • Dies gilt auch für Tabs, die im Hintergrund geöffnet sind, etc.