react-native-wear-connectivity icon indicating copy to clipboard operation
react-native-wear-connectivity copied to clipboard

[Issue] - Avoid lib triggering runtime when Wearable not connected

Open fabOnReact opened this issue 1 year ago • 0 comments

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

fabOnReact avatar Feb 16 '24 08:02 fabOnReact