Best Practices Guide - Mobile SDKs

    1. 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.

    2. 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.

    3. For Incoming calls in iOS, integrate the PushKit with the app. Plivo iOS SDK provides APIs for PushKit integration.

    4. Make sure you always reset your endpoint when logging out. This will delete all the allocated memory resources at the SDK level. For more information, see Resetting Your Endpoint in iOS and Android.

    5. Make sure you always go through changelogs before upgrading the SDK version. You can find the changelogs at iOS changelog and Android changelog.

    6. Make sure you always protect your account with Voice dialing Geographic permissions.