Playing around with Fast-DDS and Bundles for Play store release #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a work in progress towards compatibility with Android 13Fixed on main.With CycloneDDS on an Android 13 device I saw a bunch of avc events
{ read }
with name"wireless"
. I assumed this was because CycloneDDS tries to read/proc/net/wireless
. I don't see the same events on an Android 30 device. Communication works on the Android 11 device, but silently does not work on the Android 13 device.With this I tried switching to Fast-DDS. It comes with a couple problems. The first is the code size is massive and the apk becomes 200Mb. The second is Fast-DDS requires two type supports (even
rmw_fastrtps_dynamic_cpp
does), so I can't use static linking and LTO to shrink it.This still does not solve the communication problem on Android 13 device. I see a new avc event with Fast-DDS, although this time I see it on both the Android 11 and Android 13 devices. The communication behavior is the same: I can communicate with the Android 11 device but not the Android 13 device. This makes me think there's something else happening on the Android 13 device.Fixed on Main.Next idea: try holdingWifiManager.MulticastLock
and see if that allows communication? https://developer.android.com/reference/android/net/wifi/WifiManager.MulticastLock