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

[BUG] Camera Freezes when adding Google Ads Widget to screen #461

Closed
matiazar opened this issue Nov 17, 2021 · 2 comments
Closed

[BUG] Camera Freezes when adding Google Ads Widget to screen #461

matiazar opened this issue Nov 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@matiazar
Copy link

Describe the bug
I have implemented this QR Code Scanner without problems.

Now I wanna add an AD to the screen for the trial version of the app. When I add the add (google_mobile_ads: ^1.0.0)
camera shows freezed or black screen.
when i click on flash button for example, it turns on and freeze again. and sometimes all the app freezes too.

Flutter information
Flutter 2.6

Device (please complete the following information):

  • Device: TLC 10+
  • OS: Android 10
@matiazar matiazar added the bug Something isn't working label Nov 17, 2021
@omerdotdev
Copy link

facing kinda same error on hot reload with latest version (0.6.1)

 @override
  void reassemble() {
    super.reassemble();
    if (Platform.isAndroid) {
      controller.pauseCamera();
    } else if (Platform.isIOS) {
      controller.resumeCamera();
    }
  }

Had this from example code from pub.dev . Doesn't seems to help.

Package Version: 0.6.1
Flutter: Channel stable, 2.5.3
Dart version: 2.14.4
Android SDK: Android SDK version 30.0.3

@juliansteenbakker
Copy link
Collaborator

This is probably because of the nativeView that this plugin uses. Please read #491 about the status and successor of this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants