Skip to main content

Watch State

getIsPaired​

Is this iPhone paired with an apple watch?

import {getIsPaired} from 'react-native-watch-connectivity';

const paired = await getIsPaired();

console.log(paired); // true | false

getIsWatchAppInstalled​

Is the watch app, companion to the react native, installed?

import {getIsWatchAppInstalled} from 'react-native-watch-connectivity';

const installed = await getIsWatchAppInstalled();
console.log(installed); // true | false

getReachability​

import {getReachability} from 'react-native-watch-connectivity';

const reachable = await getReachability();
console.log('reachable?', reachable);

Events​

See the Events API documentation for details on subscribing to the above.