Closed mgacy closed 1 year ago
Remove LyticsConfiguration.apiKey, call assertionFailure() if apiToken is empty, and change signature of Lytics.start method from:
LyticsConfiguration.apiKey
assertionFailure()
apiToken
Lytics.start
start(_ configure: (inout LyticsConfiguration) -> Void)
to:
start(apiToken: String, configure: ((inout LyticsConfiguration) -> Void)? = nil)
Also renames apiKey to apiToken for consistency with Lytics documentation
apiKey
Closes #39
Remove
LyticsConfiguration.apiKey
, callassertionFailure()
ifapiToken
is empty, and change signature ofLytics.start
method from:to:
Also renames
apiKey
toapiToken
for consistency with Lytics documentationCloses #39