Closed jschmid closed 2 years ago
Thanks for the PR. Our WebSocket implementation is not dependent on Android and your PR adds that dependency, so we need a different approach, Can you look at https://github.com/crossbario/autobahn-java/blob/master/autobahn/src/main/java/io/crossbar/autobahn/websocket/utils/Platform.java and come up with a similar approach ?
This PR fixes #519
The warning does not appear on Android anymore.
Building the aar still works from Android Studio.
Running
make build
works fine a generates a lib.I am not sure however about the
import android.net.TrafficStats;
. I would say that if it compiles, it should run, but I did/could not test the Netty version.