FirebaseMappings
public class FirebaseMappings : CommandMappingsBuilder<FirebaseCommand, FirebaseDestination>
Concrete Firebase mappings builder combining FirebaseCommand and FirebaseDestination.
Used with FirebaseSettingsBuilder.setMappings(_:) to configure Firebase-specific
data mappings with type-safe enums.
Modules.firebaseDispatcher(forcingSettings: { builder in
builder.setMappings { mappings in
mappings.mapCommand(.logEvent)
mappings.mapFrom("tealium_event", to: .eventName)
mappings.mapFrom("total", to: .eventParam(AnalyticsParameterValue))
mappings.mapFrom("product_ids", to: .itemParam(AnalyticsParameterItemID))
}
})
-
Declaration
Swift
required public init()
View on GitHub