31e93ef7bf
Summary: For real usecases of SMS support, we will almost always need access to the message history in some way Specifically resolve T8338 Incidentally resolve T6651 since Telephony shall no longer create a notification Test Plan: Setup: - Build corresponding Android-side diff (D11698) - Build this diff Step 1: Does anything at all work? - Put a breakpoint in the handleBatchMessages method of the telephony plugin, ideally after constructing a Message object - Use DBus to poke /modules/kdeconnect/devices/<deviceID>/telephony.requestAllConversations() - Verify that the constructed Message is one you sent or received and that it is the most recent in the corresponding conversation Step 2: DBus - Open the Interface org.kde.kdeconnect.device.conversations of /modules/kdeconnect/devices/<deviceId> - Poke activeConversations and verify an empty array is returned - Poke requestAllConversationThreads - Poke activeConversations and verify that a list of numbers has been returned. These are conversationIds - Use a conversationId to call getFirstFromConversation - Verify that the returned Message object is one which you recognize - Note that if the message is an MMS it will be blank and meaningless. Try a different conversationId. MMS support "coming soon!" Step 3: SMS App - Use ccmake (or similar) to set SMSAPP_ENABLE to ON - Build the project - Run ./bin/kdeconnect-sms - Verify that the app shows a list of everyone you have an SMS conversation with (MMS messages are stripped out) - If you have the Contacts plugin working, verify that most contacts have their name and photo instead of their phone number Reviewers: #kde_connect, nicolasfella, apol Reviewed By: #kde_connect, nicolasfella, apol Subscribers: andyholmes, apol, nicolasfella, #kde_connect Tags: #kde_connect Maniphest Tasks: T8338, T6651 Differential Revision: https://phabricator.kde.org/D11854
100 lines
5.2 KiB
JSON
100 lines
5.2 KiB
JSON
{
|
||
"KPlugin": {
|
||
"Authors": [
|
||
{
|
||
"Email": "albertvaka@gmail.com",
|
||
"Name": "Albert Vaca",
|
||
"Name[sr@ijekavian]": "Алберт Вака Синтора",
|
||
"Name[sr@ijekavianlatin]": "Albert Vaka Sintora",
|
||
"Name[sr@latin]": "Albert Vaka Sintora",
|
||
"Name[sr]": "Алберт Вака Синтора",
|
||
"Name[x-test]": "xxAlbert Vacaxx"
|
||
}
|
||
],
|
||
"Description": "Show notifications for calls and SMS",
|
||
"Description[ar]": "أظهر إخطارات المكالمات والرّسائل",
|
||
"Description[ca@valencia]": "Mostra les notificacions de les trucades i els SMS",
|
||
"Description[ca]": "Mostra les notificacions de les trucades i els SMS",
|
||
"Description[cs]": "Zobrazit upozornění pro telefonáty a SMS",
|
||
"Description[da]": "Vis bekendtgørelser for opkald og sms",
|
||
"Description[de]": "Benachrichtigungen für Anrufe und SMS anzeigen",
|
||
"Description[el]": "Εμφάνιση ειδοποιήσεων για κλήσεις και SMS",
|
||
"Description[es]": "Mostrar notificaciones de llamadas y SMS",
|
||
"Description[et]": "Kõnede ja SMS-ide märguannete näitamine",
|
||
"Description[eu]": "Erakutsi deien eta SMS mezuen jakinarazpenak",
|
||
"Description[fi]": "Näytä puhelujen ja tekstiviestien ilmoitukset",
|
||
"Description[fr]": "Affichez les notifications pour les appels et les SMS",
|
||
"Description[gl]": "Mostrar notificacións de chamadas e mensaxes SMS.",
|
||
"Description[it]": "Mostra notifiche per le chiamate e per gli SMS",
|
||
"Description[ko]": "통화와 SMS 알림 표시",
|
||
"Description[nl]": "Meldingen tonen van oproepen en SMSjes",
|
||
"Description[nn]": "Vis varslingar for oppringingar og SMS",
|
||
"Description[pl]": "Powiadamiaj o dzwonieniu i esemesach",
|
||
"Description[pt]": "Mostrar notificações para as chamadas e SMS",
|
||
"Description[pt_BR]": "Mostra notificações para chamadas e SMS",
|
||
"Description[ru]": "Показ уведомлений для звонков и SMS",
|
||
"Description[sr@ijekavian]": "Приказује обавештења за позиве и СМС",
|
||
"Description[sr@ijekavianlatin]": "Prikazuje obaveštenja za pozive i SMS",
|
||
"Description[sr@latin]": "Prikazuje obaveštenja za pozive i SMS",
|
||
"Description[sr]": "Приказује обавештења за позиве и СМС",
|
||
"Description[sv]": "Visa underrättelser om samtal och SMS",
|
||
"Description[tr]": "Çağrı ve SMS'ler için bildirim göster",
|
||
"Description[uk]": "Показ сповіщень щодо дзвінків і SMS",
|
||
"Description[x-test]": "xxShow notifications for calls and SMSxx",
|
||
"Description[zh_CN]": "显示来电和短信通知",
|
||
"Description[zh_TW]": "顯示來電與短訊通知",
|
||
"EnabledByDefault": true,
|
||
"Icon": "call-start",
|
||
"Id": "kdeconnect_telephony",
|
||
"License": "GPL",
|
||
"Name": "Telephony integration",
|
||
"Name[ar]": "تكامل الهاتف",
|
||
"Name[ca@valencia]": "Integració amb la telefonia",
|
||
"Name[ca]": "Integració amb la telefonia",
|
||
"Name[cs]": "Integrace telefonu",
|
||
"Name[da]": "Integration af telefoni",
|
||
"Name[de]": "Telefon-Integration",
|
||
"Name[el]": "Ενσωμάτωση τηλεφωνίας",
|
||
"Name[es]": "Integración con el teléfono",
|
||
"Name[et]": "Telefoniga lõimimine",
|
||
"Name[eu]": "Telefoniarekin integrazioa",
|
||
"Name[fi]": "Puhelinintegrointi",
|
||
"Name[fr]": "Intégration de la téléphonie",
|
||
"Name[gl]": "Integración telefónica",
|
||
"Name[hu]": "Telefonintegráció",
|
||
"Name[it]": "Integrazione telefonica",
|
||
"Name[ko]": "전화 통합",
|
||
"Name[nl]": "Telefoonintegratie",
|
||
"Name[nn]": "Telefonintegrering",
|
||
"Name[pl]": "Integracja z telefonem",
|
||
"Name[pt]": "Integração telefónica",
|
||
"Name[pt_BR]": "Integração telefônica",
|
||
"Name[ru]": "Интеграция телефонии",
|
||
"Name[sk]": "Integrácia telefónie",
|
||
"Name[sr@ijekavian]": "Интегрисана телефонија",
|
||
"Name[sr@ijekavianlatin]": "Integrisana telefonija",
|
||
"Name[sr@latin]": "Integrisana telefonija",
|
||
"Name[sr]": "Интегрисана телефонија",
|
||
"Name[sv]": "Integrering av telefoni",
|
||
"Name[tr]": "Telefon tümleştirmesi",
|
||
"Name[uk]": "Інтеграція з системою телефонії",
|
||
"Name[x-test]": "xxTelephony integrationxx",
|
||
"Name[zh_CN]": "Telephony 集成",
|
||
"Name[zh_TW]": "集成電話",
|
||
"ServiceTypes": [
|
||
"KdeConnect/Plugin"
|
||
],
|
||
"Version": "0.1",
|
||
"Website": "http://albertvaka.wordpress.com"
|
||
},
|
||
"X-KdeConnect-OutgoingPacketType": [
|
||
"kdeconnect.telephony.request",
|
||
"kdeconnect.sms.request",
|
||
"kdeconnect.telephony.request_conversations",
|
||
"kdeconnect.telephony.request_conversation"
|
||
],
|
||
"X-KdeConnect-SupportedPacketType": [
|
||
"kdeconnect.telephony",
|
||
"kdeconnect.telephony.message"
|
||
]
|
||
}
|