Commit f8e8fda4 authored by Carola Nitz's avatar Carola Nitz

Box: removed invalid urlscheme and removed false overwrite of mediaListUpdated

parent 9374d06e
......@@ -182,16 +182,6 @@
<string>vlc-x-callback</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLName</key>
<string>Box</string>
<key>CFBundleURLSchemes</key>
<array>
<string>boxsdk-nrjwriavk0mf8j6bhra56tyn58d5i7ci://boxsdkoauth2redirect</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
......
......@@ -13,7 +13,6 @@
#define kVLCBoxClientID @"nrjwriavk0mf8j6bhra56tyn58d5i7ci"
#warning Box app secret missing, login will fail
#define kVLCBoxClientSecret @""
#define kVLCBoxRedirectURL @"boxsdk-nrjwriavk0mf8j6bhra56tyn58d5i7ci://boxsdkoauth2redirect"
#define kVLCBoxService @"kVLCBoxService"
#define kVLCBoxAccount @"kVLCBoxAccount"
......@@ -76,7 +76,8 @@
- (UIViewController *)createAuthController
{
NSURL *authorizationURL = [[BoxSDK sharedSDK].OAuth2Session authorizeURL];
BoxAuthorizationViewController *authorizationController = [[BoxAuthorizationViewController alloc] initWithAuthorizationURL:authorizationURL redirectURI:kVLCBoxRedirectURL];
NSString *redirectURLString = [[BoxSDK sharedSDK].OAuth2Session redirectURIString];
BoxAuthorizationViewController *authorizationController = [[BoxAuthorizationViewController alloc] initWithAuthorizationURL:authorizationURL redirectURI:redirectURLString];
authorizationController.delegate = self;
return authorizationController;
}
......@@ -116,10 +117,6 @@
#pragma mark - Table view delegate
- (void)mediaListUpdated
{
[self.tableView reloadData];
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment