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

Method getLastPushPayload

src/core/classes/Iterable.ts:359–361  ·  view source on GitHub ↗

* Get the payload of the last push notification with which the user * opened the application (by clicking an action button, etc.). * * @example * ```typescript * Iterable.getLastPushPayload().then((payload) => { * // Do something with the payload * }); * ```

()

Source from the content-addressed store, hash-verified

357 * ```
358 */
359 static getLastPushPayload(): Promise<unknown> {
360 return IterableApi.getLastPushPayload();
361 }
362
363 /**
364 * Get the stored attribution information -- possibly based on a recent deep link click.

Callers

nothing calls this directly

Calls 1

getLastPushPayloadMethod · 0.65

Tested by

no test coverage detected