Release 2.0.0
·
8 commits
to main
since this release
What's New
Breaking Changes
sdkAccessTokenin plugin config is now optional — choose between two initialization paths:- Path A (auto-init): set
sdkAccessTokenin plugin config, no JS call needed - Path B (manual init): omit
sdkAccessToken, callReteno.initialize({ apiKey })from JS for full control over options
- Path A (auto-init): set
New Features
Reteno.initialize()— new JS method to initialize the SDK with full options support (isDebugMode,pauseInAppMessages,sessionDurationSeconds,lifecycleTrackingOptions,iosDeviceTokenHandlingMode)RetenoMessagingService— built-in FCM service, no manual setup requiredsetDeviceToken()— now returnsPromise<boolean>, safe to call on Android (no-op instead of throwing)
Types
- New:
InitializeOptions,LifecycleTrackingOptions,DeviceTokenHandlingMode