UNPKG

@appzung/react-native-code-push

Version:

React Native plugin for the CodePush service

14 lines (12 loc) 577 B
"use strict"; import { NativeRNAppZungCodePushModule } from "./internals/NativeRNAppZungCodePushModule.js"; import { reloadCachedConfiguration } from "./internals/getConfiguration.js"; /** * Resets the client's unique ID. You may use this in some GDPR compliance scenarios. Note that this will create a new MAU if a new request is sent later. */ export const resetClientUniqueId = async () => { const newId = await NativeRNAppZungCodePushModule.resetClientUniqueId(); await reloadCachedConfiguration(); return newId; }; //# sourceMappingURL=resetClientUniqueId.js.map