Remove push notifications api? - ios

Is it possible to check application for using push notifications api? I removed push notifications from the app, but my app rejected with the following warning:
Missing Push Notification Entitlement - Your app appears to include
API used to register with the Apple Push Notification service, but the
app signature's entitlements do not include the "aps-environment"
entitlement. If your app uses the Apple Push Notification service,
make sure your App ID is enabled for Push Notification in the
Provisioning Portal, and resubmit after signing your app with a
Distribution provisioning profile that includes the "aps-environment"
entitlement. See "Provisioning and Development" in the Local and Push
Notification Programming Guide for more information. If your app does
not use the Apple Push Notification service, no action is required.
You may remove the API from future submissions to stop this warning.
If you use a third-party framework, you may need to contact the
developer for information on removing the API.
So As I understand I should:
If your app does
not use the Apple Push Notification service, no action is required.
You may remove the API from future submissions to stop this warning.
Is is possible to check for the api?

I had a similar issue but with a Cordova App on iOS, ignoring the warning could cause a future app reject with no advice so I suggest to solve it. This post helped me.
I hope this helps you too.

Related

Missing Push Notification Entitlement Troubles in Ionic App using OneSignal

i'm using the OneSignal API for Push Notifications in an Cordova App. My android is receiving notifications, but the iPhone isn't and i'm receiving this e-mail:
Dear developer,
We have discovered one or more issues with your recent delivery for
"----". Your delivery was successful, but you may wish to
correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app includes an API for
Apple's Push Notification service, but the aps-environment entitlement
is missing from the app's signature. To resolve this, make sure your
App ID is enabled for push notification in the Provisioning Portal.
Then, sign your app with a distribution provisioning profile that
includes the aps-environment entitlement. This will create the correct
signature, and you can resubmit your app. See "Provisioning and
Development" in the Local and Push Notification Programming Guide for
more information. If your app does not use the Apple Push Notification
service, no action is required. You may remove the API from future
submissions to stop this warning. If you use a third-party framework,
you may need to contact the developer for information on removing the
API.
After you’ve corrected the issues, you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
My App ID is enabled for push notifications and i really don't understand why it isn't working.
You need to enable "Push Notifications" in your project settings. Check attached the screenshot.

Titanium Appstore submission: "Missing Push Notification Entitlement"

I uploaded my app to the AppStore and I received an email stating that I am "Missing Push Notification Entitlement". I am not using push notifications, but I am using local background notifications.
Your delivery was successful, but you may wish to correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team>
It's Just a warning in case you intended to use push notifications and have forgotten the entitlement, if you do not require push notifications then you can ignore the warning.
If you do want to use push notifications however, you will need to add the relevant sections and permissions to your tiApp.xml file
You may still need to register your intent for notifications as per
this guide
If you are getting such email there might be the reason i listed below:
It might be because App Id you have used for this App in that You have enabled Push Notification.
So what happen with that is if you enable Push notification in App id & it will be not used in the App, They will expect it to be used once you enable.
If such issue i mentioned than you should edit App Id & disable Push notification.
I hope it will guide you.

iOS: Missing Push Notification Entitlement

Apple keeps sending me the same error:
Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.
I've been trying to submit my app to the app store but it keeps getting rejected. I've looked at all the other SO questions/answers but I can't seem to get it to work even though I keep regenerating the provisioning profile. I am not even using push notifications at all.
Not using push:
Generating my profile called Coaster Profile
And using that profile when submitting to the app store:
I even tried adding the DISABLE_PUSH_NOTIFICATIONS variable:
But nothing is working. I never even used push notifications. Please help!! I'm using xcode + objective c

Can I use Scial.framework without Push Notifications?

In my app I use Social.framework to post on facebook. When I sent my app for review to Apple I got this reply.
We have discovered one or more issues with your recent delivery for
"****". Your delivery was successful, but you may wish to correct the
following issues in your next delivery:
Missing Push Notification Entitlement - Your app appears to include
API used to register with the Apple Push Notification service, but the
app signature's entitlements do not include the "aps-environment"
entitlement. If your app uses the Apple Push Notification service,
make sure your App ID is enabled for Push Notification in the
Provisioning Portal, and resubmit after signing your app with a
Distribution provisioning profile that includes the "aps-environment"
entitlement. See "Provisioning and Development" in the Local and Push
Notification Programming Guide for more information. If your app does
not use the Apple Push Notification service, no action is required.
You may remove the API from future submissions to stop this warning.
If you use a third-party framework, you may need to contact the
developer for information on removing the API.
After you’ve corrected the issues, you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.
Has anybody any idea of what I should do? I don't use push notifications, I just post to Facebook.
Social framework provides simple interface for accessing the user’s social media accounts. Like twitter , Facebook , Sina Weibo etc.
And to use the social framework you don't need Push notifications.
As you said you didn't use push notifications, then go to developer.apple.com and check that your APP ID must not enabled the Push Notifications and check your provisioning profiles.
And if you are using some kind of library or API which may be registered with Apple push notifications then make your you have make the proper settings for enabling the PUSH NOTIFICATIONS.

Missing Push Notification Entitlement Warning in email

After uploading the App to AppStore, I am getting the following warning in an email, where as there are no Push Notifications in my App but there are some third party SDKs like Chartboost, Applovin, Revmob, Crashlytics etc. Has someone else also encountered this problem? If so, have you reached to some solution?
Dear developer,
We have discovered one or more issues with your recent delivery for "Jigsaw App". Your delivery was successful, but you may wish to
correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app appears to include
API used to register with the Apple Push Notification service, but the
app signature's entitlements do not include the "aps-environment"
entitlement. If your app uses the Apple Push Notification service,
make sure your App ID is enabled for Push Notification in the
Provisioning Portal, and resubmit after signing your app with a
Distribution provisioning profile that includes the "aps-environment"
entitlement. See "Provisioning and Development" in the Local and Push
Notification Programming Guide for more information. If your app does
not use the Apple Push Notification service, no action is required.
You may remove the API from future submissions to stop this warning.
If you use a third-party framework, you may need to contact the
developer for information on removing the API.
After you’ve corrected the issues, you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
It means your provisioning profile does not support apns. create a provisioning profile with push notifications enabled and upload.
Check out for third party frameworks like
airpush
urbanship
etc...
These frameworks can register your app even though you don't register it in app delegate
Make sure push notification is disabled in these frameworks

Resources