Skip to content
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

Autobahn does not comply with Android Strict Mode #519

Open
jschmid opened this issue Mar 22, 2021 · 0 comments
Open

Autobahn does not comply with Android Strict Mode #519

jschmid opened this issue Mar 22, 2021 · 0 comments

Comments

@jschmid
Copy link

jschmid commented Mar 22, 2021

If you try to enable StrictMode, specifically untagged sockets, the app will trigger warnings (or crash if it is configured as such) because of the socket opened by Autobahn.

This is a bit annoying because this prevents us to use the "catch all" detectAll() method from StrictMode.

From what I understand, WebSocketConnector should call TrafficStats.setThreadStatsTag(int) to use a TAG for the socket created by Autobahn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant