Skip to content

Commit

Permalink
feat: update all native SDKs (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz authored Nov 23, 2022
1 parent 3fb3235 commit 5665835
Show file tree
Hide file tree
Showing 28 changed files with 54 additions and 36 deletions.
10 changes: 10 additions & 0 deletions .changeset/nasty-hats-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@capacitor-firebase/analytics": minor
"@capacitor-firebase/app": minor
"@capacitor-firebase/authentication": minor
"@capacitor-firebase/crashlytics": minor
"@capacitor-firebase/messaging": minor
"@capacitor-firebase/performance": minor
---

feat: update all native SDKs
4 changes: 2 additions & 2 deletions packages/analytics/CapacitorFirebaseAnalytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Pod::Spec.new do |s|
end

s.subspec 'Analytics' do |analytics|
analytics.dependency 'Firebase/Analytics', '9.1.0'
analytics.dependency 'Firebase/Analytics', '10.2.0'
end

s.subspec 'AnalyticsWithoutAdIdSupport' do |analyticsWithoutAdIdSupport|
analyticsWithoutAdIdSupport.dependency 'Firebase/AnalyticsWithoutAdIdSupport', '9.1.0'
analyticsWithoutAdIdSupport.dependency 'Firebase/AnalyticsWithoutAdIdSupport', '10.2.0'
end
end
2 changes: 1 addition & 1 deletion packages/analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Add Firebase to your project if you haven't already ([Android](https://firebase.

This plugin will use the following project variables (defined in your app’s `variables.gradle` file):

- `$firebaseAnalyticsVersion` version of `com.google.firebase:firebase-analytics` (default: `21.0.0`)
- `$firebaseAnalyticsVersion` version of `com.google.firebase:firebase-analytics` (default: `21.2.0`)

### iOS

Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ext {
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
firebaseAnalyticsVersion = project.hasProperty('firebaseAnalyticsVersion') ? rootProject.ext.firebaseAnalyticsVersion : '21.0.0'
firebaseAnalyticsVersion = project.hasProperty('firebaseAnalyticsVersion') ? rootProject.ext.firebaseAnalyticsVersion : '21.2.0'
}

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/Analytics', '9.1.0'
pod 'Firebase/Analytics', '10.2.0'
end

target 'PluginTests' do
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check/CapacitorFirebaseAppCheck.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/AppCheck', '9.1.0'
s.dependency 'Firebase/AppCheck', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
end
2 changes: 1 addition & 1 deletion packages/app-check/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/AppCheck', '9.1.0'
pod 'Firebase/AppCheck', '10.2.0'
end

target 'PluginTests' do
Expand Down
2 changes: 1 addition & 1 deletion packages/app/CapacitorFirebaseApp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Core', '9.1.0'
s.dependency 'Firebase/Core', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
end
8 changes: 8 additions & 0 deletions packages/app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ npx cap sync

Add Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).

### Android

#### Variables

This plugin will use the following project variables (defined in your app’s `variables.gradle` file):

- `$firebaseCommonVersion` version of `com.google.firebase:firebase-common` (default: `20.2.0`)

## Configuration

No configuration required for this plugin.
Expand Down
2 changes: 1 addition & 1 deletion packages/app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ext {
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
firebaseCommonVersion = project.hasProperty('firebaseCommonVersion') ? rootProject.ext.firebaseCommonVersion : '20.1.0'
firebaseCommonVersion = project.hasProperty('firebaseCommonVersion') ? rootProject.ext.firebaseCommonVersion : '20.2.0'
}

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/Core', '9.1.0'
pod 'Firebase/Core', '10.2.0'
end

target 'PluginTests' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Auth', '9.1.0'
s.dependency 'Firebase/Auth', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
s.default_subspec = 'Lite'
Expand All @@ -24,12 +24,12 @@ Pod::Spec.new do |s|

s.subspec 'Google' do |google|
google.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -DRGCFA_INCLUDE_GOOGLE' }
google.dependency 'GoogleSignIn', '6.2.1'
google.dependency 'GoogleSignIn', '6.2.4'
end

s.subspec 'Facebook' do |facebook|
facebook.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -DRGCFA_INCLUDE_FACEBOOK' }
facebook.dependency 'FBSDKCoreKit', '13.2.0'
facebook.dependency 'FBSDKLoginKit', '13.2.0'
facebook.dependency 'FBSDKCoreKit', '15.1.0'
facebook.dependency 'FBSDKLoginKit', '15.1.0'
end
end
4 changes: 2 additions & 2 deletions packages/authentication/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ext {
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
rgcfaIncludeGoogle = project.hasProperty('rgcfaIncludeGoogle') ? rootProject.ext.rgcfaIncludeGoogle : false
rgcfaIncludeFacebook = project.hasProperty('rgcfaIncludeFacebook') ? rootProject.ext.rgcfaIncludeFacebook : false
firebaseAuthVersion = project.hasProperty('firebaseAuthVersion') ? rootProject.ext.firebaseAuthVersion : '21.0.4'
playServicesAuthVersion = project.hasProperty('playServicesAuthVersion') ? rootProject.ext.playServicesAuthVersion : '20.2.0'
firebaseAuthVersion = project.hasProperty('firebaseAuthVersion') ? rootProject.ext.firebaseAuthVersion : '21.1.0'
playServicesAuthVersion = project.hasProperty('playServicesAuthVersion') ? rootProject.ext.playServicesAuthVersion : '20.4.0'
facebookLoginVersion = project.hasProperty('facebookLoginVersion') ? rootProject.ext.facebookLoginVersion : '15.1.0'
}

Expand Down
10 changes: 5 additions & 5 deletions packages/authentication/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/Auth', '9.1.0'
pod 'GoogleSignIn', '6.2.1'
pod 'FBSDKCoreKit', '13.2.0'
pod 'FBSDKLoginKit', '13.2.0'
pod 'Firebase/Auth', '10.2.0'
pod 'GoogleSignIn', '6.2.4'
pod 'FBSDKCoreKit', '15.1.0'
pod 'FBSDKLoginKit', '15.1.0'
end

target 'PluginTests' do
Expand All @@ -29,4 +29,4 @@ post_install do |installer|
end
end
end
end
end
2 changes: 1 addition & 1 deletion packages/crashlytics/CapacitorFirebaseCrashlytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Crashlytics', '9.1.0'
s.dependency 'Firebase/Crashlytics', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
end
4 changes: 2 additions & 2 deletions packages/crashlytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ See [Add the Firebase Crashlytics plugin to your app](https://firebase.google.co

This plugin will use the following project variables (defined in your app’s `variables.gradle` file):

- `$firebaseCrashlyticsVersion` version of `com.google.firebase:firebase-crashlytics` (default: `18.2.9`)
- `$firebaseCrashlyticsVersion` version of `com.google.firebase:firebase-crashlytics` (default: `18.3.2`)

### iOS

Expand Down Expand Up @@ -102,7 +102,7 @@ const recordExceptionWithStacktrace = async (error: Error) => {
const stacktrace = await StackTrace.fromError(error);
await FirebaseCrashlytics.recordException({
message: 'This is a non-fatal message.',
stacktrace
stacktrace,
});
};
```
Expand Down
2 changes: 1 addition & 1 deletion packages/crashlytics/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ext {
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
firebaseCrashlyticsVersion = project.hasProperty('firebaseCrashlyticsVersion') ? rootProject.ext.firebaseCrashlyticsVersion : '18.2.10'
firebaseCrashlyticsVersion = project.hasProperty('firebaseCrashlyticsVersion') ? rootProject.ext.firebaseCrashlyticsVersion : '18.3.2'
}

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion packages/crashlytics/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/Crashlytics', '9.1.0'
pod 'Firebase/Crashlytics', '10.2.0'
end

target 'PluginTests' do
Expand Down
2 changes: 1 addition & 1 deletion packages/messaging/CapacitorFirebaseMessaging.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Messaging', '9.1.0'
s.dependency 'Firebase/Messaging', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
end
2 changes: 1 addition & 1 deletion packages/messaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Add Firebase to your project if you haven't already ([Android](https://firebase.

This plugin will use the following project variables (defined in your app’s `variables.gradle` file):

- `$firebaseMessagingVersion` version of `com.google.firebase:firebase-messaging` (default: `20.0.6`)
- `$firebaseMessagingVersion` version of `com.google.firebase:firebase-messaging` (default: `23.1.0`)

#### Push Notification Icon

Expand Down
2 changes: 1 addition & 1 deletion packages/messaging/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ext {
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
firebaseMessagingVersion = project.hasProperty('firebaseMessagingVersion') ? rootProject.ext.firebaseMessagingVersion : '23.0.5'
firebaseMessagingVersion = project.hasProperty('firebaseMessagingVersion') ? rootProject.ext.firebaseMessagingVersion : '23.1.0'
}

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion packages/messaging/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/Messaging', '9.1.0'
pod 'Firebase/Messaging', '10.2.0'
end

target 'PluginTests' do
Expand Down
2 changes: 1 addition & 1 deletion packages/performance/CapacitorFirebasePerformance.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Performance', '9.1.0'
s.dependency 'Firebase/Performance', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
end
2 changes: 1 addition & 1 deletion packages/performance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ See [Add the Performance Monitoring plugin to your app](https://firebase.google.

This plugin will use the following project variables (defined in your app’s `variables.gradle` file):

- `$firebasePerfVersion` version of `com.google.firebase:firebase-perf` (default: `20.0.6`)
- `$firebasePerfVersion` version of `com.google.firebase:firebase-perf` (default: `20.3.0`)

## Configuration

Expand Down
2 changes: 1 addition & 1 deletion packages/performance/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ext {
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
firebasePerfVersion = project.hasProperty('firebasePerfVersion') ? rootProject.ext.firebasePerfVersion : '20.0.6'
firebasePerfVersion = project.hasProperty('firebasePerfVersion') ? rootProject.ext.firebasePerfVersion : '20.3.0'
}

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion packages/performance/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/Performance', '9.1.0'
pod 'Firebase/Performance', '10.2.0'
end

target 'PluginTests' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/RemoteConfig', '9.1.0'
s.dependency 'Firebase/RemoteConfig', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
end
2 changes: 1 addition & 1 deletion packages/remote-config/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

target 'Plugin' do
capacitor_pods
pod 'Firebase/RemoteConfig', '9.1.0'
pod 'Firebase/RemoteConfig', '10.2.0'
end

target 'PluginTests' do
Expand Down

0 comments on commit 5665835

Please sign in to comment.