Best Practices Guide - Mobile SDKs

    Deprecated Methods

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

    Push Notifications

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

    Reset Endpoints

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


    Geo Permissions