This single spec replaces the legacy, platform-divergent ZelloIOSSdkModule
and ZelloAndroidSdkModule bridge modules. Both platforms implement the same
interface. Events are not part of this spec: they are emitted on the global
DeviceEventEmitter'zellosdk' channel and carry an eventName
discriminator in their payload (see src/events).
Codegen notes:
configure takes a single object so the platform-specific configuration
fields (ios.isDebugBuild, ios.appGroup, android.enableOfflineMessagePushNotifications,
android.enableForegroundService) can live in one signature.
The two legacy callback methods (getHistory, getHistoryImageData) are
modeled as Promises, which is the TurboModule-native async shape.
UnsafeObject is used where the payload is a heterogeneous SDK structure
that is normalized in the JS layer (src/sdk).
Codegen spec for the unified Zello TurboModule.
This single spec replaces the legacy, platform-divergent
ZelloIOSSdkModuleandZelloAndroidSdkModulebridge modules. Both platforms implement the same interface. Events are not part of this spec: they are emitted on the globalDeviceEventEmitter'zellosdk'channel and carry aneventNamediscriminator in their payload (seesrc/events).Codegen notes:
configuretakes a single object so the platform-specific configuration fields (ios.isDebugBuild,ios.appGroup,android.enableOfflineMessagePushNotifications,android.enableForegroundService) can live in one signature.getHistory,getHistoryImageData) are modeled as Promises, which is the TurboModule-native async shape.UnsafeObjectis used where the payload is a heterogeneous SDK structure that is normalized in the JS layer (src/sdk).