multiprojects | Simple workspace for a modular architecture using Cocoapods
kandi X-RAY | multiprojects Summary
kandi X-RAY | multiprojects Summary
This is a simple workspace that shows a modular architecture approach using Cocoapods to manage external dependencies.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of multiprojects
multiprojects Key Features
multiprojects Examples and Code Snippets
Community Discussions
Trending Discussions on multiprojects
QUESTION
I use Firebase in my iOS app for analytics, cloud messaging... and everything is working properly. Now I need to link the app to a different Firebase project to do Firebase authentication. This project is the Firebase project created on Google Cloud when setting up Google Cloud Identity platform. I followed the Firebase guide that explains how to configure multiple projects.
In AppDelegate
I've the following code to configure the 2 projects:
ANSWER
Answered 2020-Sep-14 at 08:29provider = OAuthProvider(providerID: "providerID", auth: auth)
fixes the issue. The OAuthProvider
also need to be configured with the second project.
QUESTION
I"m trying to follow the instruction in the link in order to use multiple projects application /accessing multiple database instances in my app because my application need to get data from a few FB instances (the user need to enter the FB details in run-time and not in advance via google-services.json
...ANSWER
Answered 2020-Jul-19 at 20:55Once you have a FirebaseApp
object, you can get a FirebaseAuth
object for that with:
QUESTION
As far as I know firebase.firestore.DocumentReference
can point to a document within the current project. Is it possible to point a document from another project?
It is reasonable to have such ability because Firebase already has written a document to share how to use multiple projects within an app.
...ANSWER
Answered 2020-Jan-30 at 10:09Is it possible to point a document from another project?
Yes it is possible. The following code shows how to use a value from the Firestore DB of one primary project in order to query the Firestore DB of a secondary project.
QUESTION
I have followed this documentation and use multiple Firebase projects which are dynamically switched on login. As a result, I had to remove the google-services
plugin and the google-services.json
and set the configuration programmatically with FirebaseApp.initializeApp
. Everything works great so far, but when the app is killed completely and receives a notification, there is an error and the notification is not received:
ANSWER
Answered 2019-Dec-16 at 18:08Using data messages
instead of notification messages
fixed the issue. I can now dynamically switch Firebase projects and receive notifications, even when the app was killed / closed.
More information: https://firebase.google.com/docs/cloud-messaging/concept-options#notifications_and_data_messages
QUESTION
Recently I came across this article from firebase, which details how to access multiple projects from a single application. This is great, and potentially very useful, however I have been unable to find a way to separate out using Analytics and Crash reporting into separate projects.
The reason we would like to do this is so that our clients have full access to their analytics, whilst keeping the crash logs in a different project that only we can access.
I did see that on the article it states:
Note: On Android and iOS, Analytics are only logged for the default app.
which would be fine, provided we can change where the crashes are logged, but I haven't seen any mention of Crashlytics in this.
I guess the question comes down to is it possible to do this, or is it something that is not (yet) supported?
...ANSWER
Answered 2018-Dec-18 at 16:14Mike @ Google here.
Firebase now supports more granular permissions, so you should be able to grant only Google Analytics access to a client without exposing the rest of Firebase data/functionality to them. To do so, you can use the "Assign Firebase Roles" feature when you are adding them to the project - likely you would select the Analytics View role for your client users. Please see IAM overview for more details.
Supporting more than one client with a common Crashlytics project is not feasible. The article you referenced on multi-project setup works at a high level for other Firebase features, but Crashlytics benefits from Analytics data to provide user-level metrics for impacted users. As you note, Analytics data will only be logged for the first app configuration, so Crashlytics would not deliver the best reporting without Analytics info.
In this scenario, I'd recommend you split each client's app into individual projects, and grant each client user only Analytics View access to their corresponding app's project via the IAM overview method described above.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install multiprojects
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page