Git Product home page Git Product logo

fluttie's Introduction

discontinued

The Fluttie package is not actively maintained.

Prefer using other Lottie packages, like lottie on pub.

fluttie's People

Contributors

creativecreatorormaybenot avatar jeroen-meijer avatar josephchenghmlet avatar kristoffer-zliide avatar simolus3 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

fluttie's Issues

Not Loading animations.

I tested fluttie 0.3.0 and fluttie 0.5.0 on my android 10 device but keeps showing loading animation, help what could be wrong?
no error just loading to infinite.
Could be the mounted state not working properly?

Support for web

Do you have any plans to support Flutter Web? I know the plugins aren't supported yet but still, any plans? Thanks!

Android-java.lang.UnsupportedOperationException: The new embedding does not support the old FlutterView

D/libGLESv2( 6122): STS_GLApi : DTS, ODTC are not allowed for Package : com.lottie_test
V/Surface ( 6122): sf_framedrop debug : 0x4f4c, game : false, logging : 0
E/MethodChannel#fluttie/methods( 6122): Failed to handle method call
E/MethodChannel#fluttie/methods( 6122): java.lang.UnsupportedOperationException: The new embedding does not support the old FlutterView.
E/MethodChannel#fluttie/methods( 6122): at io.flutter.embedding.engine.plugins.shim.ShimRegistrar.view(ShimRegistrar.java:82)
E/MethodChannel#fluttie/methods( 6122): at de.simolus3.fluttie.FluttiePlugin.getAnimationCallback(FluttiePlugin.java:69)
E/MethodChannel#fluttie/methods( 6122): at de.simolus3.fluttie.FluttieAnimation.(FluttieAnimation.java:42)
E/MethodChannel#fluttie/methods( 6122): at de.simolus3.fluttie.FluttiePlugin.onMethodCall(FluttiePlugin.java:136)
E/MethodChannel#fluttie/methods( 6122): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230)
E/MethodChannel#fluttie/methods( 6122): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/MethodChannel#fluttie/methods( 6122): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/MethodChannel#fluttie/methods( 6122): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#fluttie/methods( 6122): at android.os.MessageQueue.next(MessageQueue.java:325)
E/MethodChannel#fluttie/methods( 6122): at android.os.Looper.loop(Looper.java:142)
E/MethodChannel#fluttie/methods( 6122): at android.app.ActivityThread.main(ActivityThread.java:6942)
E/MethodChannel#fluttie/methods( 6122): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#fluttie/methods( 6122): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
E/MethodChannel#fluttie/methods( 6122): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
I/zygote64( 6122): Do partial code cache collection, code=30KB, data=20KB
I/zygote64( 6122): After code cache collection, code=29KB, data=20KB
I/zygote64( 6122): Increasing code cache capacity to 128KB
E/flutter ( 6122): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: PlatformException(error, The new embedding does not support the old FlutterView., null)
E/flutter ( 6122): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:572:7)
E/flutter ( 6122): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:161:18)

MissingPluginException when instantiating Fluttie

I can't seen to figure out why I'm getting this exception:

I/flutter (19808): ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
I/flutter (19808): The following MissingPluginException was thrown while activating platform stream on channel
I/flutter (19808): fluttie/events:
I/flutter (19808): MissingPluginException(No implementation found for method listen on channel fluttie/events)

The code throws an exception anywhere where I try to instantiate the Fluttie instance:

  Fluttie instance = new Fluttie();

This is my setup:

Flutter 0.2.3 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5a58b36e36 (3 weeks ago) • 2018-03-13 13:20:13 -0700
Engine • revision e61bb9ac3a
Tools • Dart 2.0.0-dev.35.flutter-290c576264

Please do help,

Aspect Ratio of Animation Distorted

Using v0.3.2, but I noticed on the example app that the star look too 'long' and are not the correct aspect ratio. Animations are being 'squashed in height ie. they are not 'tall' enough. Also getting the same issue on my project using v0.3.2 of package with all of my other assets which show on lottiefiles.com in correct aspect ratio.

For example, the star.json extracted from the /example and uploaded into lottiefiles.com looks like this:

image

But in the /example app when built and running a star looks like this:

image

Build iOS failed

Flutter version:

[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F203, locale en-SG)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] iOS tools - develop for iOS devices
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.36.1)

Error stacktrace:

Running Xcode build...                                                  
Xcode build done.                                            1.7s
Failed to build iOS app
Error output from Xcode build:** BUILD FAILED **


Xcode's output:

    ../.pub-cache/hosted/pub.dartlang.org/fluttie-0.4.0/ios/Classes/FluttiePlugin.m:14:16: error: expected identifier
        result([@NO]);
                   ^
    1 error generated.

Could not build the application for the simulator.
Error launching application on iPhone Xs.

Problem with androidX

The package was working fine with me in android. But for my work, I had to switch to androidx. From that time, the package is not working, basically, it is running but not showing any animation. Kindly let me know how to fix the issue.

Support merge paths

Running a Lottie file with merge paths results in:

W/LOTTIE  (26827): Animation contains merge paths. Merge paths are only supported on KitKat+ and must be manually enabled by calling enableMergePathsForKitKatAndAbove().

Is there a way to set this using fluttie?

Run error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:preDebugBuild'.

Android dependency 'com.android.support:support-fragment' has different version for the compile (25.2.0) and runtime (27.0.2) classpath. You should manually set the same version via DependencyResolution

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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

BUILD FAILED in 2s
Finished with error: Gradle build failed: 1

iOS support?

Hi,

This is more a query than an issue. I noticed that the README specifically states that iOS isn't yet supported, but it doesn't make it clear whether iOS support is planned/will be added.

Can you elaborate please?

Thanks

Frame rate - Speed

Hello, is it posible to adjust the frame rate of the animation from the plugin?

Thank you.

Suggestion: Merge with lottie-flutter

I'm posting this suggestion on both repositories. I noticed in the official documentation for Lottie they include both fluttie and lottie-flutter with no information about the pros / cons of each.

I think it would be great if the two repositories could join together and have a really solid, highly tested lottie plugin for Flutter hosted within the Flutter Community organisation so contributors to both projects will get credit.

Hope you like this suggestion!

Strange clipping in animation

Hi, I have a after affects animation I'm trying to render and there's a strange visual clipping that occurs in the middle of the animation. Is there a way to fix this?

lottie.zip

Desktop support?

Is there any plans for supporting desktop platform like macos,linux,windows. That's would be nice features if it support these platforms.

enableMergePathsForKitKatAndAbove

W/LOTTIE (20331): Animation contains merge paths. Merge paths are only supported on KitKat+ and must be manually enabled by calling enableMergePathsForKitKatAndAbove().

Failed to build iOS app

Hello try this repo but have this error:
Failed to build iOS app
Xcode build done. 1.9s Failed to build iOS app Error output from Xcode build: ↳ 2019-06-23 03:12:09.885 xcodebuild[33808:516772] DTDeviceKit: deviceType from 18fa31ab75ccc0cb173716f62d4647b8474cb4b8 was NULL 2019-06-23 03:12:09.885 xcodebuild[33808:516772] DTDeviceKit: deviceType from 18fa31ab75ccc0cb173716f62d4647b8474cb4b8 was NULL 2019-06-23 03:12:09.886 xcodebuild[33808:516772] iPhoneSupport: 📱<DVTiOSDevice (0x7fa0d4d90620), Veli iPhone’u, iPhone, 12.3.1 (16F203), 4934cdce24038ed64c9bf7efd2b8d8a7670a5c19> unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform}) 2019-06-23 03:12:09.971 xcodebuild[33808:516768] DTDeviceKit: deviceType from 18fa31ab75ccc0cb173716f62d4647b8474cb4b8 was NULL 2019-06-23 03:12:09.971 xcodebuild[33808:516768] DTDeviceKit: deviceType from 18fa31ab75ccc0cb173716f62d4647b8474cb4b8 was NULL 2019-06-23 03:12:09.971 xcodebuild[33808:516768] iPhoneSupport: 📱<DVTiOSDevice (0x7fa0d4d90620), Veli iPhone’u, iPhone, 12.3.1 (16F203), 4934cdce24038ed64c9bf7efd2b8d8a7670a5c19> unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})

Flutter doctor:
`[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.6 18G48f, locale
en-TR)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor
--android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
✗ ios-deploy out of date (1.9.4 is required). To upgrade with Brew:
brew upgrade ios-deploy
[!] Android Studio (version 3.4)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] IntelliJ IDEA Community Edition (version 2017.1.3)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.33.1)
[✓] Connected device (3 available)`

Best regards.

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.