1. Are you ready for the Galaxy S20? Here is everything we know so far!

WhatsApp like calling notification in android even if app is killed

Discussion in 'Android Development' started by gopipeddisetti, Feb 12, 2019.

  1. gopipeddisetti

    Thread Starter

    I am developing audio call application when the user kills the app at that time also i need to notify the user for incoming call,currently i am using firebase data notification ,but it not works properly when app closed.please help me out from this problem.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. gopipeddisetti

    Thread Starter

    Any help would be appreciated.

    Thank you.

    Best Regards,

    Gopi Krishna P
     
  3. Alexandr0617

    Alexandr0617 Newbie

    Hello! Do you use BroadcastReceiver with intent-filter "android.intent.action.PHONE_STATE" ?
     
  4. gopipeddisetti

    Thread Starter

    No, not used. Is this needed??
     
  5. gopipeddisetti

    Thread Starter

    Please help me out from this issue.
    Thank you.

    Best Regards,

    Gopi Krishna P
     
  6. Deleted User

    Deleted User Guest

    You need to create a background service to listen for notifications
     
  7. gopipeddisetti

    Thread Starter

    i am created service ,but it works only when app in foreground or background state.but not works when app kills from multitasking.
     
  8. Sero81

    Sero81 Lurker

    Hi,

    My problem is similar. When app is runing, my service is run, but the app event onPause the service kill in 1 min.
    I use jobscheduler in Android 8.0 ( API 26), but job is runing in 15 min. I'm not happy, because I want the job run in 1-5 min.

    Somebody help me? Please write the solution!
     
Loading...

Share This Page

Loading...