Commit Graph

506 Commits

Author SHA1 Message Date
Doug ecd94547b7 Move Analytics from Managers to Modules. 2021-12-16 17:01:23 +00:00
Doug 00b2e314d3 Add an AnalyticsService to handle account data. 2021-12-16 17:01:23 +00:00
Doug d6b3b1172e Fix mutability on AnalyticsSettings. 2021-12-16 17:01:23 +00:00
Doug 8acde2fda4 Address most PR comments.
Update Podfile.lock
2021-12-16 17:01:23 +00:00
Doug 56883906d8 Leave analytics client running on sign out.
Only identify with a running session.
2021-12-16 17:01:22 +00:00
Doug 02744b7577 Add tap/click event. Improve Swift/ObjC bridging. 2021-12-16 17:01:22 +00:00
Doug 6001c9f0f5 Add accessibility labels/hints. Fix tests. Show analytics prompt to everyone. 2021-12-16 17:01:22 +00:00
Doug 1f6b19eed3 Move string formatting to Tools.
Revert contacts tracking from MatrixKit.
Final tweaks before PR.
2021-12-16 17:01:22 +00:00
Doug 0815a84fb3 Migrate doug/5035_posthog from MatrixKit. 2021-12-16 17:01:22 +00:00
Doug b3194a0fe9 Support link/html in analytics prompt strings.
Show the new prompt to everyone, even if they previously opted out.
Add docs to Analytics.
2021-12-16 17:01:22 +00:00
Doug 4f28bd395e Abstract PostHog out of the Analytics client. 2021-12-16 16:59:45 +00:00
Doug 296f444b9e Add AnalyticsScreenTimer and track more screens.
Update Analytics with new methods in MXAnalyticsDelegate.
2021-12-16 16:59:45 +00:00
Doug dca7739b19 Use custom generated Swift events.
Add analytics PerformanceTimer event.
2021-12-16 16:59:45 +00:00
Doug d7d2211cad Update MXAnalyticsDelegate 2021-12-16 16:59:45 +00:00
Doug cea6cd145b Use matrix-analytics-events generated stubs (locally for now).
Track screens, removing any that aren't part of the schema.
2021-12-16 16:59:45 +00:00
Doug b5f3a56666 Remove cocoapods-keys. Use UUID for analytics.
Make configuration optional.
2021-12-16 16:59:45 +00:00
Doug 84fdd7585c Add specific methods to track analytics and test generated event types. 2021-12-16 16:59:45 +00:00
Doug 72f75cc36d Update to PostHog 1.4.4 2021-12-16 16:59:45 +00:00
Doug 643b31fc90 Add missed MXLogger calls in Analytics. 2021-12-16 16:59:45 +00:00
Doug f45b4644c3 Don't read analytics opt in status from account data.
Update PostHog to 1.4.3.

Add tests for prompt type.
2021-12-16 16:59:45 +00:00
Doug 8ec27e8579 Begin migration from Matomo to PostHog
Add CocoaPods-Keys.
2021-12-16 16:59:26 +00:00
Stefan Ceriu dc574ab0a6 vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare 860e7dbae2 Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare e6ef1be7b6 Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare fe84f0d862 Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
SBiOSoftWhare e3de692c85 Remove unnecessary MatrixKit imports. 2021-11-29 17:45:35 +01:00
David Langley 67c22b9c5e Update Riot/Managers/PushNotification/PushNotificationService.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-11-26 14:57:58 +00:00
David Langley f3938739fa Restore the pushkit token after login/logout when configuring PushKit 2021-11-26 12:52:40 +00:00
Doug c946f2962a Merge branch 'master' into develop
# Conflicts:
#	Podfile.lock
#	Riot/Modules/Room/RoomViewController.m
2021-11-17 17:36:44 +00:00
Stefan Ceriu 1ea0308895 vector-im/element-ios/issues/5114 - Poll creation screen
- added input toolbar poll creation action.
- reordered input toolbar actions as per designs.
- added multiline text field and extracted common components.
2021-11-11 11:24:28 +02:00
Phl-Pro ea322e1526 Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
SBiOSoftWhare 2a2f0fcfe9 Merge branch 'hotfix/1.6.7' into hotfix/1.6.7_2 2021-11-03 17:22:21 +01:00
Gil Eluard 26b41ca1d7 Set Show All Rooms to true by default #5076 2021-11-02 07:00:12 +01:00
SBiOSoftWhare 9568c29401 Weakify strong reference delegates. 2021-10-29 12:23:06 +02:00
Philippe Loriaux af20d24960 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Doug 0514b0bddc Address Steve's comments. 2021-10-20 19:29:23 +01:00
Doug af2f36a862 Use footers for app and discovery information.
Remove Invite Friends button from settings.
Reorganise Advanced and Other settings.
Rename Other to About.
2021-10-20 17:40:39 +01:00
ismailgulek eef9c43798 Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-19 16:40:34 +03:00
ismailgulek 587bfc06d7 Introduce RiotSettings.showAllRoomsInHomeSpace and adapt changes in filter options 2021-10-19 16:36:43 +03:00
Stefan Ceriu 1ea5bae14a vector-im/element-ios/issues/5009 - Refactored share extension and started using the shared code directly in the main application. 2021-10-18 16:40:48 +03:00
ismailgulek b5594dabac Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-15 12:07:21 +03:00
Doug 1249b8c172 Re-enable link detection in clearStore instead of via NotificationCenter. 2021-10-14 14:24:01 +01:00
Doug ca61b1cd04 Add observer to re-enable link detection when signing out of an account. 2021-10-13 16:01:19 +01:00
Doug 2080a28563 Use MXError and MXHTTPOperation where possible. 2021-10-13 14:51:50 +01:00
Doug 90b3b71874 Stop requesting URL previews if the feature has been disabled on the homeserver. 2021-10-13 12:51:15 +01:00
ismailgulek c415e2a0f0 Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-12 11:49:55 +03:00
ismailgulek e254ecc1c0 Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-08 16:59:25 +03:00
Doug 4e0c76885d Merge remote-tracking branch 'origin/develop' into doug/4484_contacts_access
# Conflicts:
#	Riot/Modules/ServiceTerms/Modal/ServiceTermsModalCoordinatorBridgePresenter.swift
2021-10-08 11:45:43 +01:00
Doug a50027e76d Track an analytics value on accept/decline of an identity server. 2021-10-05 17:19:19 +01:00
ismailgulek 6edcce1b23 Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-05 13:48:25 +03:00