* Associate the current user with the passed in `userId` parameter. * * Note: specify a user by calling `Iterable.setEmail` or * `Iterable.setUserId`, but **NOT** both. * * @remarks * Iterable's React Native SDK persists the user across app sessions and * restarts, until you man
(userId?: string | null, authToken?: string | null)
| 316 | * taken |
| 317 | */ |
| 318 | static setUserId(userId?: string | null, authToken?: string | null) { |
| 319 | IterableApi.setUserId(userId, authToken); |
| 320 | } |
| 321 | |
| 322 | /** |
| 323 | * Get the `userId` associated with the current user. |