Skip to content

FirebaseInAppMessaging pod installs FirebaseAnalytics/AdIdSupport #12810

Open
@danielsefton

Description

@danielsefton

Description

In my podfile I have 'FirebaseAnalytics/WithoutAdIdSupport'

When I add 'FirebaseInAppMessaging' to my podfile then it installs 'FirebaseAnalytics/AdIdSupport'

Here are the dependencies listed in the lock file with 'FirebaseInAppMessaging':

- FirebaseInAppMessaging (0.13.0):
  - FirebaseAnalytics
  - FirebaseAnalyticsInterop
  - FirebaseCore
  - FirebaseInstanceID

I don't see a way to stop it from installing the full FirebaseAnalytics package.

However, when I use 'Firebase/InAppMessaging' (notice the extra /) then it seems to install the pod without the dependency to FirebaseAnalytics:

- FirebaseInAppMessaging (10.24.0-beta):
  - FirebaseABTesting (~> 10.0)
  - FirebaseCore (~> 10.0)
  - FirebaseInstallations (~> 10.0)
  - GoogleUtilities/Environment (~> 7.8)
  - nanopb (< 2.30911.0, >= 2.30908.0)

Looking at the FirebaseInAppMessaging podspec, the above set of dependencies seem to be correct.

I noticed the non-slash package is version 0.13.0 (incorrect), and the slash package is 10.24.0-beta (correct).

In the docs it recommends the pods without the slashes. All is fine with the other packages without the slash, but it seems like I need to make an exception for InAppMessaging:

https://firebase.google.com/docs/ios/setup#available-pods

Firebase SDK Version

10.24.0

Xcode Version

15.3

Installation Method

CocoaPods

Firebase Product(s)

In-App Messaging

Targeted Platforms

iOS

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions