Giter Club home page Giter Club logo

flutter_qr_reader's People

Contributors

clangenb avatar eldar2021 avatar festelo avatar hetian9288 avatar katekko avatar liewjuntung avatar romeroyang avatar

flutter_qr_reader's Issues

Exception: Calling `animationController` twice

How to reproduce:

  1. Create a meetup on the local dev-network with the Mediterranean test currency
  2. With Alice, scan this code: BobAddressClaim

Result: Scanner freezes.

When closing the scanner, we see the following log. I am actually not sure if this is an issue with the scanner library or the app.

======== Exception caught by widgets library =======================================================
The following assertion was thrown while finalizing the widget tree:
AnimationController.dispose() called more than once.

A given AnimationController cannot be disposed more than once.

The following AnimationController object was disposed multiple times: AnimationController#43a5a(◀ 0.600; paused; DISPOSED)
When the exception was thrown, this was the stack: 
#0      AnimationController.dispose.<anonymous closure> (package:flutter/src/animation/animation_controller.dart:798:9)
#1      AnimationController.dispose (package:flutter/src/animation/animation_controller.dart:809:6)
#2      QrReaderViewMixin.clearAnimation (package:flutter_qr_scan/views/qr_reader_view_mixin.dart:39:25)
#3      QrReaderViewMixin.dispose (package:flutter_qr_scan/views/qr_reader_view_mixin.dart:90:5)
#4      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:5105:11)
#5      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1917:13)
#6      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1915:7)
#7      MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6398:16)
#8      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1913:13)
#9      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1915:7)
#10     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4931:14)
#11     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1913:13)
#12     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1915:7)
...

Exception: Calling `animationController` twice

How to reproduce:

  1. Create a meetup on the local dev-network with the Mediterranean test currency
  2. With Alice, scan this code: BobAddressClaim

Result: Scanner freezes.

======== Exception caught by widgets library =======================================================
The following assertion was thrown while finalizing the widget tree:
AnimationController.dispose() called more than once.

A given AnimationController cannot be disposed more than once.

The following AnimationController object was disposed multiple times: AnimationController#43a5a(◀ 0.600; paused; DISPOSED)
When the exception was thrown, this was the stack: 
#0      AnimationController.dispose.<anonymous closure> (package:flutter/src/animation/animation_controller.dart:798:9)
#1      AnimationController.dispose (package:flutter/src/animation/animation_controller.dart:809:6)
#2      QrReaderViewMixin.clearAnimation (package:flutter_qr_scan/views/qr_reader_view_mixin.dart:39:25)
#3      QrReaderViewMixin.dispose (package:flutter_qr_scan/views/qr_reader_view_mixin.dart:90:5)
#4      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:5105:11)
#5      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1917:13)
#6      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1915:7)
#7      MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6398:16)
#8      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1913:13)
#9      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1915:7)
#10     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4931:14)
#11     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1913:13)
#12     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1915:7)
...

Setup GitHub Actions

We should do a simple github actions workflow here that:

  • builds the scanner
  • runs the linter and returns an error if warnings were returned
  • runs the formatter and returns an error if formatting error were found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.