MSGraph: Replace the OneDrive SDK by the Microsoft Graph SDK
What has been changed:
-
The Microsoft Graph SDK is added including a custom version of the Microsoft Authentication Library in order to be able to build the feature for iOS versions lower than iOS 13.0.
-
Microsoft Graph is now used to allow the user to access the OneDrive cloud service.
-
The user is able to login into a personal or professional account, navigate through the folders, play the medias displayed and download them.
-
The old OneDrive SDK is removed from the project.
-
The title of the media that is currently being downloaded is displayed to let the user know which one is being downloaded.
-
The CloudStorageTableViewController does not create a loop trying to update the content of the view when there are no items to be displayed anymore.
-
The adding and removing views calls are now dispatched to the main queue to avoid crashes.
What is left to be done:
-
The application needs to be registered in the Microsoft Azure portal and change the credentials for the authentication.
-
Modify the Safari calls made by the custom version of the MSGraphMSALAuthProvider to enable the application to display a Safari window to let the users (on devices running with iOS versions below than 13.0) access the authentication view.