Added fingerprinting + store in firebase for user auth. BOD-132
This commit is contained in:
@@ -21,7 +21,7 @@ class FcmNotificationComponent extends Component {
|
||||
.requestPermission()
|
||||
.then(async function () {
|
||||
const token = await messaging.getToken();
|
||||
|
||||
console.log("Instance Token", token);
|
||||
client.mutate({
|
||||
mutation: UPDATE_FCM_TOKEN,
|
||||
variables: { authEmail: currentUser.email, token: { [token]: true } },
|
||||
|
||||
Reference in New Issue
Block a user