Advanced device capabilities detection
For now we detect if device has a network connection. There is an idea to detect also:
- bluetooth capabilities
- NFC capabilities
- USB connection
If we detect any of these connections/capabilities we consider "the device is not offline wallet".
There is a lib for each capability, but I did not find a lib which just device capabilities. So I'd prefer to write such a lib.
Also there should be an Android service which will be able to make checks even if app is not open.