Best Practices Guide - Mobile SDKs
Avoid using deprecated methods or be aware of any such warnings. These methods might get removed in future releases and the code may raise an error. For example, NoMethodError. Sunset timelines for deprecated methods will be communicated via email with due notice.
For Incoming calls in Android, use the deviceToken while logging in to get push notifications. Avoid using the background service to observe for incoming calls.
For Incoming calls in iOS, integrate the PushKit with the app. Plivo iOS SDK provides APIs for PushKit integration.
Make sure you always protect your account with Voice dialing Geographic permissions.