Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

White label app - exclude other flavors(schemes) during build time
Let's say I want to write a white label app which will describe my application - for example main view is AVIEW. Then I want to have different flavors(schemes) which will have their implementations of AVIEW in specific directories. The case is that if I build target#1 I don't want to have implementations from target#2, #3 etc. included. How can I achieve that?

April 17, 2020 at 11:31AM by __just_random_dude
https://ift.tt/2RN9sbT
New post on /r/flutterdev subreddit:

FAIL. The application's Info.plist does not contain CFBundleVersion. [Flutter]
hi, I updated flutter and since then I can't access my application on android and IOS.I need help``Launching lib/main.dart on iPhone 11 Pro in debug mode...Xcode build done. 724,2sProcessException: Process exited abnormally: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22): Failed to install the requested application The application's Info.plist does not contain CFBundleVersion. Ensure your bundle contains a CFBundleVersion. Command: /usr/bin/xcrun simctl install CC6F37C2-794D-48DE-8EBC-FD7F3DB3FA79 /Users/mac/Desktop/Fabrice_apps/conduireenci/build/ios/iphonesimulator/Runner.app``

April 17, 2020 at 01:46PM by fabricendja
https://ift.tt/2ylfUjl
New post on /r/flutterdev subreddit:

How to access HttpServer on phone?
I'm running a HttpServer instance on the simulator or the phone and cannot access it with the phone's/simulator's IP from the outside, only with http://localhost:3001 from the device.Do I miss a configuration step or do I need another permission besides android.permission.INTERNET?The current state is in this branch: https://github.com/elsamuko/clusterup/blob/features/LoadSaveJSON/lib/server.dart

April 17, 2020 at 03:01PM by el_samuko
https://ift.tt/3bnzVog
New post on /r/flutterdev subreddit:

What are the common problems you are facing while developing apps with Flutter? Problems may include issues with ide, libraries etc.
I am going to list common problems I face daily. My problems are mostly with the toolings. I mostly use Vs code, I don't if these problems exist in Android studio or xcode. This is not a support or help post, because I have already tries most of the solutions mentioned in github and SO.Vs code sometimes builds old code and hot restart/reload don't work properly.I have to do flutter clean too often due to 1.Analyzer terminates every time after flutter clean and sometimes when a build is complete.When the codebase gets bigger then constant termination of analyzer means you have no auto complete, errors/warnings while the analyzer restarts.While debugging using breakpoints, hot restart does not work and gets stucks on syncing files.Lack of audio libarary support from the flutter team. I was working on an audio streaming app, there is not a single library which plays both local and remote audio files, plays in background, have notifications and lock screen controls in both android and ios. When we ended up doing is using multiple plugins to achieve this. For someone who doesn't have great knowledge of both native platforms, this makes getting this done harder and wait for the community to implement features.The problems listed above are already have issues in github and threads in SO. I just want to know if you are facing similar issues. If not what are the other problems you are facing.

April 17, 2020 at 02:46PM by creepy_hunter
https://ift.tt/2VCTbqR
New post on /r/flutterdev subreddit:

How can I add firestore google to this code ?
import 'package:cloud_firestore/cloud_firestore.dart';
enum Type {
multiple,
boolean
}class Question {
final String categoryName;
final Type type;
final String question;
final String correctAnswer;
final List<dynamic> incorrectAnswers;
Question({this.categoryName, this.type, this.question, this.correctAnswer, this.incorrectAnswers});
var ref = Firestore.instance.collection('users').document('id').snapshots();
Question.fromMap(Map<String, dynamic> data):
categoryName = data["category"],
type = data["type"] == "multiple" ? Type.multiple : Type.boolean,
question = data["question"],
correctAnswer = data["correct_answer"],
incorrectAnswers = data["incorrect_answers"];static List<Question> fromData(List<Map<String,dynamic>> data){
return data.map((question) => Question.fromMap(question)).toList();
}
}

April 17, 2020 at 04:34PM by tarq1998
https://ift.tt/3cvrEyn
New post on /r/flutterdev subreddit:

Is it viable to use Flutter without using Material or Cupertino?
My application has a unified design, not specifically inspired by Material or Cupertino design patterns.I'm hesitating between 2 approaches: - Using material (the most advanced and polished package) and twisting the widgets and the theme to "unmaterialize" it, - Only using the unopinionated package widgets.The later makes more sense to me, but at the time I have serious doubts about the viability of the solution. When asking about using Flutter without Material (like here), people are like "Yeaaah sure! It is technically possible, do whatever you want". But I found literally zero feedback about going to production with this approach.The only useful "neutral" widget I found is WidgetsApp it just wires up the navigation stuff and that's it. There is no Scaffold, no theme inheritance mecanism...Other example: I have a drawer in my app. AFAIK, a drawer not a material thing, however in Flutter, it is a widget from the material package. So what should I do? Implement my own?Are there people out there who doesn't use Material or Cupertino? I mean, for real?

April 17, 2020 at 05:57PM by ncuillery
https://ift.tt/3eugAn9
New post on /r/flutterdev subreddit:

WebRTC
We are in a discovery phase to develop webRTC application. Does flutter support webRTC and platform support for ios , android and web and desktop? Please suggest. Do we need to explore on sip client?

April 17, 2020 at 06:37PM by kcath
https://ift.tt/2RJulVc
New post on /r/flutterdev subreddit:

Purchasing a physical Android device for testing.
I'm an iPhone guy and don't see myself switching any time soon, but wanted to start testing on a physical device. I've found some imei blocked android devices on my local craigslist and was wondering if that was a smart purchase.It says it basically can't be activated on any carrier, which I don't imagine I would need. It's about 50% of the normal used price.Is there something I'm not thinking about?

April 17, 2020 at 06:17PM by Mmiranda51
https://ift.tt/3cqlYWv
New tweet from FlutterDev:

#FlutterFriday
is
here.

👉You can specify whether your Flutter project uses Swift, Objective C, Kotlin, or Java by specifying:

"--ios-language objc" or "--android-language java" when you type "flutter create".

💡By default new projects use Kotlin and Swift.— Flutter (@FlutterDev) April 17, 2020

April 17, 2020 at 07:51PM
http://twitter.com/FlutterDev/status/1251206612175355904
New post on Flutter Dev Google group:

How to create vertical tabbar in flutter with vertical align text direction


April 17, 2020 at 09:37PM by Sandeep Dewangan
https://ift.tt/3exaaDG
New tweet from FlutterDev:

Keep your users waiting... with a loading indicator!

Using Cupertino widgets for your UI?

Then CupertinoActivityIndicator is the widget for you! It appears when your app is loading data and disappears when it's done.

Watch more #WidgetoftheWeek &rarr; https://t.co/X9DHADopIw pic.twitter.com/yt6zZGsf0W— Flutter (@FlutterDev) April 17, 2020

April 17, 2020 at 11:03PM
http://twitter.com/FlutterDev/status/1251254866460082176
New post on /r/flutterdev subreddit:

Best way to constantly run logic for a Flutter application?
Description of ApplicationFor my Flutter application, I need to run a logic controller 24/7 for varying lengths of time. Every minute it needs to request a response from a json based api, then process that data, and return a state that could be used by Flutter.QuestionSo I need something that can constantly run and return a state that can then be used by Flutter to build a UI at any moment. Because of this I'm leaning towards using Firebase as the logic controller that would return states. I'm however worried that Firebase doesn't offer something that can run 24/7I'm open to any and all solutions! I may repost this in the Firebase subredditThank you in advance for any solutions! I appreciate it!

April 18, 2020 at 06:08AM by sk8tyger
https://ift.tt/34Iuhuj
New post on /r/flutterdev subreddit:

Video download from firebase storage
Hi. Can someone guide regarding the best way to download video files from firebase storage and then play them in a flutter app

April 18, 2020 at 11:28AM by osama_383
https://ift.tt/2RNZJSs
New post on /r/flutterdev subreddit:

How to download with Android's native downloader?
The idea is to in my app if I press a button the video file should start downloading in the native downloader. For example when we download a file from Google Drive app it uses the native downloader.Any help will be appreciable.

April 18, 2020 at 12:02PM by ps_rathore
https://ift.tt/34RNwBB