Giter VIP home page Giter VIP logo

ansh-rathod / flutter-photoarc-app Goto Github PK

View Code? Open in Web Editor NEW
89.0 89.0 18.0 56.45 MB

(Full-stack) Fully functional social media app (Instagram clone) written in flutter and dart with backend node.js and Postgres SQL.

Kotlin 0.05% Swift 0.14% Objective-C 0.01% Dart 89.33% HTML 1.35% CMake 2.90% C++ 5.96% C 0.26%
android app exprees flutter flutter-apps full-stack instagram instagram-api nodejs photos social-media

flutter-photoarc-app's Introduction

GitHub Stats :

Ansh-rathod's GitHub stats Ansh-Rathod's github stats Top Langs

CodeTime badge

flutter-photoarc-app's People

Contributors

ansh-rathod 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  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

flutter-photoarc-app's Issues

still gray screan....

hi dear @Ansh-Rathod
I tested my backend with postman successfully
but in my app, after clicking on the "authenticate" button, the app stuck on a gray screen
after debugging with android studio I saw these error on console:


======== Exception caught by widgets library =======================================================
The following StateError was thrown building InheritedProvider<CurrentUserCubit>:
Bad state: Tried to read a provider that threw during the creation of its value.
The exception occurred during the creation of type CurrentUserCubit.


══╡ EXCEPTION CAUGHT BY PROVIDER ╞═══════════════════════════════
The following _CastError was thrown:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      _BottomNavBarState.build.<anonymous closure> (package:social_media/screens/bottom_nav_bar/bottom_nav_bar.dart:52:59)
#1      _CreateInheritedProviderState.value (package:provider/src/inherited_provider.dart:729:36)
#2      _InheritedProviderScopeElement.value (package:provider/src/inherited_provider.dart:583:33)
#3      Provider.of (package:provider/src/provider.dart:303:37)
#4      ReadContext.read (package:provider/src/provider.dart:656:21)
#5      _BlocBuilderBaseState.initState (package:flutter_bloc/src/bloc_builder.dart:129:36)
#6      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4805:57)
#7      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4638:5)

 

I debug the flutter project with the emulator for hours and I believe that the problem is firebase!!!
in these lines:

 return BlocProvider(
      create: (context) => CurrentUserCubit()
        ..setCurrentUser(FirebaseAuth.instance.currentUser!.uid),
      child: BlocBuilder<CurrentUserCubit, CurrentUserState>(

currentUser is always null, also CurrentUserCubit and CurrentUserState have not correct data, and it leads to an exception

how should I configure my firebase settings?
best regards,
peiman sh

there is no sign up

hi Mr @Ansh-Rathod
thanks for your priceless repo!!!
I tested your apk and I saw there was no sign-up page. there was only login and after logining a gray screen!!!
Then I compile the flutter project myself but the same results!!!

could you get me some help??!!!

like does not woik

hi Mr @Ansh-Rathod
likes didnt save correctly
when I like a post and leave then come back again, I see no like!!!!
have you seen this before?

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.