Mobile SDKs Best Practices Guide

Deprecated methods

  • Avoid using deprecated methods, which might get removed in future releases, making the code they’re used in raise an error such as NoMethodError. Plivo communicates sunset timelines for deprecated methods via email with due notice.

Push notifications

  • For incoming calls in Android apps, use the deviceToken while logging in to get push notifications. Avoid using the background service to watch for incoming calls.

  • For incoming calls in iOS apps, integrate PushKit with your app. The Plivo iOS SDK provides APIs for PushKit integration.

Endpoints

  • Always reset your endpoint when logging out so you delete all of the allocated memory resources at the SDK level. For more information, see Resetting Your Endpoint in iOS and Android.

Changelogs

Geo permissions