How to Generate a WildCard App ID for Apple build

  1. Login to https://developer.apple.com/account
  2. Click on Certificate, ID & Profiles on left sidebar
  3. Go to App IDs from left sidebar
  4. Click on + icon on top right
  5. Enter “<Your Team Name> WildCard” under APP ID Description, ex. AndroApp WildCard, this is important for us to identify your profile
  6. Scroll down and select Wildcard App ID
  7. Enter you package name which you must have received for android app in the mails from us, with below modifications
    1.  replace androapp in package name by app
    2. replace last suffix (i.e. c3434 in the example) by *
    3. ex. if your Android package name is mobi.androapp.mysite.c3434, enter mobi.app.mysite.* here)
  8. Do not enable any services and click on Continue
  9. Create a provisioning profile for this wildcard app id https://androapp.mobi/blog/create-provisioning-profile/289

Note:- this has to be done only once per apple developer account, so even if you are going to publish multiple apps from your account, you don’t need to create multiple wildcard app id, after all that’s why it is called wildcard 🙂

Related Post

How to find Apple Developer Account Team ID

  1. Login to https://developer.apple.com/account
  2. Click on Membership from left sidebar
  3. You can see the Team ID on right side

Related Post

How to create Distribution Certificate for IOS App

  1. Login to https://developer.apple.com/account
  2. Select Certificate, IDs & Profiles from left sidebar
  3. Select All under Certificates from left sidebar
  4. Click on + icon on top right
  5. Select App Store and Ad Hoc under Production and click ContinueScreen Shot 2017-06-26 at 1.59.58 PM
  6. If you have macbook follow the instructions on next page to create a CSR file

    Create a CSR file.

    In the Applications folder on your Mac, open the Utilities folder and launch Keychain Access.

    Within the Keychain Access drop down menu, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.

    • In the Certificate Information window, enter the following information:
      • In the User Email Address field, enter your email address.
      • In the Common Name field, create a name for your private key (e.g., John Doe Dev Key).
      • The CA Email Address field should be left empty.
      • In the “Request is” group, select the “Saved to disk” option.
    • Click Continue within Keychain Access to complete the CSR generating process.
  7. In the next screen, upload the .certSigningRequest file you created OR if you don’t have the mac, you can use this file.
  8. Click on download  button in the next screen, you will get a file ios_distribution.cer, keep this file safe and handy, you will not be able to download it again.Screen Shot 2017-06-26 at 2.10.54 PM
  9. We would need your Public and private key both to be able to create the build on behalf of you, please follow this link to export your certificate.

Related Post

How to create a Provisioning Profile for IOS App

  1. Login to https://developer.apple.com/account
  2. Select Certificate, IDs & Profiles from left sidebar
  3. Select Distribution under Provisioning Profiles from the left sidebar
  4. Click on + icon from top right
  5. Select App Store under distribution and click on continue
  6. Select the App ID for which you want to create this profileNote:- Please select the correct app id from the dropdown, select wildcard app while creating provisioning profile for wildcard app and select specific app otherwise.
  7. Select a Distribution certificate
  8. Enter a Profile name for your reference
  9. click on Download, keep the downloaded file safe

Related Post

How to Create IOS App Id

  1. Login to https://developer.apple.com/account
  2. Click on Certificate, ID & Profiles on left sidebar
  3. Go to App IDs from left sidebar
  4. Click on + icon on top right
  5. Enter the App Name for your referenceScreen Shot 2017-06-16 at 8.53.56 PM
  6. Select Explicit App ID and enter you package name which you must have received for android app in the mails from us. ex. mobi.androapp.mysite.c3434 (replace androapp in package name by app, ex. if your Android package name is mobi.androapp.mysite.c3434, enter mobi.app.mysite.c3434 here)
  7. Select push notifications from App ServicesScreen Shot 2017-06-16 at 8.55.47 PM
  8. Click Continue
  9. Click Register on the next screen
  10. And Done in the next one

Related Post

How to create firebase app for IOS

If you have not created a project for android app on firebase, follow this link to create one and than come back here.

Now

  1. Go to https://console.firebase.google.com
  2. click on the existing project where you want to add the IOS appScreen Shot 2017-05-04 at 8.07.30 PM
  3. click on Add another App link
  4. select IOSScreen Shot 2017-05-04 at 8.08.47 PM
  5. Enter you package name in ios bundle ID field which you must have received for android app in the mails from us, with below modifications
    1. replace androapp in package name by app
    2. ex. if your Android package name is mobi.androapp.mysite.c3434, enter mobi.app.mysite.c3434 here
  6. Give a name for your reference eg. XYZ IOS App in App nickname, leave app store id field blank and click on register app
  7. Click on Download GoogleService-Info.plist file and click on continue buttonScreen Shot 2017-05-04 at 8.11.57 PM
  8. Again click on Continue in the next screen
  9. And click on Finish in next screen (both 7 and 8 are done by us for you :))
  10. Open GoogleService-Info.plist file and copy GOOGLE_APP_ID field value, it will look something like this 1:934357332944:ios:8cdf192452ea68f9
  11. paste this in the Google App Id for IOS in AndroApp->Account Settings tab.

Related Post

Migrate Existing Push Notification from GCM to Firebase

If your push notification is setup with Google Cloud messaging and its working, than for the new androapp apk (version 6.0.4 onwards) you have to migrate your existing GCM app to firebase, so that your existing customers remains intact.

Follow these steps to migrate

  1.  go to https://console.firebase.google.com/
  2. Click on or import a Google Projectscreen-shot-2016-10-02-at-9-29-35-am
  3. Select the relevant project from the list
  4. And click on Add Firebase
  5. Now continue from step 4 from this article

Related Post

How to Setup Firebase Cloud Messaging

Follow below steps for setting up a fresh firebase project for push notifications.

  1. Go to https://console.firebase.google.com
  2. Click on Add Project
  3. Enter the Project Name and click on Continue
  4. Disable Google analytics and click on Create Project
  5. Wait for a bit till it creates your project and click on Continue
  6. Click on Android icon to add firebase to your Android App
  7. Give the package name, you can get this value in your first email from androapp
  8. Give your app a nickname if you wish
  9. Leave the signing certificate SHA-1 field empty and click on Register App
  10. Click on Download google-services.json file
  11. open that file, it will look like thisscreen-shot-2016-10-02-at-1-59-04-pm
  12. Copy the whole file and paste it in the text box in Account Settings tab
  13. Note: please update the plugin if you don’t see the textbox.
  14. Come back to firebase page and Click on Next and Finish in next screens.
  15. No need to press sync now and click on Next
  16. Click on Continue to Console button
  17. You should be able to see your app with the nickname you entered on the top
  18. Click on that and click on settings icon
  19. Go to Service Accounts tab and click on Generate new private key button
  20. Download this file to your server and update the file path in textbox in Firebase Api Settings section on AndroApp->Account Settings tab on your wordpress admin dashboard.
  21. you might need to enable Firebase Cloud Messaging api from  https://console.developers.google.com/apis/api/fcm.googleapis.com/overview?project={project_number}
  22. replace {project_number} from Google Api you extracted earlier, i.e. 370901340170 from 1:370901340170:android:ce70542cdae49cac
  23. Create a new APK and test the push notifications, go here for troubleshooting push notification.

Here are the old instructions to follow for v0 api (just in case you need) to be followed after step 17).

  1. Go to cloud messaging tab and copy the Server key to Google Api Key textbox in AndroApp Account Settings tab.(this is different from what you see in google-services.json, you have to enter the server key from this screen to google api key textbox in AndroApp Settings page and not from google-services.json file)
  2. You are done !!
  3. Create a new APK and test the push notifications, go here for troubleshooting push notification.

 

Related Post