Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jacob Chen
    @jchen114
    tuesday - thursday
    hkmushtaq
    @hkmushtaq
    oh trueee
    when u going to VC?
    Jacob Chen
    @jchen114
    Thursday night
    hkmushtaq
    @hkmushtaq
    kk
    when do u come back down
    Jacob Chen
    @jchen114
    we gotta find bike rentals
    you guys gonna meet me on Saturday?
    hkmushtaq
    @hkmushtaq
    yea sure
    sounds like a plan
    yo i gotta go but tell britt to check out the broadcast receiver
    Jacob Chen
    @jchen114
    alright man
    take care
    hkmushtaq
    @hkmushtaq
    I'll be back in like an 2-3 hrs
    Jacob Chen
    @jchen114
    well try to finish it
    hkmushtaq
    @hkmushtaq
    just wanna take a nap real quick
    Jacob Chen
    @jchen114
    do it
    hkmushtaq
    @hkmushtaq
    the latest request made to the server shows undefined
    for the deviceToken
    just wanna let you know
    Britt Mathis
    @bmuk
    James was using an old version
    hkmushtaq
    @hkmushtaq
    ah ok
    did that broadcast receiver class help
    Britt Mathis
    @bmuk
    yeah; I just want it as a string though, not a notification
    Jacob Chen
    @jchen114
    Ham you supose to be asleep
    btw we are trying to figure out how the android is going to update once it gets a call back
    im thinking about using
    observer/observable
    similar to NSNotificationCenter
    hkmushtaq
    @hkmushtaq
    true true
    One way to do that also would be to make the activity the broadcast receiver
    meaning create an instance variable in the activity of type BroadcastReceiver
    and have it catch the notifications
    hkmushtaq
    @hkmushtaq
    You can disable the broadcast receiver on the activity when it goes into the background and have the broadcast receiver you have now handle it in the background
    Or receive all notifications in the broadcast receiver subclass
    and send a local broadcast
    if the app is not in the background
    and have it update the UI
    if its in the background, put the notification in the notification menu
    anyway, if you need any server modifications just call me
    I'm going to take my nap now
    Jacob Chen
    @jchen114
    lol
    we prolly need help on the android part
    Britt Mathis
    @bmuk
    @hkmushtaq 104.131.73.190
    hkmushtaq
    @hkmushtaq
    let me know if u are able to use the online terminal on digital ocea
    and then ill change the ip for the duck dns thing
    also u can make ur own duckdns if u want full control
    its free
    Britt Mathis
    @bmuk
    104.131.73.190