Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz committed Jan 11, 2025
1 parent d07e148 commit c8a526c
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 37 deletions.
6 changes: 3 additions & 3 deletions packages/analytics/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseAnalyticsPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseAnalytics", package: "Firebase"),
.product(name: "FirebaseCore", package: "Firebase")
.product(name: "FirebaseAnalytics", package: "firebase-ios-sdk"),
.product(name: "FirebaseCore", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseAnalyticsPlugin"),
.testTarget(
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This plugin will use the following project variables (defined in your app’s `v

### iOS

Add the `CapacitorFirebaseAnalytics/Analytics` pod to your `Podfile` (usually `ios/App/Podfile`):
If you are using **CocoaPods** for your iOS project, you need to add the `CapacitorFirebaseAnalytics/Analytics` pod to your `Podfile` (usually `ios/App/Podfile`):

```diff
target 'App' do
Expand All @@ -47,7 +47,7 @@ See [Disable Analytics data collection](https://firebase.google.com/docs/analyti

#### Disable IDFA collection

If you want to install Firebase without any IDFA collection capability, use the `CapacitorFirebaseAnalytics/AnalyticsWithoutAdIdSupport` pod in place of the `CapacitorFirebaseAnalytics/Analytics` pod:
If you are using **CocoaPods** for your iOS project and you want to disable IDFA collection, you can use the `CapacitorFirebaseAnalytics/AnalyticsWithoutAdIdSupport` pod instead of the `CapacitorFirebaseAnalytics/Analytics` pod:

```diff
target 'App' do
Expand Down
6 changes: 3 additions & 3 deletions packages/app-check/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseAppCheckPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseAppCheck", package: "Firebase"),
.product(name: "FirebaseCore", package: "Firebase")
.product(name: "FirebaseAppCheck", package: "firebase-ios-sdk"),
.product(name: "FirebaseCore", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseAppCheckPlugin"),
.testTarget(
Expand Down
4 changes: 2 additions & 2 deletions packages/app/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseAppPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseAppPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions packages/authentication/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseAuthenticationPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseAuth", package: "Firebase"),
.product(name: "FirebaseCore", package: "Firebase")
.product(name: "FirebaseAuth", package: "firebase-ios-sdk"),
.product(name: "FirebaseCore", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseAuthenticationPlugin"),
.testTarget(
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication/docs/setup-facebook.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
## iOS

1. Add `facebook.com` to the `providers` [configuration](https://github.com/capawesome-team/capacitor-firebase/tree/main/packages/authentication#configuration) array.
1. Add the `CapacitorFirebaseAuthentication/Facebook` pod to your `Podfile` (usually `ios/App/Podfile`):
1. If you are using **CocoaPods** for your iOS project, add the `CapacitorFirebaseAuthentication/Facebook` pod to your `Podfile` (usually `ios/App/Podfile`):

```diff
target 'App' do
Expand Down
4 changes: 2 additions & 2 deletions packages/authentication/docs/setup-google.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
## iOS

1. Add `google.com` to the `providers` [configuration](https://github.com/capawesome-team/capacitor-firebase/tree/main/packages/authentication#configuration) array.
1. Add the `CapacitorFirebaseAuthentication/Google` pod to your `Podfile` (usually `ios/App/Podfile`):
1. If you are using **CocoaPods** for your iOS project, add the `CapacitorFirebaseAuthentication/Google` pod to your `Podfile` (usually `ios/App/Podfile`):

```diff
target 'App' do
Expand All @@ -33,7 +33,7 @@

Run [`npx cap update`](https://capacitorjs.com/docs/cli/update) to update the native plugins and dependencies.

1. Add the following post install script to your `Podfile` (usually `ios/App/Podfile`) to disable code signing for bundles:
1. If you are using **CocoaPods** for your iOS project, add the following post install script to your `Podfile` (usually `ios/App/Podfile`) to disable code signing for bundles:
```ruby
post_install do |installer|
installer.pods_project.targets.each do |target|
Expand Down
6 changes: 3 additions & 3 deletions packages/crashlytics/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseCrashlyticsPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase"),
.product(name: "FirebaseCrashlytics", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebaseCrashlytics", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseCrashlyticsPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions packages/firestore/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseFirestorePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase"),
.product(name: "FirebaseFirestore", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebaseFirestore", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseFirestorePlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions packages/functions/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseFunctionsPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase"),
.product(name: "FirebaseFunctions", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebaseFunctions", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseFunctionsPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions packages/messaging/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseMessagingPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase"),
.product(name: "FirebaseMessaging", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebaseMessaging", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseMessagingPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions packages/performance/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebasePerformancePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase"),
.product(name: "FirebasePerformance", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebasePerformance", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebasePerformancePlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions packages/remote-config/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseRemoteConfigPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase"),
.product(name: "FirebaseRemoteConfig", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebaseRemoteConfig", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseRemoteConfigPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions packages/storage/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0"))
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseStoragePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "Firebase"),
.product(name: "FirebaseStorage", package: "Firebase")
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebaseStorage", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseStoragePlugin"),
.testTarget(
Expand Down

0 comments on commit c8a526c

Please sign in to comment.