lytics / ios-sdk

MIT License
0 stars 0 forks source link

Refactor Event Methods #98

Closed mgacy closed 1 year ago

mgacy commented 1 year ago

Adds Lytics.updateUser(), .upload(), updateIdentifiersAndUpload(), and updateUserAndUpload() methods to reduce code duplication and refactors the event methods to use them. The various event method overloads (like Lytics.consent(stream: name: timestamp: consent:shouldSend:) now call these helper methods rather than the full method (Lytics.consent(stream: name: timestamp:identifiers:attributes:consent:shouldSend:)).

Additional: