Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix initialisation error on the Flagsmith SDK when enabling analytics - fixes #39 #40

Merged

Conversation

gazreese
Copy link
Collaborator

Description

An issue had been reported in #39. This turned out to be an error on initialisation where an lateinit property hadn't yet been initialised.

I updated the unit tests to reproduce the issue, fixed the issue, and also ensured that an incorrect initialisation flags were returning the same helpful assertions as before.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@matthewelwell matthewelwell merged commit c747fb0 into Flagsmith:main Feb 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants