Replies: 2 comments 5 replies
-
Thank you for starting this discussion!
I'm not sure I understand your issue correctly.
That is correct. Installing the plugins is currently a manual process. This process could be partially automated with Trapeze, but creating such scripts is not a high priority so far, as Firebase is usually added to the project only once. But PRs are welcome!
This is how it is currently done. When running Edit: A few CocoaPods (e.g.
Do you have a link to the project so I can see how they solved this? |
Beta Was this translation helpful? Give feedback.
-
Also I didn't know about trapeze, it looks great and probably suits even better to fully automate and fill the gaps including configuration stuff. Still would be great to have all this bundled in one place eg as a config template if it helps keeping generated project off the repo. |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I'd like to share my experience with this plugin suite and propose an improvement that could benefit developers who aim to automate their build processes. Specifically, I think headless installation and configuration of the Firebase SDK alongside the Capacitor Firebase plugin could make the installation process clearer and more accessible.I did start with a question here and was correctly suggested to create a discussion topic.
While trying to use the plugin, I encountered an issue that many developers might face: it's unclear to me which project I have to add the Firebase SDK to. I understand that this isn't a fault of the plugin itself, but I still think it's worth discussing how to make this process more clear. DevOps principles emphasize the importance of automation, repeatability, and consistency. In my experience, this plugins require manual intervention during the installation process, which can make automation more challenging.
To illustrate the potential benefits of headless installation, while building my mobile app, I only used Xcode to log in to my dev account, and sometimes to inspect low-level build issues. I didn't want to spend more time than necessary in Xcode, and I'm sure other developers often feel the same way.
As it turns out, Firebase SDK offers a CocoaPods approach to integrate with Xcode iOS projects. From a developer experience standpoint, this leads to the expectation that a single installation command could do everything, including installing dependencies, and leaving just the necessary configuration to be put in place.
As I actually only tried to use this plugin, and I ended up using another which I managed to install headlessly with a few scripting tweaks. I'm sure other developers would appreciate the option to install Capacitor Firebase in a similar fashion. I believe that incorporating headless installation and configuration into the Capacitor Firebase plugin would be a great step towards making it more accessible and easier to use for developers who want to automate their build processes. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions