xwords/xwords4/android/jni
Eric House d799b94169 use persist flag and new per-game mqtt topics (too)
I didn't understand MQTT at all. Per the docs anyway it only keeps a
message around if its "persist" flag is set, and then it only keeps
the most recent per topic. I expected that when a device connected,
messages would be waiting for it, but that's apparently not true (some
evidence to the contrary.) But having all games on a device share the
same topic means only one message can be waiting. So switch to
including gameID in the topic, subscribing to a wildcard topic and
sending to a different one per game. For now, for legacy purposes,
we'll keep sending to the old per-device topic.
2022-12-16 14:35:22 -08:00
..
.gitignore forgot a file 2017-01-18 07:28:19 -08:00
anddict.c make android supports 21x21 too 2022-04-04 11:46:22 +02:00
anddict.h no-code-change cleanup: star next to type not name 2020-09-13 14:34:47 -07:00
andglobals.h turn off thread->env mapping for DEBUG too (for now) 2020-04-29 10:31:37 -07:00
Android.mk snapshot: comms_invite() call gets to jni 2022-11-18 11:09:22 -08:00
andutils.c use persist flag and new per-game mqtt topics (too) 2022-12-16 14:35:22 -08:00
andutils.h use persist flag and new per-game mqtt topics (too) 2022-12-16 14:35:22 -08:00
drawwrapper.c LangCode->ISOCode replacement, Android side 2022-06-05 09:07:06 -07:00
drawwrapper.h retain thread->env mapping in DEBUG builds only 2020-04-26 13:39:21 -07:00
jniutlswrapper.c a bit of cleanup 2020-12-14 08:57:11 -08:00
jniutlswrapper.h retain thread->env mapping in DEBUG builds only 2020-04-26 13:39:21 -07:00
LocalizedStrIncludes.h remove assertion firing in dup mode 2022-08-01 13:05:19 -07:00
paths.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
utils.c more script fixes; move jni code 2017-01-18 07:27:23 -08:00
utilwrapper.c use persist flag and new per-game mqtt topics (too) 2022-12-16 14:35:22 -08:00
utilwrapper.h make android compile/run with wasm changes 2021-03-19 14:29:20 -07:00
xportwrapper.c snapshot: rematch and invitation handling most work from common 2022-11-18 11:09:22 -08:00
xportwrapper.h retain thread->env mapping in DEBUG builds only 2020-04-26 13:39:21 -07:00
xptypes.h pass env into dict-related methods 2020-04-26 13:39:16 -07:00
xwjni.c use persist flag and new per-game mqtt topics (too) 2022-12-16 14:35:22 -08:00