purbeast0
No Lifer
I'm working on an app that has a feature to make phone or video calls. When you do this with Hangouts or Facebook Messanger app, there is a push notification that gets sent to the recipient. However this notification is a little different in 2 aspects.
P.S. - I copied this from my stackoverflow post, so if you search google you may see it lol.
EDIT:
Figured it out. The length of the sound file determines how long the notification will stay up, so if I make a 30 second sound file (max length of notifications staying up) then it will stay up the whole time the sound is playing while it's ringing. So I'll just have to make a 30 second ringing sound file that just loops the ring sound and use that for the notification sound.
- It plays a ringing sound in a loop (whether it's just 1 long sound clip vs. a short one in loop, I am not technically sure).
- The notification stays on the recipients screen the entire duration of the initiator making the call, until they either hang up or the recipient taps on it.
P.S. - I copied this from my stackoverflow post, so if you search google you may see it lol.
EDIT:
Figured it out. The length of the sound file determines how long the notification will stay up, so if I make a 30 second sound file (max length of notifications staying up) then it will stay up the whole time the sound is playing while it's ringing. So I'll just have to make a 30 second ringing sound file that just loops the ring sound and use that for the notification sound.
Last edited: