Giter Site home page Giter Site logo

logger_flutter's People

Contributors

jeuler avatar simc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

logger_flutter's Issues

Null Safety

Thanks for the flutter extension.

Any plan for Null safety?

Version solving failed due to outdated version of sensors package

Hey there, thanks for your package. Unfortunately, I can't get it running due to a version missmatch of the sensors package:

PS C:\dev\simulator_test> flutter pub get                    
Because simulator_test depends on logger_flutter ^0.7.1 which depends on sensors ^0.4.0+1, sensors ^0.4.0+1 is required.
So, because simulator_test depends on sensors ^2.0.0, version solving failed.
Running "flutter pub get" in simulator_test...                          
pub get failed (1; So, because simulator_test depends on sensors ^2.0.0, version solving failed.)

Please consider upgrading to the latest version of the sensors package to solve those versioning errors.
Cheers

example doesnt do anything on shake

on iPhone Simulator the example provided doesnt work. Neither does it work in my very own application. To get it right, on shake i should see the log on the simulator right inside my app right?

Startup lag ?

I am using with the shake to view logger viewer and it works but seems to miss logs at the start. The logs show in Android studio but a few lines are missing in the phone viewer. Any idea how to improve?

Sensitivity is too high

The sensitivity of shake gesture detection seems to be way too high. It's only fine when the phone is laying on the table. Picking the phone from the table or tapping the screen immediately launches the console. It quickly becomes quite annoying. The problem occurs on both of my iOS and Android devices.

Tested on:

  • iPhone SE, iOS 12
  • Sony Xperia L1, Android 7.0

Installation breaks project

Adding the dependency to my project causes flutter run to spit out this error.

FAILURE: Build failed with an exception.

* Where:
Script '/home/tristan/Files/ProgramFiles/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 221

* What went wrong:
A problem occurred configuring project ':logger_flutter'.
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':logger_flutter' of type org.gradle.api.Project.
   > Could not find method debugProvided() for arguments [file collection] on object of type
   org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run
with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
  Command: /home/tristan/Projects/CyWoodsAppFlutter/android/gradlew app:properties


Please review your Gradle project setup in the android/ folder.

log length

Log in flutter after shaking is very limited in length.

Only give ~25 most recent logs. Is this the intended functionality. I would be nice if it held all of the logs.

Build error with LogConsole.open in logging: ^0.11.4 logger_flutter: ^0.7.1

Followed instructions:

Shake the phone or call LogConsole.open(context) from anywhere to show an on device console `

Got an error

error: The method 'open' isn't defined for the type 'LogConsole'. (undefined_method at [aip] lib/welcome.dart:101)

Code:

                PlatformButton(
                  child: PlatformText("Show log"),
                  onPressed: () => LogConsole.open(context),
                ),

Using Android Emulator on Mac OS.
Android Studio v4.1.1

pubspec:

  logging: ^0.11.4
  logger_flutter: ^0.7.1

flutter:

$ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-US)
    • Flutter version 1.22.4 at /Users/agautam/tools/flutter
    • Framework revision 1aafb3a8b9 (6 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/agautam/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/agautam/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ 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_242-release-1644-b3-6915495)

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554                        • android-x86 • Android 10 (API 29) (emulator)
    • iPhone 11 Pro (mobile)             • 70B5851E-D6FE-4D5F-8703-D9AEB22DE51E • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

No support null safety

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

  • package:logger
  • package:logger_flutter
  • package:sensors

Update logger dependency

logger_flutter 0.7.1 depends on logger ^0.7.0 and no versions of logger_flutter match >0.7.1 <0.8.0, logger_flutter ^0.7.1 requires logger ^0.7.0.

Introduce maintainer or update package

Currently package is not usable due to it's dependencies being outdated and package being non nullsafe.

If you do not have time to maintain this project, I can do it's maintenance to resolve current issues and review/merge PRs.

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.