Skip to content
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

Adopt flutter version 0.3.1 #66

Closed
wants to merge 5 commits into from
Closed

Adopt flutter version 0.3.1 #66

wants to merge 5 commits into from

Conversation

gen0083
Copy link

@gen0083 gen0083 commented May 1, 2018

Overview

This PR resolve some errors on Flutter version 0.3.1.

Environment

Flutter 0.3.1 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 12bbaba9ae (11 days ago) • 2018-04-19 23:36:15 -0700
Engine • revision 09d05a3891
Tools • Dart 2.0.0-dev.48.0.flutter-fe606f890b

Detail

  • commented out about release-key signing information in build.gradle see issue Error when flutter run -d  #64
  • update cloud_firestore version caused SDK version constraint
  • add mockito dependency for test
  • update google_sign_in version to fix type mismatch on run-time
  • update shared_preferences version to fix type mismatch on run-time
  • fix type mismatch error telled from dart analysis

gen0083 added 5 commits May 1, 2018 15:01
because version solving failed on flutter 0.3.1 with cloud_firestore 0.2.6

```
The current Dart SDK version is 2.0.0-edge.c080951d45e79cd25df98036c4be835b284a269c.

Because droidkaigi2018 depends on cloud_firestore >=0.0.4 <0.2.9 which requires SDK version
  >=1.8.0 <2.0.0-dev.infinity, version solving failed.
pub get failed (1)
```

Environment:
Flutter 0.3.1 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 12bbaba9ae (11 days ago) • 2018-04-19 23:36:15 -0700
Engine • revision 09d05a3891
Tools • Dart 2.0.0-dev.48.0.flutter-fe606f890b

and using 0.2.9 not 0.2.12 is caused by interface changing.
great suggestion from @sho5nn, see detail #65 comments.
Thanks @sho5nn!
on flutter 0.3.1(and Dart 2.0.0-dev.48.0.flutter-fe606f890b) got
following error :

```
error: The argument type '(Null) → Strings' can't be assigned to the
 parameter type '(dynamic) → FutureOr<Strings>'.
  (argument_type_not_assignable at [droidkaigi2018] lib/i18n/strings.dart:12)
```

related issue: flutter/flutter#16588
There is no key.properties because it is credential information.
But we cannot build this project on debug build.
Update shared_preferences and google_sign_in version because type error
was occurred on run-time.
@gen0083 gen0083 closed this Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant