You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Jeehut, I'm attempting to migrate the Flutter plugin to use the latest version of the Swift library, however I'm facing some difficulties finding all the needed functions. Could you help me sort this out?
How to reset the session of an already initialized TelemetryDeck? In 1.x this would be TelemetryManager.generateNewSession()
How to stop an initialized TelemetryDeck either to prevent further telemetry from being sent or so it can be restarted with a different configuration? 1.x this would be TelemetryManager.terminate()
How to update the default user for an initialized TelemetryDeck? 1.x this would be TelemetryManager.updateDefaultUser()
I see that in most cases, the new type are aliases for the existing TelemetryManager and TelemetryManagerConfiguration. Can I assume the 1.x API is still available?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
@kkostov I updated all the methods that were documented in the Setup documentation or the Swift SDK reference doc. It seems none of these functions are documented there, so I was not aware of them.
I think it should be very easy to write functions that call into them so the new TelemetryDeck API supports all of them, too. Let me actually make a release with all the ones you mentioned added to the TelemetryDeck domain name. I wonder how people are supposed to discover them though, do you have any insights on this @winsmith? Sounds like that "SDK reference" document needs some update? Or are these such edge cases that you think we don't need documentation?
@kkostov I'll let you know when the release is made. A good opportunity to also try out if the CocoaPods CI workflow works.
Nice, the CocoaPods deploy worked. @kkostov Please try version 2.2.4, it should have all the missing functions in the TelemetryDeck domain now. Please note that I renamed updateDefaultUser to updateDefaultUserID for consistency with the customUserID parameter in the new signal method. I provided fix-its for everyone using the old methods.
Hi @Jeehut, I'm attempting to migrate the Flutter plugin to use the latest version of the Swift library, however I'm facing some difficulties finding all the needed functions. Could you help me sort this out?
How to reset the session of an already initialized TelemetryDeck? In 1.x this would be
TelemetryManager.generateNewSession()
How to stop an initialized TelemetryDeck either to prevent further telemetry from being sent or so it can be restarted with a different configuration? 1.x this would be
TelemetryManager.terminate()
How to update the default user for an initialized TelemetryDeck? 1.x this would be
TelemetryManager.updateDefaultUser()
I see that in most cases, the new type are aliases for the existing
TelemetryManager
andTelemetryManagerConfiguration
. Can I assume the 1.x API is still available?Thanks a lot!
The text was updated successfully, but these errors were encountered: