bizz84 / multiple-counters-flutter Goto Github PK
View Code? Open in Web Editor NEWFlutter State Management [ setState ❖ StreamBuilder ❖ scoped_model ❖ redux ]
Home Page: https://codewithandrea.com/
License: MIT License
Flutter State Management [ setState ❖ StreamBuilder ❖ scoped_model ❖ redux ]
Home Page: https://codewithandrea.com/
License: MIT License
Hi Andrea,
I love your videos and your coding style. It is very clean and easy to follow.
I have a question about this app. I noticed that all of the counters are sent to and from Firestore when only one changes. This could use a lot of wireless data usage as the collection grows (i.e. 1MB) and only a single field changes. Is there a way to only send changes through the stream.
I put the following print statement in database.dart
at line 133 to see what was being sent/received:
print(documentSnapshot['value']);
Thanks for your help.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
R:\multiple-counters-flutter-master\android\app\src\nullnull\debug\google-services.json
R:\multiple-counters-flutter-master\android\app\src\debug\nullnull\google-services.json
R:\multiple-counters-flutter-master\android\app\src\nullnull\google-services.json
R:\multiple-counters-flutter-master\android\app\src\debug\google-services.json
R:\multiple-counters-flutter-master\android\app\src\nullnullDebug\google-services.json
R:\multiple-counters-flutter-master\android\app\google-services.json
* 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 31s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
What should I do about this?
Hello,
First many thanks for this excellent tutorial.
I have forked this project, created the required Google Service to support it, using the package name com.musevisions.multipleCountersFlutter. However, when I try to run the app I see the following errors:
java.lang.IllegalStateException: Dex archives: setting .DEX extension only for .CLASS files
at com.google.common.base.Preconditions.checkState(Preconditions.java:456)
at com.android.builder.dexing.ClassFileEntry.withDexExtension(ClassFileEntry.java:64)
at com.android.build.gradle.internal.transforms.DexArchiveBuilderTransform.removeDeletedEntries(DexArchiveBuilderTransform.java:274)
I am attempting to build using VSCode.
Plus many more of a similar nature.
Can you help to resolve this?
Sid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.