I am trying to add FCM functionality to an iOS app in firebase. I am following the firebase guide for this, and in this step it explicitly states "In APNs authentication key under iOS app configuration, click the Upload button."
My problem is that there is literally NOTHING under my 'iOS app configuration'. So where and how exactly do I upload my APN key?
Inside your project in the Firebase console, select the gear icon, select Project Settings, and then go first to the General tab. Be sure that there is an iOS app first.
Related
Currently I am Configuring FCM for my Flutter application, everything is working fine on android side, however in order to configure FCM in iOS I need an Apple developer account membership which I currently don't have access to.
when building the iOS app it gives the following Error
No profiles for 'app Bundle Id' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'app Bundle Id'.
Is it possible to build the flutter application on iOS to continue to make other features without configuring the FCM ?
In order to be able to use things like Push Notifications, in app etc on iOS you need to have a paid Developer account. So you will not be able to use FCM with the "free / testing" signing.
Without a paid Developer account, xcode can't generate the proper provisioning profile to make your app work.
I was planning to rewrite an existing IOS app using react native. The existing IOS app is already published in the APP store.
I would like to know if it is possible to completely create a new build and release the new react native app to the app store ? My guess was to just change the bundle identifier of react native app to the one on the existing App to get released. But not sure if it is the right way.
Also if we publish, can we test it before it is released to users or will it immediately reflect ?
The alternate idea would be to create a new app and redirect them to the new app. This is even possible ?
Yes, you can create a new build and publish on AppStore with the same identifier
Before publish you can test your build on a simulator or real device. If you have a bigger group that wants to test you can use AppCenter with Ad-hoc certificates
If it is the same app but only the technology changed it would be better to just replace that app instead of redirect
Yes, it's possible, you should use the same Bundle Identifier and Signing Certificate.
Yes, you can test it by yourself or upload it to TestFlight and send to beta testers.
You can implement redirect button in the "old" app that will open "new app", but it's not user-friendly). More details on how to implement this - Launch an app from within another (iPhone)
I'm pretty new in app development, that's why I'm using Cloud Builds with Nativescript Sidekick.
I have well installed/setup Firebase, everything works for Android, but for iOS, I don't get messages. Nativescript's Firebase plugin from Eddy Verbruggen says that you must must enable push notifications from xcode to receive messages.
NB : In firebase, in my ios App (of firebase), my device is well detected, but I'm not receiving anything.
I don't know how to have an .xcodeproj from a cloud build. Do you know how to fix this ?
Kind regards.
Since you are using cloud builds, you may enable the Cloud Messaging from Developer Portal. You must have a paid Apple Developer Account to do so, login to https://developer.apple.com/ and then navigate to Identifiers section, edit your app identifier to include Push Notifications Capabilities.
Then navigate to Keys section, create a auth key and add the generated key to your Firebase iOS app. Detailed instructions can be found at Firebase Docs
I hope you already configured the entitlement file as described in the plugin docs.
I just attempted to create an new App Id for my paid Apple Developer account, on developer.apple.com. The Bundle Id I tried to use was already taken by my previous free Apple Developer account, so I had to use a different Bundle Id, which I did.
In my Xcode project I updated to my new Bundle Id everywhere I could find, Project settings, Info.plist and the GoogleService-Info.plist for Google SDK Authentication and Authorization. My app uses Firebase, my app still works entirely correct, I able to Login with existing account stored in Firebase Database and create new accounts that are correctly created in Firebase.
I then logged into Firebase, which I have been using with my app for a while, I created this Firebase project when I was using my free Apple Developer account. this Firebase project has my iOS app listed with the old Bundle Id:
There is no way to edit this on Firebase Bundle Id, I have to create a new Firebase App within the Firebase Project as I have read here.
To recap, I have I changed the Bundle Id in my App source code everywhere I could find to change it. I used Xcode to Clean & Build, I deleted the App from my test device and reinstalled and everything still works against the Firebase backend.
My question is:
Does Firebase actually use the iOS Bundle Id for anything other than a name for an App in a Firebase Project?
I am developing an iOS app which uses Push Notifications. I recently uploaded the first version to the App Store and I have turned on the Push Notifications in the Application Services in the app's App ID in Apple Developer Console. It says "Configurable" now. After that I got an email from Apple with a warning:
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. (...)
Then I found out that in XCode, on the Capabilities tab I need to enable Push Notifications. I did it, then created a new version and uploaded it, then I didn't get such a warning. Looks promising so far.
My problem is that I don't quite know where are the certificates for the APNs. I am using Firebase Cloud Messaging which requires to upload a development and a production certificate.
The internet is full of ways to create these certificates manually. Although Apple says always that XCode can do it automagically, which I'd prefer too. I just don't know where those are and whether created or not yet.
In Apple Developer console, I have two certificates created when I uploaded the first version of the app: a development and a distribution certificate. If I click on the APNs Auth Key, there's nothing displayed (not sure if it's a problem)
What do I need to do to automatically generate (or just find if done already) the certificates by XCode?
Any help is really appreciated.
For Push Service you have to create certificates manually and upload them to Firebase Console.