This app is an example of how you can build an ecommerce project. Built during DevCamp 2023 and 2024.
- Auth State Persistence
- State Restoration
- Use .env file for server address
- Add Melos
- Local/Push Notifications
Wow Shopping - Flutter DevCamp 2023 & 2024 - State Management
This is only happening in iOS Simulator. But when you turn off the WiFi onConnectivityChanged still shows WiFifi is turned on instead of off.
I have tested with my own projects and the onConnectivityChanged is behaving the same way, I believe the issue is with the connectivity_plus plugin.
But if you do the following it works ok but will break again
my testing code:
connectionService.connectivity.onConnectivityChanged
.listen((connectivityResult) {
debugPrint('connectivityResult: ${connectivityResult.name}');
});
return StreamBuilder(
initialData: snapshot.requireData,
stream: onConnectivityChanged,
builder: (BuildContext context, AsyncSnapshot<ConnectivityResult> snapshot) {
final result = snapshot.requireData;
return _ConnectivityBannerHost(
isConnected: result != ConnectivityResult.none,
It returns ConnectivityResult..wifi instead of .none
By the way, when you run it on an actual iPhone device it looks like its working fine.
Thanks
I have updated baseApiUrl with "http://mywifiAPadress:57712". run server and run the project by this command "flutter run lib/main_dev.dart". still it keeps loading on pressing login button. How to make app works then?
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.