Commit graph

13385 commits

Author SHA1 Message Date
David Langley
38fae3c7cf Temporarily point to refresh sdk branch to build alpha 2022-01-11 08:07:59 +00:00
David Langley
56475bbec1 Remove duplicated logout code and fix spinner.
- Remove some duplication of logout behaviour
- Fix additional spinner on homeViewController
2022-01-10 21:38:24 +00:00
David Langley
4effc7e2a0 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/5292_refresh_tokens 2022-01-06 22:43:20 +00:00
David Langley
362635a98d Split MXKAccount from Data so just data can be loaded from disk without side effects. Also change force reload of accounts to stop double load on init. 2022-01-06 20:35:37 +00:00
Stefan Ceriu
52598a2eab Fixed ffmpeg-kit breaking changes after minor release, fixed version to 4.5.1 2022-01-06 13:31:05 +02:00
Stefan Ceriu
446b321a4d vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
eead770633 vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
2c6b286718 vector-im/element-ios/issues/5298 - Added build setting + ui and unit tests. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
28cb2d23d1 vector-im/element-ios/issues/5298 - Settings screen toggle for disabling location sharing. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
a27dd1a230 vector-im/element-ios/issues/5298 - Allow sharing locations to other system apps. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
8e629a145f vector-im/element-ios/issues/5298 - Custom notification text for shared locations. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
592acde1c8 vector-im/element-ios/issues/5298 - Displaying a modal when tapping on a location in the timeline. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
e6379c8588 vector-im/element-ios/issues/5298 - Disable forwarding for location messages and allow replies. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
352d56726e vector-im/element-ios/issues/5298 - Improved error messages and moved map configuration to the BuildSettings 2022-01-04 17:33:32 +02:00
Stefan Ceriu
f0cdbe5a7c vector-im/element-ios/issues/5298 - Attempting to set up cocoapods-keys. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
6a46c42cfd vector-im/element-ios/issues/5298 - Implemented location sharing from the input toolbar action menu. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
64d0559b85 vector-im/element-ios/issues/5298 - Prevent the activity indicator modifier from reloading the whole view hierarchy. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
574a155c80 vector-im/element-ios/issues/5298 - Added body message content keys and replaced plain string usages. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
5a72750f8d vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
01f53bd8d1 Rendering location messages in the timeline. 2022-01-04 17:33:32 +02:00
Doug
62c521a8b2
Merge pull request #5270 from vector-im/doug/5035_posthog
Replace Matomo with PostHog
2021-12-16 18:18:01 +00:00
Doug
bee737f97d Retain AnalyticsService. Fix coordinator retain cycle. 2021-12-16 17:02:58 +00:00
Doug
8e38a5fc12 Move Analytics from Managers to Modules. 2021-12-16 17:01:23 +00:00
Doug
919fd0ee3a Add an AnalyticsService to handle account data. 2021-12-16 17:01:23 +00:00
Doug
1df8514fcd Fix mutability on AnalyticsSettings. 2021-12-16 17:01:23 +00:00
Doug
a5abff7eee Address most PR comments.
Update Podfile.lock
2021-12-16 17:01:23 +00:00
Doug
b57e537b4b Leave analytics client running on sign out.
Only identify with a running session.
2021-12-16 17:01:22 +00:00
Doug
5361298bfc Improve iPad layout. Add separate debug configuration. 2021-12-16 17:01:22 +00:00
Doug
1ff7170f98 Add tap/click event. Improve Swift/ObjC bridging. 2021-12-16 17:01:22 +00:00
Doug
59486c824a Add accessibility labels/hints. Fix tests. Show analytics prompt to everyone. 2021-12-16 17:01:22 +00:00
Doug
a2aa01f06c Move string formatting to Tools.
Revert contacts tracking from MatrixKit.
Final tweaks before PR.
2021-12-16 17:01:22 +00:00
Doug
9d4a1d96d6 Migrate doug/5035_posthog from MatrixKit. 2021-12-16 17:01:22 +00:00
Doug
932eca82cc 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
8eab27ab8e Add AnalyticsPrompt to SwiftUI target and replace old UIAlertController. 2021-12-16 17:01:22 +00:00
Doug
e2bae8893b Abstract PostHog out of the Analytics client. 2021-12-16 16:59:45 +00:00
Doug
3a9d35a50b Add AnalyticsScreenTimer and track more screens.
Update Analytics with new methods in MXAnalyticsDelegate.
2021-12-16 16:59:45 +00:00
Doug
1ce3387429 Use custom generated Swift events.
Add analytics PerformanceTimer event.
2021-12-16 16:59:45 +00:00
Doug
3e0e357384 Update MXAnalyticsDelegate 2021-12-16 16:59:45 +00:00
Doug
7bdc146b82 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
46d264477d Remove cocoapods-keys. Use UUID for analytics.
Make configuration optional.
2021-12-16 16:59:45 +00:00
Doug
23555b00fd Add specific methods to track analytics and test generated event types. 2021-12-16 16:59:45 +00:00
Doug
50dea9843b Update to PostHog 1.4.4 2021-12-16 16:59:45 +00:00
Doug
63e9dcde55 Add missed MXLogger calls in Analytics. 2021-12-16 16:59:45 +00:00
Doug
2b80c0437a 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
6f94303cdc Begin migration from Matomo to PostHog
Add CocoaPods-Keys.
2021-12-16 16:59:26 +00:00
Stefan Ceriu
b9efd87ef7 Fixed SwiftUI UI tests not finding the right state to tap if not already displayed on screen. 2021-12-16 16:47:35 +02:00
SBiOSoftWhare
3fbb74bf11
Merge pull request #5311 from vector-im/steve/fix_room_vc_left_reason
RoomVC: Fix left room label memory management
2021-12-15 11:08:01 +01:00
SBiOSoftWhare
0ef26ccccc Add changes 2021-12-15 11:07:41 +01:00
SBiOSoftWhare
d494c68f0f RoomVC: Fix left room label memory management. 2021-12-14 18:33:37 +01:00
Doug
c68c853d2f Prepare for new sprint 2021-12-14 15:02:19 +00:00