Commit graph

128 commits

Author SHA1 Message Date
Giom Foret
e52d635009 Switch the loading animation for iOS to be RIOT.IM branded.
Remove the grey spinner under this animation.
2017-09-06 18:48:47 +02:00
Giom Foret
0008c88386 Pushkit support: Start a matrix session for each enabled accounts even if the app is in background.
AppDelegate -  `initMatrixSession`: Start a matrix session for each enabled accounts even if the app is in background.
Indeed we call [accountManager prepareSessionForActiveAccounts] even in background mode, The session is automatically paused when the running state is detected if the application is still in background.
- Define a notification listener block for each session. This block is used during all the session life to display the local notifications when the app is backgrounded.
- The local notifications are handled by using the background sync mechanism (defined at MXKAccount level).
- Multiple accounts are handled.
2017-09-06 16:59:12 +02:00
manuroe
9b993d421d Fix compilation issue 2017-09-04 16:26:41 +02:00
manuroe
c0ba516a2e Merge remote-tracking branch 'origin/pr/1458' into callkit
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/AppDelegate.m
#	Riot/ViewController/SettingsViewController.m
2017-09-04 15:57:37 +02:00
manuroe
c76995e863 Merge branch 'callkit' into sirikit_new 2017-08-31 17:16:51 +02:00
manuroe
35927c50f3 CallKit branch: fixed compilation issues 2017-08-31 16:20:32 +02:00
manuroe
1a026a29f1 Merge remote-tracking branch 'origin/develop' into callkit
# Conflicts:
#	Riot/AppDelegate.m
2017-08-31 15:58:28 +02:00
manuroe
5ce098d52d CallKit branch: fixed compilation issues 2017-08-31 15:51:05 +02:00
manuroe
d2cf99b71a Merge branch 'develop' into incoming_call_screen 2017-08-31 14:04:53 +02:00
manuroe
2886daf4c6 Jitsi widget: Add notices for jitsi widget in rooms histories 2017-08-30 17:37:14 +02:00
manuroe
ccb1a7e5bf Merge pull request #1484 from morozkin/callkit_notif
Start background task when handling call intent in the background
2017-08-30 10:54:49 +02:00
Denis
28017b3dae Set local notification sound 2017-08-29 11:55:45 +03:00
Denis
b444f6639a Don't show display notifications for call invites when CallKit is active 2017-08-29 11:55:32 +03:00
Denis Morozov
7c16ac0647 Add content to notification body connected with image 2017-08-29 11:50:22 +03:00
Denis
6aa49259ed Start background task when handling call intent in the background 2017-08-28 18:14:10 +03:00
Denis Morozov
f3d03d0b31 Fix issue #1480 2017-08-27 16:51:27 +03:00
Denis Morozov
d53945e74b Remove incomingCallNotification property 2017-08-27 16:43:42 +03:00
Denis Morozov
3ab16243da Change application group id 2017-08-26 15:34:51 +03:00
giomfo
3bb1a72402 Merge pull request #1475 from morozkin/callkit_notif
Add background mode handling
2017-08-25 18:28:15 +02:00
Giom Foret
7daa966116 Merge branch 'master' into callkit
# Conflicts:
#	Riot/AppDelegate.m
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/ViewController/SettingsViewController.m
2017-08-25 16:48:13 +02:00
Denis Morozov
f92f20e9c4 Add screen for incoming calls 2017-08-25 03:02:29 +03:00
Giom Foret
9284ff0fca Improvement - Application group identifier
Use the property `applicationGroupIdentifier` of the MXSDKOptions sharedInstance.
2017-08-24 15:18:23 +02:00
Denis Morozov
d42e8909a3 Add background mode handling 2017-08-24 14:03:05 +03:00
Denis Morozov
0c901fe0c5 Improvements in notification registration flow 2017-08-23 19:07:14 +03:00
Denis Morozov
8989ef46a0 Fix remote notifications registration even if user hasn't provide access 2017-08-22 19:34:50 +03:00
Denis Morozov
9a40b43279 Add Intents handling 2017-08-22 16:02:16 +03:00
Denis Morozov
fdec4fb331 Check available notification types before starting register on PushKit notifications 2017-08-22 12:05:28 +03:00
Denis Morozov
791fc112c0 Move code for updating icon badge number to completion block 2017-08-22 11:10:35 +03:00
Denis Morozov
7db33e6a47 Update app icon badge number on each received push notification 2017-08-22 10:48:59 +03:00
Denis Morozov
f144413a7b Replace remote notifications with PushKit notifications 2017-08-21 13:28:05 +03:00
manuroe
c21c40031a Merge pull request #1449 from vector-im/jitsi_widget
Integrating Jitsi into mobile apps
2017-08-18 13:26:30 +02:00
manuroe
e593d0c45d Jitsi widget: polishing 2017-08-18 11:40:56 +02:00
Giom Foret
3d43149c53 Apply the actual application group: "group.im.vector" 2017-08-16 18:35:32 +02:00
manuroe
f13baec441 Merge remote-tracking branch 'origin/develop' into jitsi_widget
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2017-08-16 17:14:20 +02:00
Giom Foret
5f5acf472b Dark Theme - Improvement
Force the background color of the fake view controller displayed when there is no details.
2017-08-14 22:35:16 +02:00
Giom Foret
ed600e3ab0 Dark Theme - Improvement
Force the background of the default view controller displayed in landscape when no room is selected.
2017-08-14 15:57:23 +02:00
Giom Foret
e9bc00959d Enable Dark theme
TODO:
- fix the app freeze when user changes the app theme.
2017-08-11 16:56:09 +02:00
manuroe
5b608e01a6 Jitsi widget: Display the hangup button when we are back-to-app 2017-08-11 14:59:05 +02:00
manuroe
75bb54fb92 Jitsi widget: Manage "Back To App" 2017-08-11 14:18:10 +02:00
manuroe
87546112da Jitsi widget: Add WidgetManager and Widget, generic classes to manage scalar widgets 2017-08-04 13:07:04 +02:00
Denis Morozov
fcf2948bc1 Set App Group ID to MXSDKOptions singleton instance 2017-08-04 10:59:46 +03:00
manuroe
505b6414a5 Add support of matrix.to links to users
BF: the app doesn't do anything sensible with matrix.to user id hyperlinks #1410
2017-07-25 16:08:24 +02:00
Giom Foret
887d9dee14 Prepare Dark Theme
Remove the [UIApplication statusBarHidden] use (deprecated since iOS 9).
Use the default UIViewController-based status bar system.

Hide the user interface theme option in Settings.

https://github.com/vector-im/riot-meta/issues/22
2017-07-21 17:22:34 +02:00
manuroe
cdb2fe99a3 Language settings: Store it in NSUserDefaults (@"appLanguage") 2017-07-21 11:08:33 +02:00
Giom Foret
cc0478c4ec Remove MXKAlert class use.
UIAlertController is directly used.
2017-07-14 16:41:25 +02:00
manuroe
7b6eeed764 GA: Disable GA in debug as it pollutes stats and crashes 2017-06-30 13:37:36 +02:00
manuroe
725cf68107 Crash report: Do not loose what the user typed when debackgrounding the app 2017-06-29 17:45:54 +02:00
manuroe
3026c3df60 Crash report: Do not loose what the user typed when debackgrounding the app 2017-06-29 17:33:08 +02:00
manuroe
8fd5ec6adc Merge pull request #1332 from morozkin/callkit_v1
Add CallKit support
2017-06-21 13:34:57 +02:00
Denis Morozov
f523a700ef Return inline blocks and improve imports 2017-06-21 13:02:49 +03:00
Denis Morozov
8309e6b612 Small fix in condition 2017-06-20 23:40:15 +03:00
Denis Morozov
e058ade013 Add CallKit support 2017-06-20 23:19:24 +03:00
Denis Morozov
4894c57c8f Fix crash on decline button 2017-06-20 19:36:52 +03:00
manuroe
5d24b5b400 Apply renaming of MXDefaultBackgroundModeHandler to MXUIKitBackgroundModeHandler 2017-06-16 14:35:15 +02:00
manuroe
765be91f0e Use UIKit BackgroundTask for handling background tasks in the SDK 2017-06-14 17:37:22 +02:00
manuroe
48fa03bbcb UX rework: do not automatically come back to the home tab when opening a permalink
This fixes https://github.com/vector-im/riot-meta/issues/54#issuecomment-300428202
2017-06-08 14:27:38 +02:00
manuroe
1dafca03ea Merge remote-tracking branch 'origin/ux_rework' into develop
# Conflicts:
#	Riot/AppDelegate.m
#	Riot/ViewController/ContactsTableViewController.m
#	Riot/ViewController/RoomViewController.m
2017-06-07 11:19:25 +02:00
giomfo
6b5fc69e3a Merge pull request #1248 from morozkin/callvc_memory
Fix dangling in the memory CallViewController
2017-06-06 13:17:06 +02:00
Denis
cbcae18c3c Remove redundant nil operations 2017-06-05 16:30:35 +03:00
Denis Morozov
fbc69f51c6 Fix dangling in the memory CallViewController 2017-06-04 02:39:00 +03:00
Giom Foret
b16e77e551 Bug Fixed: Infinite loading screen when homeserver not reachable
https://github.com/vector-im/riot-ios/issues/1223
2017-05-12 15:20:56 +02:00
Giom Foret
c3a95b7544 Bug Fix: The Riot icon is displayed in full screen in landscape orientation.
No way to do anything
2017-04-21 16:28:57 +02:00
Giom Foret
2ccf76d78d Missed notifications handling:
- Apply API changes in matrixKit
2017-04-18 16:20:55 +02:00
Giom Foret
4947224051 Add the badge value for Home tab bar item.
Fix the missed discussion count
2017-04-18 15:55:51 +02:00
Giom Foret
50ddff54dc Import RageShakeManager.h and RiotDesignValues.h in App Delegate header 2017-04-07 11:52:53 +02:00
Giom Foret
a7c843d86d Merge branch 'develop' into ux_rework 2017-03-31 17:37:50 +02:00
Giom Foret
2d178343b1 Prepare UX rework
- Hide Back button title in details view controller
2017-03-28 18:17:14 +02:00
Giom Foret
2a8ab65d00 Prepare UX Rework
- Display contact details in the secondary view controller of the split view controller.
- Fix issues on secondary view controller handling.
2017-03-28 17:26:50 +02:00
manuroe
76d9048b11 Room summary: Need to reset the EventFormatter after a clear cache
Else, this is MXKEventFormatter that is used
2017-03-27 10:02:26 +02:00
Giom Foret
3a9465320a Prepare UX Rework:
- Fix Tab Bar display
- Adjust (+) icon display
2017-03-24 17:19:55 +01:00
Giom Foret
035f4c330a Prepare UX rework:
- Use a tab bar controller in the master view controller of the split view controller.
2017-03-23 17:48:05 +01:00
manuroe
bf7240098e Merge remote-tracking branch 'origin/master' into room_summary 2017-03-23 16:24:50 +01:00
Giom Foret
17db42d093 Define the media cache version at the application level 2017-03-23 11:49:58 +01:00
manuroe
0cb82452b5 Room summary: MXSession.ignoreProfileChangesDuringLastMessageProcessing is gone 2017-03-21 09:06:18 +01:00
manuroe
e2fe9df08f Room summary: MXKSessionRecentsDataSource.eventFormatter has been removed. Overide the EventFormatter by another mean 2017-03-17 16:46:44 +01:00
Giom Foret
fc1167793c Bug Fix - [Tablet / split mode] The room member details page is not popped after signing out
#1062
2017-03-14 17:25:46 +01:00
giomfo
7860d46996 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename VectorDesignValues with RiotDesignValues
2017-03-08 16:14:41 +01:00
giomfo
568af33fdf Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename "Vector" directory with "Riot"
2017-03-08 11:08:03 +01:00
Renamed from Vector/AppDelegate.m (Browse further)