a little bit strange but i am using this code ```js const authStatus = await messaging.requestPermission({ ios: { alert: true, }, }); const enabled = authStatus === messaging.AuthorizationStatus.AUTHORIZED || authStatus === messaging.AuthorizationStatus.PROVISIONAL; ``` and get the error (on Android) `Cannot read property 'AUTHORIZED' of undefined` authStatus is 0 here. you can reproduce this in my repo here: https://github.com/eikaramba/firebase-test