GithubHelp home page GithubHelp logo

slightfoot / wow_shopping Goto Github PK

View Code? Open in Web Editor NEW
62.0 16.0 50.0 1.64 MB

Wow Shopping - Flutter DevCamp 2023 & 2024 - State Management

Kotlin 0.07% Swift 0.35% Objective-C 0.02% Dart 99.30% Dockerfile 0.27%

wow_shopping's Introduction

Flutter DevCamp

WOW Shopping App Example

This app is an example of how you can build an ecommerce project. Built during DevCamp 2023 and 2024.

Todo

  • Auth State Persistence
  • State Restoration
  • Use .env file for server address
  • Add Melos
  • Local/Push Notifications

wow_shopping's People

Contributors

slightfoot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wow_shopping's Issues

connection_monitor - iOS Simulator - onConnectivityChanged not showing Wifi going off

This is only happening in iOS Simulator. But when you turn off the WiFi onConnectivityChanged still shows WiFifi is turned on instead of off.

  1. Run the App with WiFi turned on
  2. Turn off the WiFi on Mac
  3. onConnectivityChanged still shows 'wifi' instead of 'none' for internet connection

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

  1. Run the App with WiFi turned off
  2. Turn on the WiFi on Mac (it works)
  3. Turn off the WifFi on Mac
  4. onConnectivityChanged still shows 'wifi' instead of 'none' for internet connection

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.