diff --git a/.github/no-response.yml b/.github/no-response.yml new file mode 100644 index 0000000..e834903 --- /dev/null +++ b/.github/no-response.yml @@ -0,0 +1,15 @@ +# Configuration for probot-no-response - https://github.com/probot/no-response + +# Number of days of inactivity before an issue is closed for lack of response. +daysUntilClose: 7 + +# Label requiring a response. +responseRequiredLabel: "waiting for customer response" + +# Comment to post when closing an Issue for lack of response. Set to `false` to disable +closeComment: > + Without additional information, we are unfortunately not sure how to + resolve this issue. We are therefore reluctantly going to close this + bug for now. Please don't hesitate to comment on the bug if you have + any more information for us; we will reopen it right away! + Thanks for your contribution. \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e639a80..4cd4204 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: run: | flutter pub get - name: Copy production config - run: echo ${{ secrets.PRODUCTION_CONFIG }} > lib/app_config.dart + run: echo "${{ secrets.PRODUCTION_CONFIG }}" > lib/app_config.dart - name: Build and release env: MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} @@ -57,7 +57,7 @@ jobs: - run: | flutter pub get - name: Copy production config - run: echo ${{ secrets.PRODUCTION_CONFIG }} > lib/app_config.dart + run: echo "${{ secrets.PRODUCTION_CONFIG }}" > lib/app_config.dart - name: Build run: | flutter build apk @@ -66,3 +66,15 @@ jobs: with: name: android-stream-chat-v1 path: packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-1 + - name: Upload APK + run: | + cp build/app/outputs/apk/release/app-release.apk flutter-sample-app.apk + aws s3 cp flutter-sample-app.apk s3://${{ secrets.AWS_S3_BUCKET }} --sse AES256 + + diff --git a/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart b/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart index 0dd4824..2f32aa7 100644 --- a/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart +++ b/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart @@ -27,8 +27,8 @@ class ProfileVerifyCubit extends Cubit { final ProfileSignInUseCase _profileSignInUseCase; void startChatting() async { - emit(ProfileState(null, loading: true)); final file = state.file; + emit(ProfileState(file, loading: true)); final name = nameController.text; await _profileSignInUseCase.verify(ProfileInput( imageFile: file, diff --git a/packages/stream_chat_v1/pubspec.yaml b/packages/stream_chat_v1/pubspec.yaml index 6d39645..9dd7471 100644 --- a/packages/stream_chat_v1/pubspec.yaml +++ b/packages/stream_chat_v1/pubspec.yaml @@ -29,18 +29,6 @@ dependencies: lottie: ^1.0.1 collection: ^1.15.0-nullsafety.4 -dependency_overrides: - stream_chat: - git: - url: https://github.com/GetStream/stream-chat-flutter.git - ref: develop - path: packages/stream_chat - stream_chat_flutter_core: - git: - url: https://github.com/GetStream/stream-chat-flutter.git - ref: develop - path: packages/stream_chat_flutter_core - dev_dependencies: flutter_launcher_icons: ^0.9.0 test: any