problem with obtaining the token in production

I have a problem when I want to request the notification permission in production. The application works correctly in development mode but when using it in apk I get the following error: com.anvel_gg.StickerSmash. I’d appreciate your help