How to handle no network connection avalabile with TwitterLoginButton



Currently I can not find any straight forward solution to check if the network is available when pressing the login button. I would like to show a snack to inform the user about the connectivity issue.

This would prevent an unnecessary network request, if the user has the twitter app installed the login screen will appear with accept decline but none of the options would work, on the other hand if the user does not have the app the screen will flash ( opens a WebView i suppose ). This is bad UX …


Hey @BlenesiAttila,

There is nothing built out within the Fabric SDK to do that check automatically, currently, but I’ll let the team know you’d like to see it added.


It would be great, thanks a lot!