pepegmz

Results comments of pepegmz

you are validating a blob object instead of a base64 string in imageCropped method, try with: `if (event.base64) {}`

I had this problem and I solved to do this: in your firebase-messaging-sw.js add these lines: ` importScripts('https://www.gstatic.com/firebasejs/7.6.0/firebase-app.js'); importScripts('https://www.gstatic.com/firebasejs/7.6.0/firebase-messaging.js'); ... //firebase config const messaging = firebase.messaging(); messaging.onTokenRefresh = messaging.onTokenRefresh.bind(messaging); //...