I am working on an ionic app that receives VOIP calls via Twilio. We are using the plugin https://github.com/ORCatalin/twilio_client_phonegap, which we modified from an existing plugin for using twilio with ionic 2.
On the ionic side we are using
for with ionic-cli version 2.0.0-beta.35 and cordova 6.4.0
This is all working well enough when we test the app after a fresh install and initiate a few test calls, but we have run into problems when we try to use the plugin in development. Specifically, when the app runs in the background for an hour or more and a call comes in, the app will either reject the call or various elements within the app will not load properly when it wakes up.
I am definitely not a native developer, so my ability to fix the plugin is quite limited. I really want to know if anyone can think of a reason why the app would behave this way after sitting in the background for so long.