Skeelo Jul 11, 2023

Enhancing User Experience: Reducing ANR Rates with DataStore in Skeelo Android App

Article Summary

Skeelo's Android app was freezing on users. The culprit? SharedPreferences blocking the main thread and triggering ANR errors.

The Skeelo engineering team migrated from SharedPreferences to Jetpack DataStore to eliminate Application Not Responding (ANR) errors. They took a phased approach, prioritizing the most critical functions causing crashes using Firebase Crashlytics and Sentry data.

Key Takeaways

Critical Insight

Migrating from SharedPreferences to DataStore dramatically reduced ANR rates and improved app stability through asynchronous, non-blocking data operations.

The team shares specific lessons learned about planning gradual migrations while maintaining continuous product delivery.

Recent from Skeelo

Related Articles