Push Notifications not registering on App Store application - iphone - iphone

We recently launched an update to an iPhone application. While our push notifications were working perfectly in ad-hoc, we've moved to live and they are no longer registering.
Looking at a live device log, we're seeing this:
"Jun 11 09:40:05 unknown SpringBoard[5791] : No valid 'aps-environment' entitlement string found for application 'App Name': (null). Notifications will not be delivered."
Now if you check on the internet or other stack-overflow conversations, there is a very common answer to this that the provisioning profile did not have "aps-environment" set as "production" correctly and the profile needs regenerating. However, this does not appear to be our issue as the binary clearly indicates it is in production aps environment. See details from the App Store Binary Details below:
So we are a bit lost for what the problem could be. Given this information, as well as numerous checks I have done on my side, the profile and code signing appear to be correct and I can't find any other solutions to this online at the moment.
Thanks in advance for your help.

So this problem worked itself out in the span of 3 hours; it must have been a server propagations issue.
To anyone who might pull their hair out in the future on this one: If your app JUST went live and the notifications aren't registering and you are certain that the aps-environment is set correctly, wait a few hours prior to concluding that the app has an issue.
Our app was launched in the Canadian iTunes Store only and the push notification registration issue resolved itself within a 3 hour period.
If anyone in the future can explain why this happens or add more detail to this, I'll gladly accept their answer.

Related

App store rejected my app due to "Cannot contact reCAPTCHA. Check your connection and try again"

App is built in flutter using Firebase authentication. When Apple review team tries to sign in by using provided testing phone number and they always stuck at reCaptcha based authentication screen. They are seeing attached screen forever.
App store rejected by giving reason:
Hello,
The issues we previously identified still need your attention.
If you have any questions, we are here to help. Reply to this message
in App Store Connect and let us know.
Guideline 2.1 - Performance - App Completeness
We discovered one or more bugs in your app.
Specifically, your app still displayed error message when we tried to
login.
Please review the details below and complete the next steps.
Review device details:
Device type: iPhone
OS version: iOS 15.5
Next Steps
Please run your app on a device to reproduce the issues, then revise
and submit your app for review. If at first you're unable to reproduce
the issue, try the following:
For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce.
For app updates, install the new version as an update to the previous version, then follow the steps to reproduce.
If we misunderstood the intended behavior of your app, please reply to
this message in App Store Connect to provide information on how these
features were intended to work.
Resources
For information about testing apps and preparing them for review, see Technical Note TN2431: App Testing Guide.
To learn about troubleshooting networking issues, see About Networking.
Please see attached screenshot for details.
Issue faced by Apple Review Team
I have tried following things:
https://firebase.google.com/docs/auth/ios/phone-auth#set-up-recaptcha-verification - As per this link i have done same configuration in Xcode, Put my REVERSED_CLIENT_ID in the URL schemes,
iOS URL Scheme in xCode
Also I have done APNs authentication key at firebase side,
Firebase APNS Configuration
However, I am unable to reproduce this issue at my end. But though, I tried all the possible solution based on answers on the SO. Still issue doesn't resolved for them.
Please let me know if am I missing some configuration?
Have you tried this?
Go to your firebase Project settings => App Check => Apps
Register your apps for app attention.

Push notifications not receiving on device

I am using APNS service in my universal app (iPhone/iPad) and i am not geting notifications on device. Previously i was getting notifications perfectly but now a days with the same code at server side and client, it is not working.
On server side notification status is delivered but i am not receiving it on my device.
I have checked most of the questions on stackoverflow but i was unable to find my question. one guy said that in development environment it may have delays, but my problem is that i am not receiving notifications at all.
Note: i am using sandbox environment not production.
Just in case you haven't found a solution yet, one additional thing you could check is if your device's date and time is properly set (in the OS). If your iPod, iPhone or iPad isn't set to the current date, we found that notifications are ignored silently. Of course, there are many other possible explanations as to why your service stopped working, but this is a simple thing to check when everything else appears to be fine.
Following are the things you can check
Check the entitlements while codesigning the app. (They can be seen in Xcode build log).
Check whether notifications are on for the device in the settings menu.
If you are using corporate network on the iOS device, the push notifications might be blocked. Try using a different network.
After launching the app, check the organizer for any logs with the reason why push notifications can not be enabled.
I hope some of this helps you out.
I just revoke my certificates
Uploaded new certificates deleted all provision from my organizer
and then created new provisions and installed them on my system.
At the same time I got my APNS working.

Can't make distribution provisioning profile

Does anyone know what causes this? I get this each time I try to make a Distribution provisioning profile, and on both my Apple Developer Accounts. Can anybody tell me what I do wrong or is this a error caused by Apple.
We are unable to process your request.
Please go back to the previous page,
or quit your browser and try your
request again. If you require
assistance, please contact Apple
Developer Support.
Same issue here. I've called Apple Developer Support in Canada and their rep is now researching the issue and should update me within the hour. I'll post what he says here.
UPDATE
Turns out, Apple is experiencing unusually high server loads due to yesterday's keynote rekindling interest in iOS development. Try again outside peak traffic hours.

In app purchases with MKStoreKit failing: "Problem in iTunes connect configuration for product: xxx"

I'm trying to implement in app purchases in my App using MKStoreKit. I've followed all the steps and I'm getting the error:
Problem in iTunes connect configuration for product:
I've recreated the provisioning profiles, checked the product id is the same as in itunes connect, sent and rejected a binary, trying to delete everything and set it up again and nothing is working.
Any idea?
I know this is a late reply, but somehow I could not find the answer to this problem elsewhere so I decided to post my experience in hopes it might help other frustrated people with this issue.
I have recently added an In-App purchase to my Free app and I faced the same problem during the testing phase and also once it was launched on App Store.
The answer is Patience. For some odd reason, after doing everything correctly, you need to wait for around a day before your product is recognized. So once you finish your Manage In-App product ID, you will only see it working the following day - so don't delete and recreate it again - just wait.
Furthermore, after submitting your app for approval with the first In-App product, even when your app is approved and available in the App Store, the In-App might not work at first and you will feel you did something wrong. Wait another day or so, and magically, it will start to work.
It didn't work in my case cause the phone was jailbroken. After restoring it worked like a charm.
my ipad was jailbroken. it was given this "Problem in iTunes connect configuration for product: xxx" i changed my ipad with regular(no jailbrek) ipad and it's working now.

How to transfer application into device when testing inapp purchases

I found this information on a blog which talks about invalid product ids.
http://troybrant.net/blog/2010/01/invalid-product-ids/
I tried everything suggested in the
Apple forums and here, and still
couldn’t get it to work. Found the
solution – your app needs to be
transferred by Xcode for the sandbox
to be enabled.
Obvious, right? Well, if you are
working with an update to an existing
account, the device will still treat
it as an App Store-installed app.
Delete it, then transfer it again. It should work now :)
i am also getting invalid product ids.i am not able to get clear in the above said point...
i am not able to understand what i need to do when transferring the application into device...
Kindly guide me out and thanks for your help
That point just means that you need to run the app from Xcode in order for the sandbox to be available. (Build and Run)
Invalid product ids are a major pain to debug. If you're sure you've gotten everything on that checklist, then you just need to wait. Then only other problem that I've seen is that you might need to remove the app from the device and redeploy in order to get good products back from the store.
I had trouble getting the app store to recognize my sandbox test account. I had to log out wit iTunes, sync, then log in again with iTunes. Just using the device itself to log in/out didn't help.