Giter Club home page Giter Club logo

instagramapp's Introduction

instagramapp's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

instagramapp's Issues

Username not being shown in search fragment

In search fragment the username and full name is not being shown only follow/following button shows up. Though when I click on username it jumps to profile section so it's working properly. @Bhismydv Can you have a look at it please?
Screenshot_1585477945

app crashes

after adding feature of post visible on home fragment my app crashes

double post in story

Screenshot_20190330-161501
double post in story part.
I copied this from the video and incorporated it into my app.

I need to display notification on my phone

I need to display notification on my phone when a user post new story, and posts. And also in the Notifications Fragment when there is a new message in notifications fragment like commented message, liked your post and started following you. Please tell me the code to write and tell me where to write.

Can I add a Facebook login?

Thank you for your great tutorial.

I'm adding a Facebook login.
but The null value is returned from this point.

All I did was add this code.
implementation 'com.facebook.android:facebook-login:[4,5)'

In ProfileFragment.java

public void userInfo(){
    DatabaseReference reference = FirebaseDatabase.getInstance().getReference("Users").child(profileid);
    reference.addValueEventListener(new ValueEventListener() {
        @Override
        public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
            if (getContext() == null){
                return;
            }
           User user = dataSnapshot.getValue(User.class);


            Glide.with(getContext()).load(user.getImageurl()).into(image_profile);
            username.setText(user.getUsername());
            fullname.setText(user.getFullname());
            bio.setText(user.getBio());

        }

        @Override
        public void onCancelled(DatabaseError databaseError) {

        }
    });
}

  Process: com.devkang.mystar, PID: 23381
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.devkang.mystar.Model.User.getImageurl()' on a null object reference
    at com.devkang.mystar.Fragments.ProfileFragment$7.onDataChange(ProfileFragment.java:214)
    at com.google.firebase.database.core.ValueEventRegistration.fireEvent(com.google.firebase:firebase-database@@16.0.5:75)
    at com.google.firebase.database.core.view.DataEvent.fire(com.google.firebase:firebase-database@@16.0.5:63)
    at com.google.firebase.database.core.view.EventRaiser$1.run(com.google.firebase:firebase-database@@16.0.5:55)
    at android.os.Handler.handleCallback(Handler.java:789)
    at android.os.Handler.dispatchMessage(Handler.java:98)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6938)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

no post

no post is showing on home fragment. i copy the code from youtube video .
problem occur after end of video no 7 InstagramApp.
plz help me sir

I can't login.

I can't login and see message "Authentication failed.", But I can login reopen the app after off the app. However, main window is on loading. Photo can uploaded to firebase storage, however I can see the photo on the app.
how can I solve these issues? Please advise.

Debug message is as below;

04/14 18:05:39: Launching 'app' on samsung SM-N960N.
$ adb shell am start -n "com.test.oalng/com.test.oalng.StartActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Connecting to com.test.oalng
Waiting for application to start debug server
Waiting for application to come online: com.test.oalng | com.test.oalng.test
Connecting to com.test.oalng
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
D/ActivityThread: setConscryptValidator
setConscryptValidator - put
W/ActivityThread: Application com.test.oalng is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk
I/System.out: Debugger has connected
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
Connected to the target VM, address: 'localhost:8603', transport: 'socket'
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1332)
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation
I/FirebaseInitProvider: FirebaseApp initialization successful
I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:12 and remote module com.google.android.gms.measurement.dynamite:0
Selected local version of com.google.android.gms.measurement.dynamite
W/.test.oalng: Unsupported class loader
D/libEGL: loaded /vendor/lib64/egl/libGLES_mali.so
V/FA: onActivityCreated
I/MultiWindowDecorSupport: updateCaptionType >> DecorView@70c774e[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
D/MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@70c774e[]
W/.tjjv.coralfln: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
W/.tjjv.coralfln: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
V/FA: onActivityCreated
I/MultiWindowDecorSupport: updateCaptionType >> DecorView@539a265[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
D/MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@539a265[]
V/FA: App measurement collection enabled
V/FA: App measurement enabled for app package, google app id: com.test.oalng, 1:1053840417972:android:30341a1663610cbe6e23e1
I/FA: App measurement initialized, version: 25001
I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.test.oalng
D/FA: Debug-level message logging enabled
W/.tjjv.coralfln: Accessing hidden field Landroid/view/View;->mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate; (greylist, reflection, allowed)
V/FA: Connecting to remote service
V/FA: Connection attempt already in progress
V/FA: Activity resumed, time: 123485592
D/ViewRootImpl@ed75a08[MainActivity]: setView = com.android.internal.policy.DecorView@539a265 TM=true MM=false
D/ViewRootImpl@ed75a08[MainActivity]: stopped(true) old=false
I/FA: Tag Manager is not found and thus will not be used
V/FA: Connection attempt already in progress
V/FA: Connection attempt already in progress
V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 100
V/FA: Connection attempt already in progress
V/FA: Activity paused, time: 123485692
D/ViewRootImpl@ed75a08[MainActivity]: Relayout returned: old=(0,0,1080,2220) new=(0,0,1080,2220) req=(1080,2220)8 dur=18 res=0x1 s={false 0} ch=false
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 5
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/TcpOptimizer: TcpOptimizer-ON
D/libmdf: libmdf v2.9.0.0 On 64bit PLATFORM
D/FA: Application going to the background
W/SyncTree: Listen at /Follow/TgIbj3Y5a2gNN2ZPJH27FlRPbjD2/following failed: DatabaseError: Permission denied
V/FA: Inactivity, disconnecting from the service

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.