-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Updated/Replacing dependencies used. #185
base: main
Are you sure you want to change the base?
Conversation
Hey @CyberWake, could you rebase your changes to the main branch here, as all the changes and commits are currently being added there? |
@ItsAdityaKSingh could you please review this PR. |
You need to rebase this PR to the |
@@ -44,3 +44,6 @@ app.*.map.json | |||
/android/app/debug | |||
/android/app/profile | |||
/android/app/release | |||
|
|||
# Excluding environment file | |||
.env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to have *.env
so that any environment file is automatically ignored
# platform :ios, '11.0' | ||
|
||
# CocoaPods analytics sends network stats synchronously affecting flutter build latency. | ||
ENV['COCOAPODS_DISABLE_STATS'] = 'true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we already have a podfile. no need for new as this one seems the same
child: FlatButton( | ||
splashColor: Colors.white, | ||
highlightColor: Colors.white, | ||
child: TextButton( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i assume this change is because flatbutton is deprecated. But this change doesn't match with the PR. If you're doing this upgrade, pls do it for entire project
@@ -12,7 +12,7 @@ dependencies: | |||
|
|||
cupertino_icons: ^1.0.2 | |||
fluttertoast: ^8.0.3 | |||
connectivity_plus: ^1.0.2 | |||
connectivity_plus: ^3.0.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the need of this update? 1.0.2 works fine?
import 'package:fluttertoast/fluttertoast.dart'; | ||
import 'package:geocoder/geocoder.dart'; | ||
import 'package:google_maps_flutter/google_maps_flutter.dart'; | ||
import 'package:graphql_flutter/graphql_flutter.dart'; | ||
import 'package:intl/intl.dart'; | ||
import 'package:location/location.dart'; | ||
import 'package:modal_progress_hud/modal_progress_hud.dart'; | ||
import 'package:flutter_polyline_points/flutter_polyline_points.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are all of these unused imports?
Fixes #184
Describe the changes you have made in this PR -
The first thing that was breaking on android side was the
compileSdkVersion
which was set to 30 previously which needed to be 30 to fix the following error Screenshot 1.in android
android/build.gradle
needed update inext.kotlin_version
to resolve the following error shown in Screenshot 2.The second fix was to update package
graphql_flutter
was needed updated to latest version. Which requiredconnectivity_plus
to be updated to its latest version which in turn requiredrxdart
to be updated to its latest version. This was done to resolve the error shown in Screenshot 3.flutter_duration_picker
is no longer maintained by the owner hence the newer updated fork published as a package on pub dev was used. This was done to resolve error shown in Screenshot 4.Added
.env
togitignore
to ensure the environment variables don't get pushed to GitHub.Screenshots of the changes (If any) -