This is a question about the push function using the iPhone firebase.

Asked 1 years ago, Updated 1 years ago, 40 views

Hi, how are you?

It's nothing but I worked on the push with the iPhone using firebase.

Strangely, it worked well on the development server.

The one that went up for the store doesn't come with a push.

So I thought it was the server's fault, so I looked at the server's side, and the firebase provided the push-related test function on the web, so I tried it.

It works when it's in development mode, but not for stores.

So I went into Apple and deleted the existing certificates, issued a new keychain on Mac, and registered it as a push

I made it with .p12.

** The bundle ID in the certificate does not match the bundle ID entered. **

It's not going in because it says that. What I don't understand is that I put a push certificate in the app and issued it, but I don't know why because it's the same app Has anyone ever solved this kind of question?

firebase

2022-09-22 20:57

1 Answers

Please check if you changed the type from instance ID to prod instead of sandbox.

FIRInstanceID.instanceID().setAPNSToken(deviceToken, type: .prod)

And I don't know why when I register the certificate on the Firebase console, It didn't work because two were registered as development certificates.

Please register your certificate from the console and check the expiration date of your certificate. Development APN certificate and production APN certificate should be uploaded differently so that it will work in the store.

In developer mode settings or when, certificates, and small error due to be an issue that is big. Try to see more of you a lot.


2022-09-22 20:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.