implement Google Cloud Messaging using DBus activatable GActions

This needs https://gitlab.com/android_translation_layer/gcm_service running in the
background.
For D-Bus activation, a D-Bus service file needs to be manually
installed under ~/.local/share/dbus-1/services.

Tested with FCM-Toolbox app.
This commit is contained in:
Julian Winkler
2025-07-28 23:01:58 +02:00
parent 9de9158699
commit f7a29d8731
10 changed files with 152 additions and 5 deletions

View File

@@ -125,6 +125,8 @@ struct handle_cache {
jmethodID constructor;
jmethodID putExtraCharSequence;
jmethodID putExtraByteArray;
jmethodID putExtraInt;
jmethodID putExtraLong;
jmethodID getDataString;
jmethodID setClassName;
} intent;
@@ -146,6 +148,15 @@ struct handle_cache {
jclass class;
jmethodID parse;
} uri;
struct {
jclass class;
jmethodID keySet;
jmethodID get;
} bundle;
struct {
jclass class;
jmethodID toArray;
} set;
};
extern struct handle_cache handle_cache;