First time opening the scan screen takes way too long to load
BlinkID SDK Version
7.5.0
Integration Method
BlinkIdScanActivity
What's happening
When I open the scan screen for the first time after installing the app, it takes forever to load. But after that first time, it loads fine every time.
Steps to reproduce
- Freshly install the app
- Open the scan screen
- Wait... and wait... (way too long)
Screenshot
Hello @mohamadabdelhamid,
This issue is likely caused by the SDK downloading required resources during the first app launch. The duration depends on network speed, so slower connections may experience longer initialization times.
To address this, we recommend pre-bundling the SDK resources into your app. Our documentation provides guidance on how to implement this, which should help reduce the startup time.
Please let us know once you’ve tried this approach and whether it resolves the issue.
@PatrikKap Thanks for your help
I've implemented the mentioned solution, and indeed, it reduced the loading time on the first launch.
Closing this issue as resolved.