Giter VIP home page Giter VIP logo

flutter_pk's People

Contributors

aubykhan avatar wal33d006 avatar

Stargazers

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

Watchers

 avatar  avatar

flutter_pk's Issues

google-services.json is missing

The code is not running without google-services.json
here is the log

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
D:\uni_projects\flutter\flutter_pk\flutter_pk\android\app\src\nullnull\debug\google-services.json
D:\uni_projects\flutter\flutter_pk\flutter_pk\android\app\src\debug\nullnull\google-services.json
D:\uni_projects\flutter\flutter_pk\flutter_pk\android\app\src\nullnull\google-services.json
D:\uni_projects\flutter\flutter_pk\flutter_pk\android\app\src\debug\google-services.json
D:\uni_projects\flutter\flutter_pk\flutter_pk\android\app\src\nullnullDebug\google-services.json
D:\uni_projects\flutter\flutter_pk\flutter_pk\android\app\google-services.json

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 45s
Finished with error: Gradle task assembleDebug failed with exit code 1

Refactor code to create service layer

There are no service classes to abstract firebase/datastore access. Need to build some to enable testability and ability to change datasource if one doesn't want to use firebase.

Support for push notifications

If organizers want to update all users about something, they should have a way by posting a message on a topic through Firebase console and the app should have Firebase push notification integration to show that message to the user.

Refactor theming

There should be single place ideally, to control the theme of the app. It's fairly easy to do provided the simplistic nature of the app in current version.

Enhance fullscreen loader

Fullscreen loader can be updated to look like below:

FullscreenLoader(
  child: <child page or body>
  isLoading: <is loading or not>
)

This should abstract the creation of Fullscreen loader itself as right now we have to put it in a stack ourselves outside the widget.

Unhandled Exception: Bad state: No element

After login successfully i got the following exception:

E/flutter (16918): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Bad state: No element
E/flutter (16918): #0 List.first (dart:core/runtime/libgrowable_array.dart:216:5)
E/flutter (16918): #1 CustomAppBarState.initState.. (package:flutter_pk/widgets/custom_app_bar.dart:30:29)

snapshot.hasData on schedule_page.dart file returns true i don't know why
if (!snapshot.hasData)
return Center(
child: Text(
'Nothing found!',
style: Theme.of(context).textTheme.title.copyWith(
color: Colors.black26,
fontWeight: FontWeight.bold,
),
),
);

Show registration status

Users apply for registration through the app but the app currently does not show them registration status. This will require adding a new field in user object as well as a UI element in the app (on home screen?) that should show the user their registration status after they have completed their registration through the app.

Refactor theming

There should be single place ideally, to control the theme of the app. It's fairly easy to do provided the simplistic nature of the app in current version.

CachedNetworkImage not working

cached_network_image is not working on Flutter Channel master, v1.12.11-pre.10, Following exception is occurring:

Compiler message: /D:/Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.3/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'. ImageStreamCompleter load(CachedNetworkImageProvider key) { ^ /D:/Flutter/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load'). ImageStreamCompleter load(T key, DecoderCallback decode); ^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed. 
FAILURE: Build failed with an exception.

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.