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

Zoom not working on android, java error on zoomBy method #258

Closed
PPX47 opened this issue Jan 15, 2020 · 2 comments
Closed

Zoom not working on android, java error on zoomBy method #258

PPX47 opened this issue Jan 15, 2020 · 2 comments

Comments

@PPX47
Copy link

PPX47 commented Jan 15, 2020

Environment

flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Linux, locale en_GB.UTF-8) • Flutter version 1.12.13+hotfix.5 at /home/pijus/flutter/flutter • Framework revision 27321ebbad (5 weeks ago), 2019-12-10 18:15:01 -0800 • Engine revision 2994f7e1e6 • Dart version 2.7.0 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /home/pijus/Android/Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • Java binary at: /home/pijus/Downloads/android-studio-ide-191.5900203-linux/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.

[!] Android Studio (version 3.5)
• Android Studio at /home/pijus/Downloads/android-studio-ide-191.5900203-linux/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.40.1)
• VS Code at /usr/share/code
• Flutter extension version 3.7.1

Description

double zoomFactor = 100;
controller.zoomBy(zoomFactor);

Expected behavior:
Zooms successfuly

Current behavior:
Throws error:
PlatformException (PlatformException(error, java.lang.Double cannot be cast to java.lang.Float, null))

Also pich to zoom does not work

@pichillilorenzo
Copy link
Owner

Fixed in the new version 3.0.0.

This was referenced Jul 6, 2020
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants