How to disable iOS part of FCM unity sdk? - firebase

Im using the android part of FCM unity SDK for my game, and a standard APNs integrate for iOS platform.
So I want disable the iOS part of FCM unity sdk completely, I removed all the plugins in iOS folder, disabled cocoapod settings, but still got this error
No GoogleService-Info.plist files found in your project.

Finally I just follow the SDK guide download a GoogleService-Info.plist file from firebase console, mute the build error.
I think this is the only way to disable the iOS part currently.

Related

Firebase, what`s the benefit of Flutter project in console instead of Android and IOS

Google recently released Flutter 3.
And at the same time, Flutter projects are now supported in the Firebase console as well. However, in the past, it was possible to register and use each Flutter project in Android IOS. What's better? I am thinking of changing

Cannot get Firebase working for Xamarin Forms iOS

I am using Visual Studio 2019 on Windows, developing an App using Xamarin Forms, for Android and iOS. Everything is the latest version.
I am trying to use Firebase to add Push Notification functionality. I have been able to get this functioning for the Android App, but whatever I do seems to fail / not work for iOS.
I have tried using both Xamarin.Firebase.iOS.CloudMessaging and Plugin.FirebasePushNotification with the same result. Starting from a basic app created in Visual Studio, as soon as I add the basic code for the iOS project, the app stops working and just times out after 17 seconds with running any of the project code (no breakpoints are hit).
I also tried downloading this demo app https://github.com/jfversluis/XFFCMPushNotificationsSample. I created my versions of google-services.json (Android) and GoogleService-Info.plist (iOS). The Android app runs but the iOS app does not (times out after 17 seconds).
Having tried so many different samples, examples, options, etc - I am at a complete loss as to what the issue might be. The situation is not helped by me being new to App development & Xamarin Forms!
I appreciate that I haven't added any "I tried this" code, but I'm hoping someone can help me with debugging this. Visual Studio doesn't appear to show anything, can I get more helpful info from the iPhone?
Edit:
For iOS,
I have created a Key and enabled Apple Push Notifications.
I have uploaded the key to the iOS project in Firebase (Cloud Messaging).
I have downloaded the GoogleService-Info.plist file and added it to the iOS project in Visual Studio, and set it to BundleResource
I have enabled Push Notifications in Entitlements.plist
I have enabled Background Modes & Remote Notifications in Info.plist
I am using Automatic Provisioning
I have checked that Bundle Identifier is correct
I have added FirebaseAppDelegateProxyEnabled to info.plist
EDIT 2:
I have manged to get an error message, which happens during the call to
FirebasePushNotificationManager.Initialize(options, true);
{System.NullReferenceException: Object reference not set to an instance of an object.
at Plugin.FirebasePushNotification.FirebasePushNotificationManager.Initialize (Foundation.NSDictionary options, System.Boolean autoRegistration) [0x00029] in /Users/runner/runners/2.169.1/work/1/s/Plugin.FirebasePushNotification/FirebasePushNotificationManager.ios.cs:141
at MyApp.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x00014] in \MyKRing.iOS\AppDelegate.cs:34 }

React Native Firebase. Platform specific installation. Where to get bundle ID?

I am on the step of platform specific installation, iOS.
It is said in instructions:
A GoogleService-Info.plist file contains all of the information
required by the Firebase iOS SDK to connect to your Firebase project.
To automatically generate the plist file, follow the instructions on
the Firebase console to "Add Firebase to your app".
I enter the console and press "Add Firebase to my iOS app".
There I should enter some required iOS Bundle (packet) ID. It is said that I can see it in my xcode project. But I do not use xcode, I use react native. Where I can find this ID?
Open up your project under
projectroot/ios
Click your project from the folder menu, select your target and go the 'General' Tab.
Under there you will find the 'Bundler Identifier'.
I've figured out by myself what to do.
I've used react-native init projectname to create react native project.
In this case android project and ios project are created in root directory in android and ios folders respectively.
You need to open ios folder in Xcode and in General tab you can see the ID (as Brockify told; the only thing he didn't tell me - how to create ios project).

Implement Firebase into Xamarin.Forms

How can I use Firebase into Xamarin.Forms
Seems that the only "official" way is through Xamarin.GooglePlayServicesComponent, but what if i want to deploy my app for iOS or UWP?
For ios you have GoogleApisForiOSComponents. Also, you can find the components in nuget

Xamarin Forms(PCL) how to get iOS project only and not the android one?

I have Xamarin Forms(PCL) project GitHub Sample. I have license for iOS and not for android. I want only iOS project to run. I did unload the android one but the problem is when I build the solution it asks for android license. how can I configure my PCL so that it will work for iOS and will not ask Android license?
Can't you just right click the Android project and select unload? That should exclude it from the build.

Resources