-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android API 30+ restrictions and peer discovery #23
Comments
Any updates on this? |
Will this fix it? f4e1a75 |
Nope. This can help with Android 12, and only for receiving beacons from other nodes. I will try to implement some workaround to fix this in a couple of days. |
Multicast stopped working after updating to Yggdrasil 0.5. LineageOS 18.1 Android 11. eu.neilalexander.yggdrasil 0.1-015 Multicast works in the same application on LineageOS 17.1 Android 10. Is this the same issue or something different? |
Same here, I can't get multicast to work on DivestOS 18.1 (Android 11) using Yggdrasil 0.1-016 from F-Droid while connected to the same Wifi network as my other machines. |
This app has build API 29 set, but it is "deprecated" from Google's view, and it will not accept such apps to Google Play.
Moreover, there are a bunch of dependencies, that are too old, but also need the API increments to update.
I've tested such "drastic" measures. The app works normally, but local peer discovery doesn't work, because Go code can't find local IPs.
See the same issue in Syncthing: syncthing/syncthing-android#1628
I think, that we can add one method to yggdrasil-go API, some method, say
update_interfaces()
that will get a map or JSON with interface names and an array of their IPs.Then I can add the Kotlin code that will listen for network changes and update those IPs on the Go side.
P.S.: This function is getting empty map:
https://github.com/yggdrasil-network/yggdrasil-go/blob/cfa293d189fae9af9c025bf40a19e9ac69f8f839/src/multicast/multicast.go#L143
The text was updated successfully, but these errors were encountered: