-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ios): podspecs now utilize CoreOnly instead of Core #3575
Conversation
…xcept Analytics which should continue to reference Core.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems sensible enough based on my reading, @Ehesp I think you were looking at this over in flutter-land? You may have insight
Yep this is one we need to sort on FlutterFire too - thanks for submitting the PR. Looks like everything is Green too which is handy. |
Infact, looking at the Podspec for Firebase, the pods already include |
I wondered if they needed to be included as well, but followed the convention in place.. |
They no longer need to be added it seems, so they can be safely removed - would you mind making the change to do that @dlockwo? |
I've made the changes, but wanted your thoughts on the following pods: AdMob, DynamicLinks, InAppMessaging and RemoteConfig. The Firebase documentation for DynamicLinks, InAppMessaging and RemoteConfig specify you should add that pod and Analytics. The Firebase podspecs for these libraries pull in the FirebaseAnalyticsInterop pod which I assume interfaces with Firebase/Analytics if it exists. E2E tests pass without Analytics included. The original RNFirebase AdMob podspec included Analytics. The documentation for AdMob does not reference Firebase/AdMob at all. It instead references the pod Google-Mobile-Ads-SDK. E2E tests pass without Analytics included. Do you want to include Analytics in these podspecs or instruct users to add the Analytics library separately? |
Thanks for making these changes;
If this is what the docs suggest then I think we should have the Analytics pod by default in each of these.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to go ahead and merge this - will sort the analytics pods separately (will conditionally add them in if RNFB analytics package is installed in users project). Messaging is another one: https://firebase.google.com/docs/cloud-messaging/ios/client
Thanks for taking the time to see this PR through 🎉
…xcept Analytics which should continue to reference Core.
Description
iOS does not allow applications in the Kids category to collect Firebase analytics. Firebase has refactored their libraries to utilize the CoreOnly module instead of Core to accommodate this. Currently RNFirebase pods rely on Firebase/Core. Pull request updates RNFirebase pod files to utilize CoreOnly instead of Core (except Analytics)
Related issues
Fixes #3570
Release Summary
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
Ran e2e tests without errors. Tested libraries I use locally in my application (app, auth, database).
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter