```
varun ~ Code comm native git diff ST 218 securestore
diff --git a/native/selectors/account-selectors.js b/native/selectors/account-selectors.js
index a9b478e54..77e2bff26 100644
--- a/native/selectors/account-selectors.js
+++ b/native/selectors/account-selectors.js
@@ -25,6 +25,24 @@ const nativeLogInExtraInfoSelector: (
calendarActive: boolean,
) => {
const loginExtraFuncWithIdentityKey = async () => {
+ const nada = await commCoreModule.getCommServicesAuthMetadata();
+ console.log('nothing here yet: ', JSON.stringify(nada));
+ await commCoreModule.setCommServicesAuthMetadata('123', 'abc', 'cowboy');
+ const metadata = await commCoreModule.getCommServicesAuthMetadata();
+ console.log('got auth metadata: ', JSON.stringify(metadata));
+ await commCoreModule.clearCommServicesAccessToken();
+ const updatedMetadata =
+ await commCoreModule.getCommServicesAuthMetadata();
+ console.log(
+ 'got metadata, no token present: ',
+ JSON.stringify(updatedMetadata),
+ );
+ await commCoreModule.setCommServicesAccessToken('bebop');
+ const finalMetadata = await commCoreModule.getCommServicesAuthMetadata();
+ console.log(
+ 'got metadata, new token present: ',
+ JSON.stringify(finalMetadata),
+ );
await commCoreModule.initializeCryptoAccount();
const { blobPayload, signature } =
await commCoreModule.getUserPublicKey();
```
on log out, confirmed that user id, device id, and access token were cleared