I\'ve tried adding Crashlytics
to my app, which already has StrictMode
enabled with detectAll()
. The result was Untagged socket dete
Api 28 has introduced:
public StrictMode.VmPolicy.Builder penaltyListener (Executor executor,
StrictMode.OnVmViolationListener listener)
So at least you can listen for specific violations (like UntaggedSocketViolation) and choose to ignore them. Of course, it would be better if Crashlytics were to tag their sockets appropriately.