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

Massive FCM message amounts. Best Practise?
Hey, if possible, I'd like to hear your opinion about this situation I've got in right now.I will simplify a little here, as the whole context doesn't really matter, so trust me, what I want to do makes 100% sense if you'd know the whole story.Basically at first launch the user can choose a main-topic, 1 out of 30 and after that, he can select sub-topics (options depending on the main-topic) out of a list.The twist is that sometimes a sub-topic can be selected via all main topics, so basically I'd need to account for the situation that all sub-topics could also be selected via all main-topics.And basically after the user has selected those, they'll get a daily notification about the topics via cloud functions and fcm.Now for the tricky part : I'm using fcm topics which the devices subscribe to, so I can basically broadcast those messages.At first I thought : Yeah, I'll just create a fcm topic for every main-topic and sub-topic there is, until I realized, I'd then be blasting out a massive amount of notifications.The information broadcasted per notification is not big at all, and although it sounds stupid, basically the content of every notification can be compressed to one digit.So basically, instead of broadcasting one message with one digit per topic, I'd want to publish one notification with all digits based on the selected topics on a daily basis to the user.The problem is that with all possible combinations to account for, I'd be sending in the millions of notifications per day, since I'd need to account for every possible combination of main-topics and sub-topics.Could you think of a better solution than just subbing a user to topic /topics/m12.s72.s63.s45.s52.s89.s31.s21.s94 and so forth since it doesn't seem exactly like best practise to me..?I'd be interested to hear your thoughts!​(BTW : I'm using as mentioned Firebase Cloud Messages fired by Firebase Cloud Functions to Flutter Applications running on Android and iOS)

August 26, 2020 at 03:10AM by klingens13
https://ift.tt/2Ek8G2C
New post on /r/flutterdev subreddit:

flutter and hybrib app build with vue js
i have a pwa build with vue js which use firebase . i have been able to converted to a mobile app with capacitor.i want to migrate it to flutter for most of it's part i was able to.but for one specific component that have a necessary functionality i can't and i don't want to.is there is any way to integrate that component in a flutter app by using a webview or any other plugin???

August 26, 2020 at 03:37AM by elouanesbg
https://ift.tt/3aV67j6
New post on Flutter Dev Google group:

Grouped Listview scrolling and fetching more data
hi, I use grouped listview. I want to load more content and merge them when user scroll down. Is there way to do that ?

August 26, 2020 at 05:24AM by selan.d...@gmail.com
https://ift.tt/32tIhaz
New post on Flutter Dev Google group:

Biometric for Samsung Android can use Face Auth?
Hello, Flutter-dev group I research about local auth for Samsung Android. I found only finger print. How to use Face auth like iPhone (FaceID) or Iris. Thank you.

August 26, 2020 at 05:29AM by Krutpong Khunthep
https://ift.tt/2Ex7EQy
New post on Flutter Dev Google group:

Flutter/Dart TLS v1.3
Hi, I am not sure whether I ask this question in the right group but here it is: Is there support for *TLS v1.3* in a flutter app (mobile, no web)? If yes how can I activate it? Thanks for your answers. Michael

August 26, 2020 at 11:36AM by Michael Szediwy
https://ift.tt/2YBBslZ
New post on Flutter Dev Google group:

Websocket in flutter with SSL and subscribe to a topic
Hi all I am tying to implement a code with flutter to connect a sever using webscoket but i can't get a link to subscribe a topic as well as implement ssl to connect.

August 26, 2020 at 01:32PM by Bichitra Pradhan
https://ift.tt/32uqQ9B
New post on /r/flutterdev subreddit:

Issue of AVD Manager (Unable to locate adb)
Hello i am new to flutter and android studio and i have got this error. I have already reinstall the platform-tool in SDK folder and the error still there. Is that concern with android studio newer version on mac? or is there any other way to try?

August 26, 2020 at 03:19PM by AungHeinHtet_3
https://ift.tt/2D0ZxLv
New post on Flutter Dev Google group:

is possible open widget just one time without using flag ( like boolean )
i made a widget that opens when satisfying some condition. but that condition keeps maintained and popup open continuously . how can i open just one time without using flag?

August 26, 2020 at 03:41PM by Jaesang Song
https://ift.tt/32sOBir
New post on Flutter Dev Google group:

events
Can I listen to system events?, such as on closing the application I want something to happen before it is shut down.

August 26, 2020 at 04:47PM by barak taya
https://ift.tt/2Emet7Q
New post on /r/flutterdev subreddit:

<b>Impressions after switching from Xamarin and developing an app with Flutter</b>
I have background in Xamarin.Forms development (<a href="https://github.com/maxim-saplin/CrossPlatformDiskTest">app1</a> with over 100k installs, <a href="https://github.com/maxim-saplin/xOPS-App">app2</a>). Some time ago while experimenting with <a href="https://www.reddit.com/r/FlutterDev/comments/gztwcu/flutter_performance_considerations_vs_react_and/">Dope Test</a> I got interested in Flutter and decided to give it a try.I've created a <a href="https://github.com/maxim-saplin/dikt">Dictionary app</a> I always missed (used ColorDict before, though was not happy with usability and looks of it).A short summary, <strong>I'm very excited and inspired by Flutter, no comming back to Xamarin and looking forwad to new features and capabilities!</strong>&#8203;<strong>What I liked:</strong>Awesome quick start <a href="https://flutter.dev/docs/get-started/flutter-for/xamarin-forms-devs">docs for Xamarin.Forms devs</a>Way more offten you get what you expect with Flutter than with Xamarin.It's just more stable and predictableI feel like there's more prodiuctivity and less bugs with F&#1076;utterWay fewer occasions of searching for some failures in Xamarin tooling and/or framework (e.g. after VS for Mac or Nuget upgrade, or minor changes to configs/sources in project) that suddenly break smth in the app.Nice YouTube videos explaining widgets and other dev topicsFlutter's framework and plugins complete sources are always local:Easy to step-into and debugOne can easily copy framework/plugin-in code to project directory and change it. Here's what I changed:Flutter's <code>SimpleDialog</code> to allow CustomScrollView inside<code>hive-1.4.1+1</code> to allow non ASCII chars in key value<code>reorderables-0.3.2</code> to implement the scenario of moving an item out of the list and dropping it on 'Delete' areaFirebases's <code>AnalyticsObserver</code> class that can now register ShowDialog navigation eventsLocalization with <code>i18n_extension</code> is more fun than C#/RESX approachHot reload and restart, tinkering with UI is so much faster/easier<a href="https://pub.dev">https://pub.dev</a> is more useful than <a href="https://www.nuget.org">https://www.nuget.org</a> (good search, conveniet integrated docs)Android app size is smallerDecalrative React/JSX style of building the UI is cleaner than XAML + C# code-behindI found Dart very close to C# and easy to start, with me it was faster to grasp rather than KotlinCurious abstraction for integers. There's single <code>int</code> type, there're no <code>byte</code>, <code>long</code> and other kinds of type sizes. Yet there's <code>Uint8List</code> collection type to deal with binray streams.&#8203;<strong>What I didn't like:</strong>Always felt handicapped with ecosystem's philisophy towards multithreading, out of 8 cores on my phone only 1 is effectively available to my code:Isolates model is very limitted. There's no memory sharing, marshaling of only primitive types and collections is available (Dart VM allows marshaling complex objects, not Flutter though)Some framework features and plugin-ins can't be utilized in Isolates:HiveDB can't load different boxes in separate isolates. Although each box is a separate file and there're very few sync issues, there're no quick workarounds that may allow parallel lazy loading of boxes (each in a separate isolate).Loading bundled assets (e.g. <code>rootBundle.loadString(asset)</code> ) in isolates is not possibleThere're several heavy weight scenarious (indexing dictionaries, cold start of app and initializing HiveDB) that could easily be sped up 4-6x times with proper multuthreading<code>StatefulWidget</code> doesn't have <code>build</code> method, due to some (not quite straightforward) implmementation details of Flutter widget tree must be built in <code>State<T></code>MS docs are still better and more complete than Flutter's official…
New post on Flutter Dev Google group:

Accessing camera settings
Can I access my Android/iOS native camera settings from flutter App? Eg : Turn On/Off flash,changing resolution,Zoom In/Out,AI, Timer,Enabling night mode etc

August 26, 2020 at 08:48PM by Sajin J S
https://ift.tt/3jbdQfU