@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
10 lines (8 loc) • 301 B
text/typescript
import { getConfiguration } from './internals/getConfiguration';
/**
* Gets the client's unique ID set by the module. You may also see `resetClientUniqueId`.
*/
export const getClientUniqueId = async () => {
const nativeConfig = await getConfiguration();
return nativeConfig.clientUniqueId;
};