I am trying to implement APNS for my App and am hitting a wall while trying to generate a provisioning profile. I followed the instructions to create an APP id and was able to generate an SSL certificate for my App (the type is shown to be APNs development IOS). However, when I try to generate a provisioning profile, following the screen where I choose the AppID of my app, I do not see the SSL certificate I generate for this app. In the certificates list, I only see a certificate of type 'IOS development' that was created previously. I have been stuck on this issue for a while. Can someone please help?
Thanks
I resolved my own query. we need to add iOS development certificate while creating profile for APNS. You should have the p12 of that iOS development certificate.
Related
I don’t have access to apple developer account.
but I have the p12 distribution and mobile provisional certificates from the client.
When I try to create ios app with expo cli without login:
It ask me the password for the certificate. There’s no password set
on the certificate how can I give a blank input?
Then it ask for apple team ID (from where can I get it?)
I also want to know what else are required to build app without login.
There’s no documentation or resources available on the expo site for it.
As far as i know , getting build versions for ios apps without apple developer account is not possible.
although , this article might be helpfulcheck this
My development and build environment for this Android app is Expo (React Native), and App signing is managed by Google Play.
I have already built and uploaded app bundles, this time I'm receiving error: Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again:SHA1: <SHA KEY>
I read couple of answers, but they are either a bit confusing, or not explained keeping in mind Expo.
I have verified that the slug name, and the app name is unchanged.
I have the .keystore file with me (it if makes sense).
I downloaded the Upload certificate from expo servers, and shared the same with Google Support, and requested them to update with this new certificate which I downloaded.
I have developed an iOS app for my corporation. We distribute it via AirWatch. Some of the certs are going to expire soon and it is SO confusing to try to figure out what to do. I have googled and it seems every page has different information. I would really love it if someone could point me in the correct direction.
I have an "iOS Development" cert with my name on it. It appears that I cannot renew it, only revoke or download. Some pages said if I download it again it gets updated, some say I need to create a new cert. Which one is it, and do I do this in Xcode or on the portal?
I have an "APNs Production iOS" cert with my company's id on it(the reverse dns thing, like "com.apple.mobile". It is also due soon. How do I renew, and where do I renew it, in Xcode or the portal.
We do not use Apple Push Notifications in the app, but I am under the impression that you still need this as it is the way Apple securely identifies your app. Is this true?
I have a "iOS Provisioning Profile" that will also expire. Same questions. Can I just edit it to renew it? Do I do this in Xcode or Portal.
Thank in advance.
Yes, you will need to renew your profiles (all that you are using for development or distribution. Then, you will need to re-build any apps that were built with the old profiles. Otherwise, no one will be able to install the app that was build with the expired profile. Basically, any apps built and distributed with an enterprise distribution profile will need to be re-built at least once a year.
Edit: more details on how to generate a new certificate.
Just go the the ios developer portal, and go to the area on the right for Certificates, Identifiers, and Profiles on the right. Go to the Certificates area, and click the + icon to generate a new certificate. Follow the instructions there for generating the new cert. Once you have your new cert, go to the profiles section, and you will need to re-generate your profiles with the new cert. For each profile, click the edit button, change the certificate dropdown to your new certificate, and then click the Generate button. Download the new profile, and use it to re-build your apps.
debuggers,
I have created an app that embeds push notifications.
For one or other reason the user does not get asked for permission on the first load.
In the past I have used push notification and everything seemed to work, the code for is pretty much "copy-pasted".
I requested a certificate from a certificate authority (keychain)
I enabled push notification and downloaded a new certificate
Uploaded the certificate to apple and received a validated development and distribution certificate.
I downloaded a new development + production provisioning profile.
I signed the app with the provisioning profile.
When I open the provisioning profile in textedit I do see the following key:
aps-environment
I used this profile to sign the app and install it on to the device!
I have tried several methods like setting the time on my phone to days ahead, rebooting, re-installing.
I use urban airship as a push service!
Does anyone have any idea what is going wrong?
Do you have [UAPush setDefaultPushEnabledValue:NO] set by any chance?
By setting this value to NO UrbanAirship delay prompting users to enable push notifications until you are ready to ask. This gives you a chance to explain what they are used for instead of it popping up right when the app starts.
Then later you can enable them by calling
UIRemoteNotificationType notificationTypes = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];
We succesfully set up and tested the sandbox Push notification certificate, now we are going to test the production certificate. We generated it in the same way as the development, and changed the apple adrress to the proper push notification service. But we don't get the push somehow although we even builded the app for distribution. I've heard also that the device tokens should be different to test production, what does it mean? Do I have to test on other devices?? Thanks
The device token will be different for the distribution certificate so the app have to send new token to the server (the one you receive in didRegisterForRemoteNotificationsWithDeviceToken).
Also make sure your distribution mobileprovisioning profile does have "aps-environment" string in it set to "production". If not - recreate the mobileprovisioning profile for the app.