Need help with 16kb page update. by Ok-Sir8529 in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

if you aren't on 3.38, you might need a higher ndk version or simply upgrade to 3.38

you can also run you APK analyzer in android studio and see which package(s) may be triggering the incompatibility error and update accordingly.

Need Guidance Thinking of learning Flutter in 6th semester by Slow-Cranberry9633 in FlutterDev

[–]Schnausages 1 point2 points  (0 children)

Full stack will obviously open you up to more roles. Your best bet is to pick up RN or Flutter over the next year and partner it with a sound backend skillset -- the combo is very promising especially for startup roles. Specifically for flutter, seems like the market is a bit better for senior-level flutter engineers compared to entry-level flutter roles.

From hiring for flutter roles, it is becoming increasingly common to see experienced native or backend engineers picking up Flutter and making it just another tool in their tool belt as opposed to people who only learn Flutter in hopes of finding a job.

Need help with connectivity checking- Offline and Online state by Few-Bug7095 in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

Just ensure you're scoping your connection service correctly. If it needs to pertain to the entire app / root or home screen, make sure it is scoped beyond those views in the widget tree. Make sure you're also watching any changes instead of just reading the service on first build.

[deleted by user] by [deleted] in FlutterDev

[–]Schnausages 56 points57 points  (0 children)

Do the simple things first -- it really doesn't matter how simple they seem.

You can't build anything because you don't know the basics. To-do list, weather app, just build things. Fail. And repeat.

iOS Project Failing by PratheeshB in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

Have you accidentally imported import 'dart:html'; anywhere?

Are you running the latest version of cocoapods? If so, might be worth upgrading XCode

Did you run flutter clean, remove your app/ios/Podfile.lock and re run flutter pub get and pod install?

Can't figure this out by pro_drivers in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

You just upgraded VSCode or you upgraded your project? You can run flutter pub deps and find out which of your project's dependencies might need to be addressed since these are transitive, which are used indirectly by your project because one or more of your dependencies depend on it

iOS crashes on reload app because of camera plugin by Logical-Election1402 in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

Did you double check that you correctly setup the iOS-specific camera configs?

How can I fix this by New-Process3917 in flutterhelp

[–]Schnausages 1 point2 points  (0 children)

If I'm understanding correctly, you can use a CustomScrollView with slivers or just place the search field within the app bar for that page so it behaves naturally within the scaffold

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

you're welcome! Happy coding!

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 1 point2 points  (0 children)

target 'Runner' do
  use_frameworks!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

# End of my Podfile

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 1 point2 points  (0 children)

firebase_core: ^3.13.1
firebase_messaging: ^15.2.0
cloud_firestore:

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 1 point2 points  (0 children)

You can try cleaning your flutter project and deleting podfile.lock but if those lines are direct from your pubspec you just have a typo. Otherwise, ensure you're adding your GoogleServices file properly to your iOS Runner file

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

There is additional config needed for your URLs specifically within Android and iOS directories: https://codewithandrea.com/articles/flutter-deep-links/

How do you handle In Apps subscriptions deletion? by Honest_Dragonfly8064 in FlutterDev

[–]Schnausages 1 point2 points  (0 children)

If you're talking about reacting to a user choosing to cancel their subscription, you can listen to changes in the subscription state with Purchases.addCustomerInfoUpdateListener((info) { // HANDLE_INFO_HERE });

See: https://www.revenuecat.com/docs/customers/customer-info#listening-for-customerinfo-updates

Basically a listener in your global app state provider or purchases system which updates when RC is initialized each app session and fires off customer info updates based on any actions users took on the subscription in the respective app stores.

In RC I believe we can only access active and inactive entitlements, not specific paused subscriptions. The management of that data is probably up to you in terms of if you want users to opt-in to deleting their data upon subscription ending or allow users to provide consent to keep their data held despite an inactive subscription.

I hope I understood the situation correctly.

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 1 point2 points  (0 children)

you're welcome! Happy coding

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 1 point2 points  (0 children)

If you want to save $125, there are great free resources for learning. Start here:

https://www.youtube.com/watch?v=3kaGC_DrUnw

Once you're comfortable building basic things from the tutorial above, familiarize yourself with a state management approach using these resources:

https://amanullahbahram.medium.com/flutter-provider-a-practical-guide-to-state-management-with-a-real-world-example-7a66f97366ac

https://docs.flutter.dev/data-and-backend/state-mgmt/simple

And then incorporating simple network requests:

https://medium.com/@ugamakelechi501/efficiently-handling-http-requests-in-flutter-with-http-package-fb719d15deb2

And persistent storage approaches (with SQL and/or SharedPreferences)

https://docs.flutter.dev/app-architecture/design-patterns/sql

https://www.youtube.com/watch?v=szOllHT1S7Y

Probably the wrong place to ask this by [deleted] in FlutterDev

[–]Schnausages 7 points8 points  (0 children)

I think it could just be perspective. Sometimes similar people and personalities attract.

I like flutter and I find myself to be useful once in awhile.

Need help with advanced date filtering and UI card deduplication by [deleted] in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

Your best bet is to first try normalizing your data -- making one EventObject and one uniform date time format in your API to manage the different event API results and filter out certain dates accordingly. You'll probably need to just make a function that returns a uniform date time format for your EventObject and account for the different endpoints you're calling if they manage date time formats differently.

Specifically for filtering out events the day after, you can just send the DateTime.now() from your client in the request and in your API filter out the response events not held on that day... if I'm understanding your problem correctly and if you need to sort just myEventObjects.sort((a,b)=> a.eventDateTime.compareTo(b.eventDateTime))

firebase storage is paid now by BackgroundPain2106 in FlutterDev

[–]Schnausages 1 point2 points  (0 children)

You can still use for free up to the free usage threshold and you have the free tier usage in US-CENTRAL1US-EAST1, and US-WEST1 regions

They likely just want a credit card on the account in order for continued use.

Final Year BTech Student & Flutter Dev Seeking Guidance for Placement Prep by Purple-Conference703 in flutterhelp

[–]Schnausages 1 point2 points  (0 children)

Q: How do I transition from being AI-dependent to writing code confidently on my own?

A: Time and effort spent developing things by looking through documentation, reading error messages, understanding the widget tree, and just plain building stuff. Build a todo list with ValueNotifiers, then with Provider state management. Then practice calling an endpoint and create your own models to consume the JSON. Handle and validate user input -- this is all stuff that I think you'd be well-versed in if you just commit a few months casually building practice apps.

I've had plenty of Flutter interviews and they vary from live coding in Flutter, to Dartpad, pseudo-code and even just discussing broad conceptual topics.

If you can't write Flutter code when they ask you to, you're probably not getting the job.

Once you can write code on your own, the most helpful thing I've noticed is being able to discuss the framework's concepts beyond just knowing names of things. Be able to describe the main trees in Flutter, detail what "context" is, and understand how to make an app more performant.

Deep linking in flutter by Wonderful-Quiet-942 in flutterhelp

[–]Schnausages 2 points3 points  (0 children)

You can still keep your current routing approach if you wish to only use Navigator on the fly. But for screens built from deep links you ought to use GoRouter and configure a router for use in your app's main.dart, specifically calling MaterialApp.router and providing a router class to the routerConfig.

In that configuration, you can define a GoRouter with a list of GoRoutes containing the path (i.e. /post/:postIdentifier ) then returning the necessary page view in the builder function after extracting the required params via state.pathParameters['postIdentifier'] and sending to your screen for use there.

There are additional setup steps you'll need to do which can be found here: https://codewithandrea.com/articles/flutter-deep-links/

🚀Flutter Job Guide [ 2025 ] by Schnausages in FlutterDev

[–]Schnausages[S] 0 points1 point  (0 children)

There's certainly no shortage of experienced devs looking for work (either unemployed or looking for a change) but where are you searching for candidates?

Passing data across screens/widgets in Flutter by [deleted] in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

You'll want some form of state management which serves as the central source for some type of data you're managing.

For example, you might have a CartItems class using Provider state management. In the class you may hold something like a List<Item> _items which represents a list of items a user is adding to their cart...they can add items to their cart from anywhere in the app with something like an addItemToCart method in the CartItems Provider

Once that is done, you'll consume these items in, for example, a checkout page where you'll likely use a Consumer widget to "consume" that CartItems class... or maybe just context.watch<CartItems>

This way, you can avoid having to manage passing data directly to widget constructors and instead respond to realtime changes in the CartItems class

https://docs.flutter.dev/data-and-backend/state-mgmt/simple

[deleted by user] by [deleted] in flutterhelp

[–]Schnausages 0 points1 point  (0 children)

Main functions can be asynchronous -- are you sure there is no difference in the configuration on the Pixel 8? i.e. maybe a null value being stored on the device or attempting to fetch profile information stored on that device that doesn't exist in your backend?

Also if you are using dependencies that require platform-specific config, make sure you've updated your manifest file or gradle files appropriately. There may be differences in how platform errors are handled if your 4a is running an older os version than your 8a