Answer the question
In order to leave comments, you need to log in
Why do push notifications only come if the Mac wire is connected?
I integrated and set up Firebase with iOS, notifications fall, but only if I work through a cord from a poppy, if I install from App Stora, then notifications do not come. Although it seems to have configured the Certificate Name:
App name / Certificate Type: Distribution certificate and the Type: App Store profile. I don't understand what else could be the problem.
Answer the question
In order to leave comments, you need to log in
The answer turned out to be simple. When the application was created, requests for permission to send notifications were performed by the register() capacitor function, now you still need to add the requestPermission() function + you need to add Capabilities Background modes with push notifications (before everything worked without them)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question