react-native-wear-connectivity
react-native-wear-connectivity copied to clipboard
[Issue] - Avoid lib triggering runtime when Wearable not connected
WearConnectivityModule failed to retrieve nodes with error:
java.util.concurrent.ExecutionException: com.google.android.gms.common.api.ApiException: 17: API: Wearable.API is not available on this device.
Connection failed with: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
The Android Phone did not install the Wear OS app and did not pair with Wear OS device.
- [ ] Add try-catch statement
- [ ] Add JavaScript warning message