segmentio / analytics-kotlin

The hassle-free way to add Segment analytics to your Kotlin app (Android/JVM).
MIT License
45 stars 27 forks source link

Fix "not initialized" Exception #223

Closed didiergarcia closed 5 months ago

didiergarcia commented 5 months ago

fix: don't use plugin's analytics object if setup threw an Exception because it might not be initiated.