New post on /r/flutterdev subreddit:
Problem: Push Notifications Flutter
Hello! I am trying to send a push notification (see code below) to User A when User B follows User A, but for some reasons it does NOT work. I am not getting any errors, but I think there is something wrong about my code. Can you please tell me what is wrong or what can be improved about my code? Thanks!home.dart:void initState() {super.initState();FirebaseMessaging messaging = FirebaseMessaging();messaging.requestNotificationPermissions();messaging.configure();messaging.configure(onMessage: (message) {print(message);return;}, onLaunch: (message) {print(message);return;}, onResume: (message) {print(message);return;});messaging.getToken().then((value) => print(value));}functions>index.js:const functions = require('firebase-functions');const admin = require('firebase-admin');admin.initializeApp();exports.onCreateFollowerNotification = functions.firestore.document('/followers/{userId}/userFollowers/{followerId}').onCreate((snapshot, context) => {console.log('Notification on Follower Created', snapshot.id);const userId = context.params.userId;const followerId = context.params.followerId;const registrationToken = [userId];return admin.messaging().sendToDevice(registrationToken, {notification: {title: followerId,body: '${followerId} is following you',}})});
June 29, 2021 at 10:02PM by Alvaro-99
https://ift.tt/3xY45t0
Problem: Push Notifications Flutter
Hello! I am trying to send a push notification (see code below) to User A when User B follows User A, but for some reasons it does NOT work. I am not getting any errors, but I think there is something wrong about my code. Can you please tell me what is wrong or what can be improved about my code? Thanks!home.dart:void initState() {super.initState();FirebaseMessaging messaging = FirebaseMessaging();messaging.requestNotificationPermissions();messaging.configure();messaging.configure(onMessage: (message) {print(message);return;}, onLaunch: (message) {print(message);return;}, onResume: (message) {print(message);return;});messaging.getToken().then((value) => print(value));}functions>index.js:const functions = require('firebase-functions');const admin = require('firebase-admin');admin.initializeApp();exports.onCreateFollowerNotification = functions.firestore.document('/followers/{userId}/userFollowers/{followerId}').onCreate((snapshot, context) => {console.log('Notification on Follower Created', snapshot.id);const userId = context.params.userId;const followerId = context.params.followerId;const registrationToken = [userId];return admin.messaging().sendToDevice(registrationToken, {notification: {title: followerId,body: '${followerId} is following you',}})});
June 29, 2021 at 10:02PM by Alvaro-99
https://ift.tt/3xY45t0
snapshot.id
Snapshot.Id - Easy way to find next airdrop
Easy way to find next airdrop that you miss before
New post on /r/flutterdev subreddit:
ENC viewer with Flutter
hey, i am an amateur in flutter and dart but i wish to build a Electronic Navigational Chart and i was wondering if you can help me or if possible give me an ENC viewer that has APIs i can use, thank you for your time
June 29, 2021 at 09:46PM by seiifba
https://ift.tt/3jsb49I
ENC viewer with Flutter
hey, i am an amateur in flutter and dart but i wish to build a Electronic Navigational Chart and i was wondering if you can help me or if possible give me an ENC viewer that has APIs i can use, thank you for your time
June 29, 2021 at 09:46PM by seiifba
https://ift.tt/3jsb49I
reddit
r/FlutterDev - ENC viewer with Flutter
0 votes and 0 comments so far on Reddit
New post on /r/flutterdev subreddit:
Unbounded height / width | Decoding Flutter
https://youtube.com/watch?v=jckqXR5CrPI&feature=share
June 30, 2021 at 12:13AM by Pixelreddit
https://ift.tt/2UQgzEO
Unbounded height / width | Decoding Flutter
https://youtube.com/watch?v=jckqXR5CrPI&feature=share
June 30, 2021 at 12:13AM by Pixelreddit
https://ift.tt/2UQgzEO
YouTube
Unbounded height / width | Decoding Flutter
You put a ListView in a column and you get the error “Viewport was given unbounded height”. What do you do now? Learn why you might be getting this error and what you can do to fix it.
Leave us suggestions for code to unravel in the comments below!
How…
Leave us suggestions for code to unravel in the comments below!
How…
New post on /r/flutterdev subreddit:
Safely unpacking JSON objects in Dart
https://ift.tt/3dsOFoy
June 30, 2021 at 06:37AM by Suragch
https://ift.tt/3AeQTC0
Safely unpacking JSON objects in Dart
https://ift.tt/3dsOFoy
June 30, 2021 at 06:37AM by Suragch
https://ift.tt/3AeQTC0
Medium
Safely unpacking JSON objects in Dart
Navigating null safety with no implicit casts or implicit dynamic types
New post on /r/flutterdev subreddit:
Most useful FlutterFire plugins for your Flutter app
https://ift.tt/35XFxV7
June 30, 2021 at 07:34AM by pinkeshdarji
https://ift.tt/3AmABXV
Most useful FlutterFire plugins for your Flutter app
https://ift.tt/35XFxV7
June 30, 2021 at 07:34AM by pinkeshdarji
https://ift.tt/3AmABXV
LogRocket Blog
Add Firebase to your Flutter app with FlutterFire plugins - LogRocket Blog
Learn how to integrate the FlutterFire plugins Authentication, Cloud Firestore, Remote Config, Crashlytics, and Analytics in a Flutter app.
New post on /r/flutterdev subreddit:
A feature rich Android launcher made in flutter
https://ift.tt/3Ad5y0t
June 30, 2021 at 08:54AM by LopsidedResearcher
https://ift.tt/3y7sHQa
A feature rich Android launcher made in flutter
https://ift.tt/3Ad5y0t
June 30, 2021 at 08:54AM by LopsidedResearcher
https://ift.tt/3y7sHQa
GitHub
GitHub - K-Rafiki/swiftlauncher: A feature rich Android launcher made in flutter framework
A feature rich Android launcher made in flutter framework - GitHub - K-Rafiki/swiftlauncher: A feature rich Android launcher made in flutter framework
New post on Flutter Dev Google group:
Execution failed for task ':flutter:compileFlutterBuildDebug'.
Kindly help to resolve the following error, as I am new to programming. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':flutter:compileFlutterBuildDebug'. > java.io.IOException: The device is not ready * Try: Run with --stacktrace option to get the stack
June 30, 2021 at 10:52AM by Dollar Divinity
https://ift.tt/3hiRVUW
Execution failed for task ':flutter:compileFlutterBuildDebug'.
Kindly help to resolve the following error, as I am new to programming. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':flutter:compileFlutterBuildDebug'. > java.io.IOException: The device is not ready * Try: Run with --stacktrace option to get the stack
June 30, 2021 at 10:52AM by Dollar Divinity
https://ift.tt/3hiRVUW
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Looking for an online teacher assisted flutter course/bootcamp
I am a complete beginner and I want to learn app development with flutter but I can not do it on my own. I work full time, and I am not very organized with my free time. Most times I start courses I get stuck and there's no one to ask so I just quit. I am hoping that having a teacher-assisted course will solve that problem, but I can not find any.Do you have any recommendations?Also, I've also been thinking of hiring someone to teach me this. How much do you think that would cost me?
June 30, 2021 at 12:10PM by Criss-Istr
https://ift.tt/3dsLJsq
Looking for an online teacher assisted flutter course/bootcamp
I am a complete beginner and I want to learn app development with flutter but I can not do it on my own. I work full time, and I am not very organized with my free time. Most times I start courses I get stuck and there's no one to ask so I just quit. I am hoping that having a teacher-assisted course will solve that problem, but I can not find any.Do you have any recommendations?Also, I've also been thinking of hiring someone to teach me this. How much do you think that would cost me?
June 30, 2021 at 12:10PM by Criss-Istr
https://ift.tt/3dsLJsq
reddit
Looking for an online teacher assisted flutter course/bootcamp
I am a complete beginner and I want to learn app development with flutter but I can not do it on my own. I work full time, and I am not very...
New post on /r/flutterdev subreddit:
Publishing Flutter Windows app to Microsoft Store
I'm trying to publish a MSIX package made out of flutter project to Microsoft Store. I have deployed the app 5 times but they are rejecting the app saying the app is freezing in splash screen. We have tested the app on several PCs and it is working without any issues.I couldn't find a proper article regarding the publishing flutter windows app to store.I am curious if anyone has ever published a flutter windows app to the store.I am not asking for help in troubleshooting, I just want to know if it is even possible to publish the Flutter app to Microsoft Store yet.Thanks!
June 30, 2021 at 12:51PM by _the_airbender_
https://ift.tt/3jsZw5L
Publishing Flutter Windows app to Microsoft Store
I'm trying to publish a MSIX package made out of flutter project to Microsoft Store. I have deployed the app 5 times but they are rejecting the app saying the app is freezing in splash screen. We have tested the app on several PCs and it is working without any issues.I couldn't find a proper article regarding the publishing flutter windows app to store.I am curious if anyone has ever published a flutter windows app to the store.I am not asking for help in troubleshooting, I just want to know if it is even possible to publish the Flutter app to Microsoft Store yet.Thanks!
June 30, 2021 at 12:51PM by _the_airbender_
https://ift.tt/3jsZw5L
reddit
Publishing Flutter Windows app to Microsoft Store
I'm trying to publish a MSIX package made out of flutter project to Microsoft Store. I have deployed the app 5 times but they are rejecting the...
New post on /r/flutterdev subreddit:
water_drop_nav_bar | Flutter Package
https://ift.tt/3hj0Fu1
June 30, 2021 at 02:54PM by pavel_birdy
https://ift.tt/3h64yUj
water_drop_nav_bar | Flutter Package
https://ift.tt/3hj0Fu1
June 30, 2021 at 02:54PM by pavel_birdy
https://ift.tt/3h64yUj
Dart packages
water_drop_nav_bar | Flutter package
Bottom navigation bar, it has unique water drop effect. When water droplet falls it marks seleted item.
New post on /r/flutterdev subreddit:
Camera app using Flutter or Swift
Hi,I am looking for advice from experienced mobile app developers regarding using Flutter for my future camera app development.Short intro: I have started programming a year ago and have developed an Android app, which I published on Google Play. It is a camera app written in Kotlin using CameraX, which allows to take pictures, adds text (timestamp and more) and eventually a logo to the photo and saves it into a specific folder in the main pictures folder on Android with a custom file name. The app also uses the GPS location of the user to add the coordinates and address (retrieved over the internet) onto the picture. The app has more features, but this are the most important ones. The app relies heavily on the interaction with the camera (zoom, auto-focus, tap-to-focus, brightness control), the GPS location service and most importantly with the external storage of the phone.I would now like to develop the same app for iOS, however I am struggling to decide if I should write the app in Swift or Flutter. Both are unknown to me yet, so taking a decision is even harder. I would like to build an identical app for iOS and when completed, add more features to both the iOS and Android version. As I am a sole developer, the developing time is important and I thought about building a multi-platform app which would eventually "overtake" the native Android app and I could continue to code in Flutter for both the iOS and Android version. My big worry is that because the app relies so heavily on the camera, GPS service and storage interaction, I could encounter problems with Flutter and it might be best to develop the iOS version natively with Swift.What are your thoughts on this? I really really appreciate your help!
June 30, 2021 at 01:41PM by Michael_K14
https://ift.tt/3AhCvci
Camera app using Flutter or Swift
Hi,I am looking for advice from experienced mobile app developers regarding using Flutter for my future camera app development.Short intro: I have started programming a year ago and have developed an Android app, which I published on Google Play. It is a camera app written in Kotlin using CameraX, which allows to take pictures, adds text (timestamp and more) and eventually a logo to the photo and saves it into a specific folder in the main pictures folder on Android with a custom file name. The app also uses the GPS location of the user to add the coordinates and address (retrieved over the internet) onto the picture. The app has more features, but this are the most important ones. The app relies heavily on the interaction with the camera (zoom, auto-focus, tap-to-focus, brightness control), the GPS location service and most importantly with the external storage of the phone.I would now like to develop the same app for iOS, however I am struggling to decide if I should write the app in Swift or Flutter. Both are unknown to me yet, so taking a decision is even harder. I would like to build an identical app for iOS and when completed, add more features to both the iOS and Android version. As I am a sole developer, the developing time is important and I thought about building a multi-platform app which would eventually "overtake" the native Android app and I could continue to code in Flutter for both the iOS and Android version. My big worry is that because the app relies so heavily on the camera, GPS service and storage interaction, I could encounter problems with Flutter and it might be best to develop the iOS version natively with Swift.What are your thoughts on this? I really really appreciate your help!
June 30, 2021 at 01:41PM by Michael_K14
https://ift.tt/3AhCvci
reddit
Camera app using Flutter or Swift
Hi, I am looking for advice from experienced mobile app developers regarding using Flutter for my future camera app development. Short intro: I...
New post on /r/flutterdev subreddit:
A new flutter plugin!
Flutter Shortcuts - A flutter plugin for creating static & dynamic app shortcuts on home screen.Found it really useful, what's other flutter community members views on this plugin.Pub dev link: https://pub.dev/packages/flutter_shortcutsGithub repo: https://github.com/DevsOnFlutter/flutter_shortcuts
June 30, 2021 at 04:13PM by DredditorS
https://ift.tt/2SI6wRy
A new flutter plugin!
Flutter Shortcuts - A flutter plugin for creating static & dynamic app shortcuts on home screen.Found it really useful, what's other flutter community members views on this plugin.Pub dev link: https://pub.dev/packages/flutter_shortcutsGithub repo: https://github.com/DevsOnFlutter/flutter_shortcuts
June 30, 2021 at 04:13PM by DredditorS
https://ift.tt/2SI6wRy
Dart packages
flutter_shortcuts | Flutter Package
Flutter plugin for creating static & dynamic app/conversation shortcuts on home screen.
New post on /r/flutterdev subreddit:
Flutter: Building Beautiful Windows apps — Fluent Design Buttons, Toggle Switches, Checkboxes and Sliders
The Fluent Design is Microsoft’s solution for designing beautiful Windows programs. Flutter has finally expanded support to Windows UWP in Google I/O 2021, which calls for well-designed Windows apps. In this article, I will show you how to create buttons, checkboxes, and sliders with Flutter.Read the whole post here.
June 30, 2021 at 03:58PM by Viruscatman
https://ift.tt/363MuE4
Flutter: Building Beautiful Windows apps — Fluent Design Buttons, Toggle Switches, Checkboxes and Sliders
The Fluent Design is Microsoft’s solution for designing beautiful Windows programs. Flutter has finally expanded support to Windows UWP in Google I/O 2021, which calls for well-designed Windows apps. In this article, I will show you how to create buttons, checkboxes, and sliders with Flutter.Read the whole post here.
June 30, 2021 at 03:58PM by Viruscatman
https://ift.tt/363MuE4
Medium
Flutter: Building Beautiful Windows apps — Fluent Design Buttons, Toggle Switches, Checkboxes and Sliders
The Fluent Design is Microsoft’s solution for designing beautiful Windows programs. Flutter has finally expanded support to Windows UWP in…
New post on /r/flutterdev subreddit:
Has anyone used the eo_renderer package? Curious to hear if it is worth implementing in Flutter Web
https://ift.tt/3wT6FAg
June 30, 2021 at 05:55PM by McCossum
https://ift.tt/3hpUh4n
Has anyone used the eo_renderer package? Curious to hear if it is worth implementing in Flutter Web
https://ift.tt/3wT6FAg
June 30, 2021 at 05:55PM by McCossum
https://ift.tt/3hpUh4n
Dart packages
seo_renderer | Flutter Package
A flutter plugin to render text widgets as html for SEO purpose.
New post on /r/flutterdev subreddit:
Has anyone used the seo_renderer package? Curious to hear if it is worth implementing in Flutter Web
https://ift.tt/3wT6FAg
June 30, 2021 at 06:26PM by McCossum
https://ift.tt/3jtQ2Y5
Has anyone used the seo_renderer package? Curious to hear if it is worth implementing in Flutter Web
https://ift.tt/3wT6FAg
June 30, 2021 at 06:26PM by McCossum
https://ift.tt/3jtQ2Y5
Dart packages
seo_renderer | Flutter Package
A flutter plugin to render text widgets as html for SEO purpose.
New tweet from FlutterDev:
💙 #WidgetoftheWeek goes to... ✨ MouseRegion ✨ Ever wondered how to capture a mouse over a widget? MouseRegion lets you know when a mouse is in a certain space! Just wrap it around a widget and listen for the enter, exit, or hover events. Learn more → https://t.co/og9SI1pemC https://t.co/QHXbCoZHsJ— Flutter (@FlutterDev) Jun 30, 2021
June 30, 2021 at 07:30PM
http://twitter.com/FlutterDev/status/1410289584026570753
💙 #WidgetoftheWeek goes to... ✨ MouseRegion ✨ Ever wondered how to capture a mouse over a widget? MouseRegion lets you know when a mouse is in a certain space! Just wrap it around a widget and listen for the enter, exit, or hover events. Learn more → https://t.co/og9SI1pemC https://t.co/QHXbCoZHsJ— Flutter (@FlutterDev) Jun 30, 2021
June 30, 2021 at 07:30PM
http://twitter.com/FlutterDev/status/1410289584026570753
YouTube
MouseRegion (Flutter Widget of the Week)
Learn more about MouseRegion → https://goo.gle/MouseRegion
Have you ever wondered how to detect if a mouse is over a widget? Wrap your widget with MouseRegion to detect when a mouse enters, exits, or hovers over it. You can even change what the cursor looks…
Have you ever wondered how to detect if a mouse is over a widget? Wrap your widget with MouseRegion to detect when a mouse enters, exits, or hovers over it. You can even change what the cursor looks…
New post on /r/flutterdev subreddit:
Reasons Why Flutter App Development Is in trend for Startups in 2021?
https://ift.tt/3qBLWPa
June 30, 2021 at 08:00PM by alexisgilburt
https://ift.tt/3jwmqJE
Reasons Why Flutter App Development Is in trend for Startups in 2021?
https://ift.tt/3qBLWPa
June 30, 2021 at 08:00PM by alexisgilburt
https://ift.tt/3jwmqJE
Medium
Reasons Why Flutter App Development Is in trend for Startups in 2021?
Know why Flutter App Development is trending like a hot cake!
New post on /r/flutterdev subreddit:
MouseRegion (Flutter Widget of the Week)
https://youtube.com/watch?v=1oF3pI5umck&feature=share
June 30, 2021 at 07:11PM by Pixelreddit
https://ift.tt/3yezzv7
MouseRegion (Flutter Widget of the Week)
https://youtube.com/watch?v=1oF3pI5umck&feature=share
June 30, 2021 at 07:11PM by Pixelreddit
https://ift.tt/3yezzv7
YouTube
MouseRegion (Flutter Widget of the Week)
Learn more about MouseRegion → https://goo.gle/MouseRegion
Have you ever wondered how to detect if a mouse is over a widget? Wrap your widget with MouseRegion to detect when a mouse enters, exits, or hovers over it. You can even change what the cursor looks…
Have you ever wondered how to detect if a mouse is over a widget? Wrap your widget with MouseRegion to detect when a mouse enters, exits, or hovers over it. You can even change what the cursor looks…
New post on /r/flutterdev subreddit:
Globals Dart File Is An AntiPattern
https://ift.tt/3yfsiv7
June 30, 2021 at 08:43PM by fredgrott
https://ift.tt/3dv8f3w
Globals Dart File Is An AntiPattern
https://ift.tt/3yfsiv7
June 30, 2021 at 08:43PM by fredgrott
https://ift.tt/3dv8f3w
Medium
Globals Dart File Is An AntiPattern
You might think putting a Globals dart file in your Flutter App is a good idea. I am here to show you that it’s not a good idea.
New post on /r/flutterdev subreddit:
flutter_shortcuts | Flutter Package
https://ift.tt/3uc7nGH
July 01, 2021 at 01:19AM by DredditorS
https://ift.tt/3dqY9Rt
flutter_shortcuts | Flutter Package
https://ift.tt/3uc7nGH
July 01, 2021 at 01:19AM by DredditorS
https://ift.tt/3dqY9Rt
Dart packages
flutter_shortcuts | Flutter Package
Flutter plugin for creating static & dynamic app shortcuts on home screen.
New post on Flutter Dev Google group:
Problem: Push Notifications Flutter
Hello! In functions, if I want to get a specific field (the "userDeviceToken") from my Firebase database, how would I do it? I have a 4 options below but I do not know which one is correct (see below): *functions>index.js:* exports.onCreateFollowerNotification = functions.firestore .document('
July 01, 2021 at 02:47AM by Alvaro Gonzalez Rico
https://ift.tt/3hqsf8G
Problem: Push Notifications Flutter
Hello! In functions, if I want to get a specific field (the "userDeviceToken") from my Firebase database, how would I do it? I have a 4 options below but I do not know which one is correct (see below): *functions>index.js:* exports.onCreateFollowerNotification = functions.firestore .document('
July 01, 2021 at 02:47AM by Alvaro Gonzalez Rico
https://ift.tt/3hqsf8G
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.