MCPcopy Create free account
hub / github.com/Iterable/react-native-sdk / getEmail

Method getEmail

src/core/classes/Iterable.ts:271–273  ·  view source on GitHub ↗

* Get the email associated with the current user. * * @example * ```typescript * Iterable.getEmail().then((email) => { * // Do something with the email * }); * ```

()

Source from the content-addressed store, hash-verified

269 * ```
270 */
271 static getEmail(): Promise<string | null> {
272 return IterableApi.getEmail();
273 }
274
275 /**
276 * Associate the current user with the passed in `userId` parameter.

Callers

nothing calls this directly

Calls 1

getEmailMethod · 0.65

Tested by

no test coverage detected