Giter Club home page Giter Club logo

flutter-app-template's People

Contributors

comigor avatar gliheng avatar mr-tron 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

Watchers

 avatar  avatar  avatar  avatar

flutter-app-template's Issues

CI scripts to build and package using Aure

I am using Azure pipelines because it allows you to build and test on real desktops and mobiles.
I have not tried it with flutter and python but it should work.

https://dev.azure.com/

It is easy to use and connects to github.
Its also very fast. Maybe 20 seconds and the app is built.
You can pick different OS versions, so you will see when things break before users do.

I noticed that you using python for build and packaging. I have not checked if you can use python easily using azure pipelines.
https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/python?view=azure-devops

signing

Maybe its possible to also incorporate fastlane and signing and expose that from the pything scripts ?

run script error: Library not loaded, FlutterEmbedder

I'm starting a fresh project using the latest flutter version, but when I run ./scripts/run.py I get the following error at the end of the compilation steps:

   ...
   Compiling tokio-tcp v0.1.3
   Compiling tokio v0.1.18
   Compiling cargo_toml v0.4.0
   Compiling flutter-engine v0.2.1
   Compiling shannon_editor v0.1.0 (/Users/duane/Projects/flutter-app/rust)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 01s
     Running `target/debug/shannon_editor`
dyld: Library not loaded: @rpath/FlutterEmbedder.framework/Versions/A/FlutterEmbedder
  Referenced from: /Users/duane/Projects/flutter-app/rust/target/debug/shannon_editor
  Reason: image not found

I'm not sure what @rpath should expand to, so I'm not sure where to look for this library.

Environment

Mac OS X 10.14.3

Rust:

rustc --version
rustc 1.32.0 (9fda7c223 2019-01-16)

Flutter:

~/flutter/bin/flutter --version
Flutter 1.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8661d8aecd (7 weeks ago) • 2019-02-14 19:19:53 -0800
Engine • revision 3757390fa4
Tools • Dart 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

Please add license

I think the best license will be Apache 2 because it allows to make application based on this template under any over license.

Could not compile at windows

I got the below error once running cargo run, I'm at Windows 10:

   Compiling flutter-app v0.1.2 (C:\Users\hasan_yousef\Downloads\flutter-app-template-master\flutter-app-template-master\rust)
error[E0432]: unresolved import `cargo_toml::TomlManifest`
 --> build.rs:3:5
  |
3 | use cargo_toml::TomlManifest;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `TomlManifest` in the root. Did you mean to use `Manifest`?

error[E0277]: the size for values of type `str` cannot be known at compilation time
  --> build.rs:21:9
   |
21 |     let version = manifest.package.metadata.expect("Flutter config in Cargo.toml invalid").flutter.version;
   |         ^^^^^^^ doesn't have a size known at compile-time
   |
   = help: the trait `std::marker::Sized` is not implemented for `str`
   = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
   = note: all local variables must have a statically known size
   = help: unsized locals are gated as an unstable feature

error: aborting due to 2 previous errors

Some errors occurred: E0277, E0432.
For more information about an error, try `rustc --explain E0277`.
error: Could not compile `flutter-app`.
warning: build failed, waiting for other jobs to finish...
error: build failed

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.