Skip to content

Commit

Permalink
sample app updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-aman committed Sep 2, 2024
1 parent 6f5f306 commit a5fc73b
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Apps/APN/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Apps/APN/src/services/CustomerIOService.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ CustomerIO.initialize(config)
};

export const onUserLoggedIn = (user) => {
CustomerIO.identify(user.email, {
first_name: user.name,
email: user.email,
CustomerIO.identify({ id: user.email,
traits: {
first_name: user.name,
email: user.email,
}
});
};

Expand Down
56 changes: 28 additions & 28 deletions Apps/FCM/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ PODS:
- GoogleUtilities/UserDefaults (7.13.3):
- GoogleUtilities/Logger
- GoogleUtilities/Privacy
- hermes-engine (0.73.9):
- hermes-engine/Pre-built (= 0.73.9)
- hermes-engine/Pre-built (0.73.9)
- hermes-engine (0.73.8):
- hermes-engine/Pre-built (= 0.73.8)
- hermes-engine/Pre-built (0.73.8)
- JSONSafeEncoding (2.0.0)
- libevent (2.1.12)
- nanopb (2.30909.1):
Expand Down Expand Up @@ -1431,7 +1431,7 @@ SPEC CHECKSUMS:
glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a
GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15
hermes-engine: ed62e0dcd013bf4a3b487f164feec1c4e705b5b5
hermes-engine: b12d9bb1b7cee546f5e48212e7ea7e3c1665a367
JSONSafeEncoding: 54722ebc4fe1482e3e60a8450e1287481e32dd8b
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
Expand All @@ -1458,29 +1458,29 @@ SPEC CHECKSUMS:
React-logger: 60afd40b183e8e6642bfd0108f1a1ad360cc665e
React-Mapbuffer: 672a9342eb75a4d0663306e94d4dfc88aee73b93
react-native-notifications: 4601a5a8db4ced6ae7cfc43b44d35fe437ac50c4
react-native-safe-area-context: ab8f4a3d8180913bd78ae75dd599c94cce3d5e9a
React-nativeconfig: c1729ab95240ec80d47a2bb8354d8f31138e35a7
React-NativeModulesApple: 115c934a87f3b45fecb0fada08fa70bab3dff65c
React-perflogger: c93b6a895eca3f9196656bb20ce0e15ad597a4e9
React-RCTActionSheet: 258842f426709dccbc2af31ca42b0a1807d76ad7
React-RCTAnimation: 78c40269e35864f541b7486d17bd82a353c99fbc
React-RCTAppDelegate: d98ec2cdfb161d7a8496990e9649f94018025922
React-RCTBlob: 593a5dbc58c45e3cccc37ad4498b10766ace26e6
React-RCTFabric: e6060e78040264f8a542bb8631ae1bbfd5a882ed
React-RCTImage: a0cdbb81db012ebc42c7dbaabdcb15f488c7c391
React-RCTLinking: 82b6b0a5b2d5c8d3a28997e70bda46bac4be4c6e
React-RCTNetwork: 45e30079bcb987724028c9a93c0110b6d82e4a1f
React-RCTSettings: e67cbe694fe45b080b96b1394d4e45dff1b3ae04
React-RCTText: 14a54686a1fa0b51b76660c7700980fdec6c3093
React-RCTVibration: 00561f3d12dca44ed55af9060752bf8cf3fb0bfc
React-rendererdebug: 975f3e6e430ba1a9b92dc44bc99757cb1c6cae60
React-rncore: e7dc772ade687746b8a8a38985b4512b8d232637
React-runtimeexecutor: bf98e8973ed4c45139fbbaf2c34af44053acc9a9
React-runtimescheduler: efb26ad81d94a9b047504bd716b48869bd311649
React-utils: dab84549e65d6d711937b9c34d9f6d8fb8bd711c
ReactCommon: 3dc453f427d2f3d7f2c71499d191b456f83c59bd
RNCAsyncStorage: ec53e44dc3e75b44aa2a9f37618a49c3bc080a7a
RNCClipboard: 806a2c9ed0c0166d78721ee6eac202a8c1cffb36
react-native-safe-area-context: 422017db8bcabbada9ad607d010996c56713234c
React-nativeconfig: 2e44d0d2dd222b12a5183f4bcaa4a91881497acb
React-NativeModulesApple: 8aa032fe6c92c1a3c63e4809d42816284a56a9b0
React-perflogger: f9367428cf475f4606b5965c1d5a71781bb95299
React-RCTActionSheet: 39b3248276c7f98e455aebb0cdd473a35c6d5082
React-RCTAnimation: 10eee15d10e420f56b4014efd4d7fb7f064105fc
React-RCTAppDelegate: d58a00ce3178b077984f9cbb90c6191d73c9b3a7
React-RCTBlob: 67bd0b38c39f59ec77dcbab01217a7b9dd338446
React-RCTFabric: 78b07ebde8adc626b210219bf1a3ab5bafa6b8b7
React-RCTImage: e9c7790c25684ec5b64b4c92def4d6b95b225826
React-RCTLinking: d3d3ea5596c9f30fa0e8138e356258fca1f2ccaf
React-RCTNetwork: b52bcb51f559535612957f20b4ca28ff1438182f
React-RCTSettings: 6763f9d5210ce3dae6f892a0546c06738014025b
React-RCTText: 6b8365ef043d3fc01848bb8de48ee9e67ba3bc47
React-RCTVibration: aa85a228a382b66e8844c2f94cd3e734fa96d07a
React-rendererdebug: db3c2ce7c7c239b5b2e2c913acd08dc03666e88f
React-rncore: e4514e3d953d0ad476a3e5dd999e16d68ebae2e4
React-runtimeexecutor: 1fb11b17da6dcf79da6f301ab54fcb51545bab6e
React-runtimescheduler: 1c40cfe98dcc7b06354d96a1cd8ee10cbc4cc797
React-utils: 4cc2ba652f5df1c8f0461d4ae9e3ee474c1354ea
ReactCommon: 1da3fc14d904883c46327b3322325eebf60a720a
RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c
RNCClipboard: 0a720adef5ec193aa0e3de24c3977222c7e52a37
RNDeviceInfo: 59344c19152c4b2b32283005f9737c5c64b42fba
RNFBApp: a3e139715386fe79a09c387f2dbeb6890eb05b39
RNFBMessaging: a65862d8eba03cb6c838241bd328166504996894
Expand All @@ -1489,7 +1489,7 @@ SPEC CHECKSUMS:
RNSnackbar: 3727b42bf6c4314a53c18185b5203e915a4ab020
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Sovran: f8212bb3855042a24689a73ea0219ca5295235da
Yoga: 6aaa3c45f0fda0c6929f855121622669dabe1aaf
Yoga: 2a16e58450c48e110211dae1159fb114bbcdcfc0

PODFILE CHECKSUM: 856c598ef31ca9704d7f356fc3128c0680cd0c97

Expand Down
2 changes: 1 addition & 1 deletion Apps/FCM/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Apps/FCM/src/services/CustomerIOService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ CustomerIO.initialize(config)
};

export const onUserLoggedIn = (user: User) => {
CustomerIO.identify(user.email, {
first_name: user.name,
email: user.email,
CustomerIO.identify({ id: user.email,
traits: {
first_name: user.name,
email: user.email,
}
});
};

Expand Down

0 comments on commit a5fc73b

Please sign in to comment.