go_mailer_push_sdk 1.1.0
go_mailer_push_sdk: ^1.1.0 copied to clipboard
Go Mailer SDK for Flutter - Cross-platform customer engagement messaging and push notifications
Changelog #
1.1.0 - 2025-01-23 #
Added #
- Multi-environment support: Choose between production, staging, and development environments
GoMailerEnvironmentenum with predefined endpointsenvironmentparameter inGoMailerConfigfor easy environment switchinggetEnvironmentFromUrl()helper function for debugging- Backward compatibility with explicit
baseUrlconfiguration
Changed #
- Default endpoint: Now defaults to production (
https://api.go-mailer.com/v1) - Enhanced README with environment configuration examples
Migration Guide #
- Existing code continues to work without changes
- To use environments:
GoMailerConfig(environment: GoMailerEnvironment.staging) - Legacy ngrok URLs automatically upgrade to production
1.0.0 - 2024-09-23 #
Added #
- Initial release of Go Mailer Push SDK for Flutter
- Cross-platform support for iOS and Android push notifications
- Device registration with Go-Mailer backend
- User identification and management
- Notification permission handling
- Notification click tracking
- Custom event tracking
- APNs support for iOS
- FCM support for Android
- TypeScript-like API with comprehensive error handling
- Production-ready default endpoints
- Configurable logging levels
Features #
GoMailer.initialize()- Initialize SDK with API keyGoMailer.setUser()- Identify users for targeted messagingGoMailer.requestNotificationPermission()- Request notification permissionsGoMailer.checkNotificationPermission()- Check permission statusGoMailer.trackNotificationClick()- Track notification interactionsGoMailer.trackEvent()- Track custom eventsGoMailer.getDeviceToken()- Get device push token
Technical #
- Flutter plugin architecture with platform channels
- Native iOS implementation in Swift
- Native Android implementation in Kotlin
- Firebase Cloud Messaging integration
- Apple Push Notification service integration
- Secure API communication with Go-Mailer backend
- Comprehensive error handling and logging