Flutter pod is not getting deleted - flutter

I had had installed firebase ad-mob to my project and after some days I removed it.
My pubspec.yaml
dependencies:
flutter:
sdk: flutter
intl: ^0.16.1
http: ^0.12.0+2
json_serializable: ^3.2.5
here there is no dependence of firebase but in my Podfiles.lock it show me firebase and. when I run my iOS code from Xcode it says to me firebase framework not found.
I Don't know why am able to see the firebase installation description still In my Podfiles.lock.
Podfiles.lock
PODS:
- Firebase/AdMob (6.14.0):
- Firebase/CoreOnly
- Google-Mobile-Ads-SDK (~> 7.50)
- Firebase/Core (6.14.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 6.1.7)
- Firebase/CoreOnly (6.14.0):
- FirebaseCore (= 6.5.0)
- firebase_admob (0.0.1):
- Firebase/AdMob
- Firebase/Core
- Flutter
- firebase_core (0.0.1):
- Firebase/Core
- Flutter
- firebase_core_web (0.1.0):
- Flutter
- FirebaseAnalytics (6.1.7):
- FirebaseCore (~> 6.5)
- FirebaseInstanceID (~> 4.2)
- GoogleAppMeasurement (= 6.1.7)
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- FirebaseCore (6.5.0):
- FirebaseCoreDiagnostics (~> 1.0)
- FirebaseCoreDiagnosticsInterop (~> 1.0)
- GoogleUtilities/Environment (~> 6.4)
- GoogleUtilities/Logger (~> 6.4)
- FirebaseCoreDiagnostics (1.1.2):
- FirebaseCoreDiagnosticsInterop (~> 1.0)
- GoogleDataTransportCCTSupport (~> 1.0)
- GoogleUtilities/Environment (~> 6.2)
- GoogleUtilities/Logger (~> 6.2)
- nanopb (~> 0.3.901)
- FirebaseCoreDiagnosticsInterop (1.1.0)
- FirebaseInstanceID (4.2.8):
- FirebaseCore (~> 6.5)
- GoogleUtilities/Environment (~> 6.4)
- GoogleUtilities/UserDefaults (~> 6.4)
- Flutter (1.0.0)
- Google-Mobile-Ads-SDK (7.56.0):
- GoogleAppMeasurement (~> 6.0)
- GoogleAppMeasurement (6.1.7):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- GoogleDataTransport (3.2.0)
- GoogleDataTransportCCTSupport (1.2.3):
- GoogleDataTransport (~> 3.2)
- nanopb (~> 0.3.901)
- GoogleUtilities/AppDelegateSwizzler (6.4.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (6.4.0)
- GoogleUtilities/Logger (6.4.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (6.4.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (6.4.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (6.4.0)"
- GoogleUtilities/Reachability (6.4.0):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (6.4.0):
- GoogleUtilities/Logger
- nanopb (0.3.9011):
- nanopb/decode (= 0.3.9011)
- nanopb/encode (= 0.3.9011)
- nanopb/decode (0.3.9011)
- nanopb/encode (0.3.9011)
DEPENDENCIES:
- firebase_admob (from `.symlinks/plugins/firebase_admob/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- firebase_core_web (from `.symlinks/plugins/firebase_core_web/ios`)
- Flutter (from `Flutter`)
SPEC REPOS:
trunk:
- Firebase
- FirebaseAnalytics
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCoreDiagnosticsInterop
- FirebaseInstanceID
- Google-Mobile-Ads-SDK
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleDataTransportCCTSupport
- GoogleUtilities
- nanopb
EXTERNAL SOURCES:
firebase_admob:
:path: ".symlinks/plugins/firebase_admob/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
firebase_core_web:
:path: ".symlinks/plugins/firebase_core_web/ios"
Flutter:
:path: Flutter
SPEC CHECKSUMS:
Firebase: 0219bb4782eb1406f1b9b0628a2e625484ce910d
firebase_admob: d8c2bc95b5e0069406280ce6adb816cdee6aa595
firebase_core: 920b9b2a74489a0cf6c5009b744f7f7f5fd84cf6
firebase_core_web: d501d8b946b60c8af265428ce483b0fff5ad52d1
FirebaseAnalytics: f68b9f3f1241385129ae0a83b63627fc420c05e5
FirebaseCore: 632e05cc5e1199d9147122c16d92305eb04c34bd
FirebaseCoreDiagnostics: 511f4f3ed7d440bb69127e8b97c2bc8befae639e
FirebaseCoreDiagnosticsInterop: e9b1b023157e3a2fc6418b5cb601e79b9af7b3a0
FirebaseInstanceID: ce993a3c3670a8f5d47ce371ac5d143c560608c5
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
Google-Mobile-Ads-SDK: 65e335fadc97c5a91a9d4546214bfd3a2fb11047
GoogleAppMeasurement: db118eb61a97dd8c4f7014e368d3c335cbbcf80a
GoogleDataTransport: 8e9b210c97d55fbff306cc5468ff91b9cb32dcf5
GoogleDataTransportCCTSupport: 202d7cdf9c4a7d81a2bb7f7e7e1ba6faa421b1f2
GoogleUtilities: 29bd0d8f850efbd28cff6d99e8b7da1f8d236bcf
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
PODFILE CHECKSUM: 083258d7f5e80b42ea9bfee905fe93049bc04c64
COCOAPODS: 1.8.3
Thanks for the help.

Try deleting the podfile.
First, go to ios directory cd ios (assuming that your working dir is your project).
Remove podfile and podfile.lock using rm podfile and rm podfile.lock
They will build again when you flutter run your project.

Related

Flutter : [Cloud_firestore] no data in release mode

when trying to get data from firestore in release mode "null" is always returned but not in debug or profile
Steps to reproduce
Steps to reproduce the behavior:
flutter run --release
no data comes at all from firebase
Expected behavior
as debug and profile it should get all data from firebase
Sample project
repository :
import 'package:cloud_firestore/cloud_firestore.dart';
import '../../../domain/models/yearmodel.dart';
import '../../../domain/years/contracts/i.years.repository.dart';
class YearsRepository implements IYearsRepository {
final _firestore = FirebaseFirestore.instance;
static const String yearscollection = "years";
#override
Stream<YearsModel> get yearsStream {
final docRef = _firestore.collection(yearscollection).doc("classes");
final snapshots = docRef.snapshots();
return snapshots.map((current) {
print(current.data());
return YearsModel.fromJson(current.data()!);
});
}
}
ui with flutter hooks and riverpod :
years.when(
data: (years) {
print(years);
return Column(children: [
SizedBox(
height: 250,
child: CupertinoPicker(
looping: true,
children: years.classes!
.map((e) => Center(
child: Text(e.name!),
))
.toList(),
itemExtent: 46,
onSelectedItemChanged: (index) async {
isclinical.value =
years.classes![index].isclinical!;
yearId.value = years.classes![index].id!;
yearName.value = years.classes![index].name!;
},
),
),
const SizedBox(
height: 10,
),
Container(
height: 50,
width: 210,
decoration: BoxDecoration(
border: Border.all(color: Colors.blue),
borderRadius: BorderRadius.circular(15),
color: Colors.white.withOpacity(0.1)),
child: Center(
child: Text(
yearName.value,
style: const TextStyle(fontSize: 24),
)),
)
]);
},
loading: () => const ShimmerAffect(height: 100, width: 100),
error: (error, stack) {
print("$error.toString");
Center(
child: Text("$error"),
);
Additional context
when the provider is triggered , it always hits the error: (error, stack) block
Flutter doctor
kivocsa99#kivocsa99:~$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.2, on Ubuntu 20.04.3 LTS 5.11.0-37-generic,
locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Android Studio
[✓] VS Code
[✓] Connected device (2 available)
• No issues found!
Flutter dependencies
~/AndroidStudioProjectsssd/mscmu$ flutter pub deps -- --style=compactDart SDK 2.14.3Flutter SDK 2.5.2mscmu 1.0.0+1
dependencies:
- android_path_provider 0.3.0 [flutter]
- audio_session 0.1.6+1 [flutter flutter_web_plugins rxdart meta]
- cached_network_image 3.1.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- carousel_slider 4.0.0 [flutter]
- cloud_firestore 2.5.3 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.3
- dartz 0.10.0
- expandable 5.0.1 [flutter]
- expandable_text 2.2.0 [flutter]
- file_picker 4.1.3 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path]
- firebase_auth 3.1.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.7.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_messaging 10.0.8 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 10.0.5 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_downloader 1.7.0 [flutter]
- flutter_hooks 0.18.0 [flutter]
- flutter_slidable 0.6.0 [flutter]
- font_awesome_flutter 9.1.0 [flutter]
- form_field_validator 1.1.0 [flutter intl]
- freezed_annotation 0.14.3 [collection json_annotation meta]
- hooks_riverpod 0.14.0+5 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier]
- http 0.13.4 [async http_parser meta path]
- introduction_screen 2.1.0 [flutter dots_indicator]
- json_serializable 5.0.2 [analyzer build build_config collection json_annotation meta path source_gen source_helper]
- just_audio 0.9.12 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter]
- just_audio_libwinmedia 0.0.4 [flutter just_audio_platform_interface libwinmedia]
- logger 1.1.0
- motion_toast 1.5.0 [flutter]
- path_provider 2.0.5 [flutter path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- permission_handler 8.2.2 [flutter meta permission_handler_platform_interface]
- photo_view 0.13.0 [flutter]
- rxdart 0.27.2
- share 2.0.4 [meta mime flutter]
- shared_preferences 2.0.8 [flutter meta shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- url_launcher 6.0.12 [flutter meta url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
dev dependencies:
- build_runner 2.1.4 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- freezed 0.14.5 [analyzer build build_config collection meta source_gen freezed_annotation]
transitive dependencies:
- _fe_analyzer_shared 28.0.0 [meta]
- analyzer 2.5.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.3.0
- async 2.8.1 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.1.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.1 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.4 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.2 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.1.2 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.1.0
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.4 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 5.4.2 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.4.3 [cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.1 [typed_data]
- crypto 3.0.1 [collection typed_data]
- dart_style 2.2.0 [analyzer args path pub_semver source_span]
- dots_indicator 2.0.0 [flutter]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase_auth_platform_interface 6.1.1 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.1.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 3.0.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.0.6 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.0.3 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.0.3 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.1.2 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_plugin_android_lifecycle 2.0.3 [flutter]
- flutter_riverpod 0.14.0+3 [collection flutter meta riverpod state_notifier]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- frontend_server_client 2.1.2 [async path]
- glob 2.0.2 [async collection file path string_scanner]
- graphs 2.1.0 [collection]
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.1.0 [meta]
- just_audio_platform_interface 4.0.0 [flutter plugin_platform_interface]
- just_audio_web 0.4.2 [just_audio_platform_interface flutter flutter_web_plugins]
- libwinmedia 0.0.7 [ffi path]
- lints 1.0.1
- logging 1.0.2
- matcher 0.12.10 [stack_trace]
- meta 1.7.0
- mime 1.0.0
- octo_image 1.0.0+1 [flutter flutter_blurhash]
- package_config 2.0.2 [path]
- path 1.8.0
- path_provider_linux 2.1.0 [flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.2 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.3 [ffi flutter meta path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- platform 3.0.2
- plugin_platform_interface 2.0.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.3 [file path platform]
- pub_semver 2.1.0 [collection meta]
- pubspec_parse 1.1.0 [checked_yaml collection json_annotation pub_semver yaml]
- riverpod 0.14.0+3 [collection freezed_annotation meta state_notifier]
- shared_preferences_linux 2.0.2 [file meta flutter path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.2 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.2 [flutter flutter_web_plugins meta shared_preferences_platform_interface]
- shared_preferences_windows 2.0.2 [flutter file meta path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.1.1 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.0 [analyzer collection source_gen]
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.0+4 [flutter sqflite_common path]
- sqflite_common 2.0.1+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- state_notifier 0.7.1 [meta]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.0 [collection]
- url_launcher_linux 2.0.2 [flutter]
- url_launcher_macos 2.0.2 [flutter]
- url_launcher_platform_interface 2.0.4 [flutter plugin_platform_interface]
- url_launcher_web 2.0.4 [flutter flutter_web_plugins meta url_launcher_platform_interface]
- url_launcher_windows 2.0.2 [flutter]
- uuid 3.0.5 [crypto]
- vector_math 2.1.0
- watcher 1.0.1 [async path]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- win32 2.2.9 [ffi]
- xdg_directories 0.2.0 [meta path process]
- yaml 3.1.0 [collection source_span string_scanner]```
</details>
---
You may not give permission to access the internet.
Go to android/app/src/main/AndroidManifest.xml and insert this line in the manifest:
<uses-permission android:name="android.permission.INTERNET"/>
UPDATE:
Another reason may be that you did not give permission from Firestore.
For this, go to the project > Firestore > Rules
Then, modify the line which contains "allow"(mostly line 5) to:
allow read, write;
I hope that my answer will help you! :)

How do I identify which flutter packages are blocking others from being updated to latest version?

I want to upgrade my dependencies to the latest possible, but I can't because they are being blocked by one of the packages.
How can I tell which one is causing the issue where others can't be updated? They pretty much all seem to be outdated. Running flutter pub outdated gives me the list of my packages where the resolvable and updatable are always the same as my current package.
> flutter pub outdated
Showing outdated packages.
[*] indicates versions that are not the latest available.
Package Name Current Upgradable Resolvable Latest
direct dependencies:
bip39 *1.0.3 *1.0.3 *1.0.3 1.0.6
cloud_firestore *0.16.0+1 *0.16.0+1 *0.16.0+1 1.0.5
firebase_auth *0.20.1 *0.20.1 *0.20.1 1.1.0
firebase_core *0.7.0 *0.7.0 *0.7.0 1.0.3
firebase_storage *7.0.0 *7.0.0 *7.0.0 8.0.3
flutter_blue *0.7.3 *0.7.3 *0.7.3 0.8.0
google_maps_flutter *1.2.0 *1.2.0 *1.2.0 2.0.3
http *0.12.2 *0.12.2 *0.12.2 0.13.1
image *2.1.19 *2.1.19 *2.1.19 3.0.2
image_picker *0.6.7+22 *0.6.7+22 *0.6.7+22 0.7.4
local_auth *0.6.3+4 *0.6.3+4 *0.6.3+4 1.1.4
permission_handler *5.1.0+2 *5.1.0+2 *5.1.0+2 6.1.3
transitive dependencies:
archive *2.0.13 *2.0.13 *2.0.13 3.1.2
args *1.6.0 *1.6.0 *1.6.0 2.0.0
bech32 *0.1.2 *0.1.2 *0.1.2 0.2.0
bip32 *1.0.7 *1.0.7 *1.0.7 1.0.10
bs58check *1.0.1 *1.0.1 *1.0.1 1.0.2
cloud_firestore_platform_interface *3.0.2 *3.0.2 *3.0.2 4.0.1
cloud_firestore_web *0.3.0+2 *0.3.0+2 *0.3.0+2 1.0.5
convert *2.1.1 *2.1.1 *2.1.1 3.0.0
crypto *2.1.5 *2.1.5 *2.1.5 3.0.1
firebase_auth_platform_interface *3.1.0 *3.1.0 *3.1.0 4.1.0
firebase_auth_web *0.3.3 *0.3.3 *0.3.3 1.0.6
firebase_core_platform_interface *3.0.1 *3.0.1 *3.0.1 4.0.0
firebase_core_web *0.2.1+3 *0.2.1+3 *0.2.1+3 1.0.2
firebase_storage_platform_interface *1.0.4 *1.0.4 *1.0.4 2.0.1
firebase_storage_web *0.1.1+3 *0.1.1+3 *0.1.1+3 1.0.3
fixnum *0.10.11 *0.10.11 *0.10.11 1.0.0
flutter_plugin_android_lifecycle *1.0.11 *1.0.11 *1.0.11 2.0.1
google_maps_flutter_platform_interface *1.2.0 *1.2.0 *1.2.0 2.0.4
hex *0.1.2 *0.1.2 *0.1.2 0.2.0
http_parser *3.1.4 *3.1.4 *3.1.4 4.0.0
image_picker_platform_interface *1.1.6 *1.1.6 *1.1.6 2.1.0
intl *0.16.1 *0.16.1 *0.16.1 0.17.0
permission_handler_platform_interface *2.0.2 *2.0.2 *2.0.2 3.1.3
petitparser *3.1.0 *3.1.0 *3.1.0 4.1.0
plugin_platform_interface *1.0.3 *1.0.3 *1.0.3 2.0.0
pointycastle *1.0.2 *1.0.2 *1.0.2 3.0.1
protobuf *1.1.3 *1.1.3 *1.1.3 2.0.0
quiver *2.1.5 *2.1.5 *2.1.5 3.0.1
rxdart *0.24.1 *0.24.1 *0.24.1 0.26.0
source_span *1.8.0 *1.8.0 *1.8.0 1.8.1
stream_transform *1.2.0 *1.2.0 *1.2.0 2.0.0
uuid *2.2.2 *2.2.2 *2.2.2 3.0.4
xml *4.5.1 *4.5.1 *4.5.1 5.1.0

Flutter locked on old pods

I am unable to get the Flutter project to update to the latest available pods for Flutter and Firebase Plugins. I have tried deleting the pods folder and clearing flutter build cache and pod cache.
My Flutter version is:
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G2021, locale en-CA)
Output of pod outdated:
Updating spec repo `trunk`
CocoaPods 1.10.0.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.10.0.rc.1
Analyzing dependencies
The color indicates what happens when you run `pod update`
<green> - Will be updated to the newest version
<blue> - Will be updated, but not to the newest version because of specified version in Podfile
<red> - Will not be updated because of specified version in Podfile
The following pod updates are available:
- abseil 0.20200225.0 -> (unused) (latest version 1.20200225.0)
- BoringSSL-GRPC 0.0.7 -> 0.0.7 (latest version 0.0.12)
- Firebase 6.26.0 -> (unused) (latest version 6.32.2)
- FirebaseAnalytics 6.6.0 -> 6.6.0 (latest version 6.8.2)
- FirebaseAuth 6.5.3 -> 6.5.3 (latest version 6.9.1)
- FirebaseCore 6.7.2 -> 6.7.2 (latest version 6.10.2)
- FirebaseCoreDiagnostics 1.5.0 -> 1.5.0 (latest version 1.6.0)
- FirebaseFirestore 1.15.0 -> 1.15.0 (latest version 1.17.1)
- FirebaseInstallations 1.3.0 -> 1.3.0 (latest version 1.7.0)
- Flutter 1.0.0 -> 1.0.0 (latest version 1.20.0)
- GoogleAppMeasurement 6.6.0 -> 6.6.0 (latest version 6.8.2)
- GoogleDataTransport 7.2.0 -> 7.2.0 (latest version 7.3.0)
- gRPC-C++ 1.28.2 -> 1.28.2 (latest version 1.32.0)
- gRPC-Core 1.28.2 -> 1.28.2 (latest version 1.32.0)
- nanopb 1.30905.0 -> 1.30905.0 (latest version 1.30906.0)
- Purchases 3.4.0 -> 3.4.0 (latest version 3.7.1)
- PurchasesHybridCommon 1.2.0 -> 1.2.0 (latest version 1.4.0)
I think there's a possibility that your cocopods repo is out of date.
Try the below steps
1. Check whether the dependency versions are correct or not
2. flutter clean
3. pod repo update
4. delete /ios/Pods/ and /ios/Podfile.lock

Flutter version failed

The current Flutter SDK version is 1.12.13+hotfix.8.
Because flutterbuyandsell depends on provider 4.1.2 which requires Flutter SDK version >=1.16.0, version solving failed.
pub get failed (1; Because flutterbuyandsell depends on provider 4.1.2 which requires Flutter SDK version >=1.16.0, version solving failed.)
My pubspec.yaml
name: flutterbuyandsell
description: A new Flutter ecommerce store application.
version: 1.17.0
environment:
sdk: ">=2.2.2 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
shared_preferences: 0.5.7+3
cached_network_image: 2.2.0+1
flutter_cache_manager: 1.2.2 #for cached_network_image
http: 0.12.1
provider: 4.1.2
connectivity: 0.4.8+6
dynamic_theme: 1.0.1
sembast: 2.4.4+1
path_provider: 1.6.9
intl: 0.16.1
shimmer: 1.1.1
smooth_star_rating: 1.1.1
url_launcher: 5.4.10
carousel_slider: 2.1.0
firebase_core: 0.4.5
firebase_messaging: 6.0.16
firebase_auth: 0.16.1 # firebase_auth is for phone login
admob_flutter: 0.3.4
firebase_database: 3.1.6
google_sign_in: 4.5.1
flutter_facebook_login: 3.0.0
photo_view: 0.9.2
progress_dialog: 1.2.3
braintree_payment: 1.2.4
easy_localization: 2.3.2
launch_review: 2.0.0
package_info: 0.4.0+18
flutter_icons: 1.1.0
stripe_payment: 1.0.7
flutter_credit_card: 0.1.3
fluttertoast: 4.0.1
permission_handler: 5.0.0+hotfix.6
flutter_map: 0.9.0
latlong: 0.6.1
geocoder: 0.2.1
multi_image_picker: 4.6.7
flutter_widget_from_html: 0.3.3+4
esys_flutter_share: 1.0.2
apple_sign_in: 0.1.0
dev_dependencies:
flutter_test:
sdk: flutter
#flutter_local_notifications:
# path: lib/utils/local_noti/
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/images/placeholder_circle_image.png
- assets/images/placeholder_image.png
- assets/langs/ar-DZ.json
- assets/langs/en-US.json
- assets/langs/hi-IN.json
- assets/langs/de-DE.json
- assets/langs/es-ES.json
- assets/langs/fr-FR.json
- assets/langs/id-ID.json
- assets/langs/it-IT.json
- assets/langs/ja-JP.json
- assets/langs/ko-KR.json
- assets/langs/ms-MY.json
- assets/langs/pt-PT.json
- assets/langs/ru-RU.json
- assets/langs/th-TH.json
- assets/langs/tr-TR.json
- assets/langs/zh-CN.json
- assets/images/verify_email_icon.jpg
- assets/images/down.png
- assets/images/baesline_access_time_black_24.png
- assets/images/baseline_check_green_24.png
- assets/images/baseline_graph_black_24.png
- assets/images/baseline_price_down_black_24.png
- assets/images/baseline_price_up_black_24.png
- assets/images/baseline_empty_item_grey_24.png
- assets/images/home_icon/discount_products.png
- assets/images/home_icon/easy_payment.png
- assets/images/home_icon/featured_products.png
- assets/images/home_icon/free_download.png
- assets/images/trending.png
- assets/images/flutter_buy_and_sell_logo.png
- assets/images/flutter_buy_and_sell_logo_light.png
- assets/images/baseline_pin_black_24.png
- assets/images/baseline_favourite_grey_24.png
- assets/images/default_image.png
- assets/images/baseline_promotion_color_74.png
fonts:
- family: Product Sans
fonts:
- asset: assets/fonts/Product-Sans-Regular.ttf
- asset: assets/fonts/Product-Sans-Bold-Italic.ttf
- asset: assets/fonts/Product-Sans-Bold.ttf
- asset: assets/fonts/Product-Sans-Italic.ttf
The latest version of flutter on the stable channel is 1.17.3 and higher on the other channels. You have likely not upgraded flutter since this release. Use flutter upgrade to remediate your issue.

RN Firebase Pod Install modifies Lock Dependency With Quotes "GoogleToolboxForMac/NSData+zlib (~> 2.1)"

When I pod install I am getting one dependency which has quotes around it. I don't want these quotes, and also want to know what they are. The issue is on my team others run this command and do not get the quotes around
"GoogleToolboxForMac/NSData+zlib (~> 2.1)"
I am leaving this question somewhat open ended so that people can fill in as much information as possible about what in react native firebase versioning and cocoapods in general is causing this behavior. Thanks ahead of time for all of the thoughtful responses.
PODS:
- Crashlytics (3.9.3):
- Fabric (~> 1.7.2)
- Fabric (1.7.11)
- Firebase/Core (4.8.2):
- FirebaseAnalytics (= 4.0.9)
- FirebaseCore (= 4.0.14)
- Firebase/Messaging (4.8.2):
- Firebase/Core
- FirebaseMessaging (= 2.0.8)
- Firebase/RemoteConfig (4.8.2):
- Firebase/Core
- FirebaseRemoteConfig (= 2.1.1)
- FirebaseABTesting (1.0.0):
- FirebaseCore (~> 4.0)
- Protobuf (~> 3.1)
- FirebaseAnalytics (4.0.9):
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- nanopb (~> 0.3)
- FirebaseCore (4.0.14):
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- FirebaseInstanceID (2.0.8):
- FirebaseCore (~> 4.0)
- FirebaseMessaging (2.0.8):
- FirebaseAnalytics (~> 4.0)
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- GoogleToolboxForMac/Logger (~> 2.1)
- Protobuf (~> 3.1)
- FirebaseRemoteConfig (2.1.1):
- FirebaseABTesting (~> 1.0)
- FirebaseAnalytics (~> 4.0)
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- Protobuf (~> 3.1)
- GoogleToolboxForMac/Defines (2.1.3)
- GoogleToolboxForMac/Logger (2.1.3):
- GoogleToolboxForMac/Defines (= 2.1.3)
- "GoogleToolboxForMac/NSData+zlib (2.1.3)":
- GoogleToolboxForMac/Defines (= 2.1.3)
- Heap (5.0.5)
The Podfile.lock file escapes certain characters so that it can be valid YAML. Detailed discussion in this issue.