Migrations
This guide helps you migrate between different versions of the Helium SDK.Available migration guides
Select your platform and version to view the migration guide:iOS
iOS 3.x to 4.x
Migrate from iOS SDK version 3.x to 4.x
iOS 2.x to 3.x
Migrate from iOS SDK version 2.x to 3.x
Android
Android 0.x to 4.x
Migrate from Android SDK version 0.x to 4.x
Migration best practices
Before you migrate
- Review changelog: Read the full changelog for breaking changes
- Test thoroughly: Test migration in development environment first
- Backup code: Commit current working code before starting
- Plan timing: Schedule migration during low-traffic periods
- Communicate: Inform team members about upcoming changes
During migration
- Follow guide: Complete all steps in the migration guide
- Update dependencies: Ensure all dependencies are compatible
- Fix deprecations: Address all deprecation warnings
- Test features: Verify all features work as expected
- Check analytics: Confirm events are tracking correctly
After migration
- Monitor errors: Watch for crashes or errors in production
- Verify revenue: Ensure purchases are processing correctly
- Check analytics: Confirm data is flowing to analytics platforms
- Update documentation: Document any custom changes made
- Plan next steps: Consider adopting new features
Common migration tasks
Updating initialization
Most migrations require updating SDK initialization:Updating method calls
Method signatures may change:Updating event tracking
Event tracking APIs may be updated:Breaking changes
Migration guides clearly identify breaking changes:- API changes: Method signatures or parameters changed
- Behavior changes: Functionality works differently
- Removed features: Features no longer supported
- New requirements: Additional setup or configuration needed
Deprecation timeline
Helium follows a deprecation policy:- Deprecation announced: Feature marked as deprecated
- Grace period: Feature continues to work (typically 6-12 months)
- Removal: Feature removed in next major version
Getting help
If you encounter issues during migration:- Check migration guide: Ensure all steps were completed
- Review changelog: Look for additional context
- Search documentation: Look for related topics
- Contact support: Email support@tryhelium.com with details
Version compatibility
SDK versions
Ensure SDK versions are compatible:- iOS SDK 4.x requires iOS 13.0+
- Android SDK 4.x requires Android 5.0+ (API 21+)
- React Native SDK requires React Native 0.64+
- Flutter SDK requires Flutter 2.0+
Platform versions
Check platform requirements:- Xcode version for iOS
- Android Studio version for Android
- Node version for React Native
- Dart version for Flutter
Rollback plan
If migration causes issues:- Revert code: Return to previous version
- Restore dependencies: Downgrade SDK version
- Redeploy: Push previous working version
- Investigate: Determine root cause
- Plan retry: Address issues before retrying migration