Skip to content

Commit

Permalink
feat: bump Firebase iOS SDK to 8.9.0 (#7289)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
  • Loading branch information
russellwheatley and Salakar committed Nov 3, 2021
1 parent da458e2 commit e0efad3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/overview.mdx
Expand Up @@ -239,14 +239,14 @@ Once initialized, you're ready to get started using FlutterFire!

Currently the Firestore iOS SDK depends on some 500k lines of mostly C++ code which can take upwards of 5 minutes to build in XCode. To reduce build times significantly, you can use a pre-compiled version by adding 1 line to your `ios/Podfile` inside your Flutter project;

`pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.8.0'`
`pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.9.0'`

Add this line inside your target 'Runner' do block in your Podfile, e.g.:

```
# ...
target 'Runner' do
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.8.0'
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.9.0'
# ...
end
```
Expand Down Expand Up @@ -281,7 +281,7 @@ Open your `/ios/Podfile` or `/macos/Podfile` file and add any of the globals bel

```ruby
# Override Firebase SDK Version
$FirebaseSDKVersion = '8.8.0'
$FirebaseSDKVersion = '8.9.0'
```

## Next Steps
Expand Down
Expand Up @@ -22,7 +22,7 @@
NSString *const kAnalyticsStorage = @"analyticsStorage";
NSString *const kUserId = @"userId";

NSString *const kFLTFirebaseCrashlyticsChannelName = @"plugins.flutter.io/firebase_analytics";
NSString *const kFLTFirebaseAnalyticsChannelName = @"plugins.flutter.io/firebase_analytics";

@implementation FLTFirebaseAnalyticsPlugin {
}
Expand All @@ -42,7 +42,7 @@ + (instancetype)sharedInstance {

+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {
FlutterMethodChannel *channel =
[FlutterMethodChannel methodChannelWithName:kFLTFirebaseCrashlyticsChannelName
[FlutterMethodChannel methodChannelWithName:kFLTFirebaseAnalyticsChannelName
binaryMessenger:[registrar messenger]];
FLTFirebaseAnalyticsPlugin *instance = [FLTFirebaseAnalyticsPlugin sharedInstance];
[registrar addMethodCallDelegate:instance channel:channel];
Expand Down Expand Up @@ -185,7 +185,7 @@ - (NSString *_Nonnull)firebaseLibraryVersion {
}

- (NSString *_Nonnull)flutterChannelName {
return kFLTFirebaseCrashlyticsChannelName;
return kFLTFirebaseAnalyticsChannelName;
}

- (NSDictionary *_Nonnull)pluginConstantsForFIRApp:(FIRApp *_Nonnull)firebaseApp {
Expand Down
@@ -1,4 +1,4 @@
# https://firebase.google.com/support/release-notes/ios
def firebase_sdk_version!()
'8.8.0'
'8.9.0'
end

0 comments on commit e0efad3

Please sign in to comment.