orta / ARAnalytics

Simplify your iOS/Mac analytics
MIT License
1.84k stars 217 forks source link

Makes Intercom reset old user data before registering user #290

Closed MrAlek closed 7 years ago

MrAlek commented 7 years ago

Fixes issue of old Intercom data being left hanging after logging out or switching user. Without this, I would still see the same conversations after switching users, even after app restarts.

From Intercom SDK documentation:

reset is used to reset all local caches and user data Intercom has created. Reset will also close any active UI that is on screen. Use this at a time when you wish to log a user out of your app or change a user. Once called, Intercom for iOS will no longer communicate with Intercom until a further registration is made.

orta commented 7 years ago

Yeah, seems 👍 to mr

orta commented 7 years ago

will merge and try get a release out after a meeting I'm about to go in

MrAlek commented 7 years ago

Off topic: You fancy coming to CocoaHeads Stockholm on Nov 7th after your Oslo visit? ;) DM on Twitter

orta commented 7 years ago

Hrm, that could work - yeah, I did have some time between that and the swiss alps

orta commented 7 years ago

Shipped:


  - Data URL: https://raw.githubusercontent.com/CocoaPods/Specs/f33ed7a73fe1ccee24dc97574df4c4cf1378d66e/Specs/ARAnalytics/4.0.0/ARAnalytics.podspec.json
  - Log messages:
    - September 8th, 11:26: Push for `ARAnalytics 4.0.0' initiated.
    - September 8th, 11:26: Push for `ARAnalytics 4.0.0' has been pushed (0.348231823 s).