Android Integration Checklist
The following is a checklist of integration tests that need to be completed to verify the integration is working as intended, as applicable:
- Update the Leeo SDK keys on the new build.
- Verify if the SDK is initialized at application startup (if the user is already logged in).
- Verify if the SDK is initialized at user login and signup.
- Verify if you received the success callback from SDK initialization.
- Ensure that SDK initialization failures are handled correctly — a simple setup retry logic should be added and an error should be displayed to the user in case the setup never succeeds, even after retries.
- Verify that SDK teardown is not called from onDestroy or similar lifecycle methods of an Activity of the application. Calling teardown in the lifecycle methods of an activity will cause Leeo SDK to go dormant if someone opens or closes the app temporarily. Leeo SDK should be explicitly turned off only due to business logic and not system-triggered events.
- Verify that the app is subscribed to the
BOOT_COMPLETEDintent and restarting the phone automatically triggers Leeo setup and any expected Leeo callbacks. This can be quickly verified by adding some logs in callbacks. - Verify that the app is subscribed to the
MY_PACKAGE_REPLACEDintent. The intent is needed in case the app is upgraded and is no longer running. Subscribe to theMY_PACKAGE_REPLACEDintent and start your app automatically which should trigger re-initialization of the Leeo SDK. - Ensure that Leeo Error Codes during Leeo SDK operations are handled properly.
- Check for Setting Errors and Warnings.