We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b82b41 commit 1b64b6dCopy full SHA for 1b64b6d
src/BatchProfile.ts
@@ -48,6 +48,9 @@ export const BatchProfile = {
48
* If a profile already exists, this device will be attached to it. Must not be longer than 1024 characters.
49
*/
50
identify: (identifier: string | null): void => {
51
+ if (typeof identifier === "undefined") {
52
+ return;
53
+ }
54
RNBatch.profile_identify(identifier);
55
},
56
0 commit comments