Coder Social home page Coder Social logo

box-ios-browse-sdk's People

Contributors

adempsey avatar adempseybox avatar crousselle avatar digitalsolomon avatar irvingruan avatar jdizoglio avatar jlawton avatar jpang1 avatar potrebic avatar readmecritic avatar roliva-box avatar scottliubox avatar sowmiya avatar sujaygarlanka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

box-ios-browse-sdk's Issues

BOXFolderViewController hidden search bar

Hi.
Having a gap between navigation bar and top cell in BOXFolderViewController. Search bar is placed there as table view header but it's being hidden and never brought back to visible.
This line from setupForSearch method hides it:
self.searchController.searchBar.hidden = YES; // Starts of hidden, and only when we've fetched items do we bring it in.
I think it should set to visible somewhere in fetchItems completion block. Or do I miss something?
Thanks.

I want single user at a time.

You cannot use 'defaultClient' if multiple users have established a session.
I facing this issue.
Please help me how should I destroy session.

Missing support for Cocoapods

Hey devs,

Is there a reason you don't still support Cocoapods? I realize for a brand new project someone might decide to use Carthage over Cocoapods, but my current project already has several pods and it's pretty tedious to have to add Carthage as well just for this one library.

Any chance of adding Cocoapods support again?

redirect_uri_mismatch

after tapping the start button, this error is shown. Have tried different pairs of client id and secret register in the developer account.

Use of undeclared identifier 'SHA_DIGEST_LENGTH' in Xcode 11

Description of the Issue

Versions Used

Browse SDK: 1.0.7
iOS: 11.0.1

Steps to Reproduce

  1. Created a objc project.
  2. Added the pod as mentioned here https://cocoapods.org/pods/box-ios-browse-sdk
  3. Ran the project in xcode 11.2.1 iOS simulator 11.0.1 , 11.1

Error Message, Including Stack Trace

Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:131:26: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
unsigned char digest[SHA_DIGEST_LENGTH];

Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:140:26: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
unsigned char digest[SHA_DIGEST_LENGTH];

Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:141:24: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
char finaldigest[2*SHA_DIGEST_LENGTH];

Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:145:17: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
for (i=0; i<SHA_DIGEST_LENGTH; i++) {

Pod install fails for the Sample App

Running pod install for the sample App returns:

Analyzing dependencies [!] The dependency box-ios-browse-sdk (from ../) is not used in any concrete target.

Cocoapods version: 1.1.0.rc.3

Pod file needs to be updated to:

use_frameworks!
platform :ios, '8.0'

target 'BoxBrowseSDKSampleApp' do
    pod 'box-ios-browse-sdk'
end

Not using constants for custom colors

We should use constants for the colors used instead of setting the full RGB value (UIColor colorWithRed:green:blue:alpha:) every time. This will be more readable and will allow us to reuse colors more easily.

Unable to run sample code: dyld: Library not loaded: @rpath/BoxContentSDK.framework/BoxContentSDK

I'm trying to run the sample app. I've installed Carthage and run:
carthage update --platform iOS in the directory. It appears to have executed successfully.

When I try to run the project in the simulator it builds but immediately crashes with this error:

dyld: Library not loaded: @rpath/BoxContentSDK.framework/BoxContentSDK
Referenced from: /Users/Tyler/Library/Developer/CoreSimulator/Devices/B04EF5A8-71DE-40C8-8D78-1D6D640ED4AC/data/Containers/Bundle/Application/2FBAA231-F522-48C3-96A2-C538A51DE0B4/BoxBrowseSDKSampleApp.app/BoxBrowseSDKSampleApp
Reason: image not found

There are no additional steps in the instructions for running the sample app, though I did create an app on your developer portal and input my client ID and secret.

I've tried the usual steps of deleting Derived Data, cleaning the app and rebuilding but to no avail.

Have I missed something?

Not using UIFont preferredFontForTextStyle:

Should use preferredFontForTextStyle: instead of systemFontOfSize: etc. to fully support dynamic type.

Will also want to listen for UIContentSizeCategoryDidChangeNotification to update the UI to pick up the new font (size).

box webbrowser sdk crushed after lunch.

I heard BoxDev 2015 keynote and Release iOS Web browser SDK.
i tried demo code.

    [BOXContentClient setClientID:@"My Client ID"
                     clientSecret:@"My Client Secret"];

    BOXContentClient *contentClient = [BOXContentClient defaultClient];
    ...
    ...

I compled and run code, after crush. log is

2015-04-22 12:51:08.073 boxbrowser[20630:768377] -[__NSCFData hasPrefix:]: unrecognized selector sent to instance 0x7fa2f6804a00
2015-04-22 12:51:08.080 boxbrowser[20630:768377] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFData hasPrefix:]: unrecognized selector sent to instance 0x7fa2f6804a00'
*** First throw call stack:
(
    0   CoreFoundation                      0x000000010965ec65 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x00000001092f7bb7 objc_exception_throw + 45
    2   CoreFoundation                      0x00000001096660ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3   CoreFoundation                      0x00000001095bc13c ___forwarding___ + 988
    4   CoreFoundation                      0x00000001095bbcd8 _CF_forwarding_prep_0 + 120
    5   boxbrowser                          0x00000001087345d3 +[BOXOAuth2Session usersInKeychain] + 787
    6   boxbrowser                          0x0000000108702c5e +[BOXContentClient users] + 46
    7   boxbrowser                          0x00000001087017fc __33+[BOXContentClient defaultClient]_block_invoke + 60
    8   libdispatch.dylib                   0x000000010d943614 _dispatch_client_callout + 8
    9   libdispatch.dylib                   0x000000010d92f881 dispatch_once_f + 565
    10  boxbrowser                          0x000000010870179d +[BOXContentClient defaultClient] + 141
    11  boxbrowser                          0x00000001086b785b -[ViewController viewDidLoad] + 123
    12  UIKit                               0x0000000109cdb210 -[UIViewController loadViewIfRequired] + 738
    13  UIKit                               0x0000000109cdb40e -[UIViewController view] + 27
    14  UIKit                               0x0000000109bf62c9 -[UIWindow addRootViewControllerViewIfPossible] + 58
    15  UIKit                               0x0000000109bf668f -[UIWindow _setHidden:forced:] + 247
    16  UIKit                               0x0000000109c02e21 -[UIWindow makeKeyAndVisible] + 42
    17  UIKit                               0x0000000109ba6457 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2732
    18  UIKit                               0x0000000109ba91de -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349
    19  UIKit                               0x0000000109ba80d5 -[UIApplication workspaceDidEndTransaction:] + 179
    20  FrontBoardServices                  0x00000001102a35e5 __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 21
    21  CoreFoundation                      0x000000010959241c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    22  CoreFoundation                      0x0000000109588165 __CFRunLoopDoBlocks + 341
    23  CoreFoundation                      0x0000000109587f25 __CFRunLoopRun + 2389
    24  CoreFoundation                      0x0000000109587366 CFRunLoopRunSpecific + 470
    25  UIKit                               0x0000000109ba7b42 -[UIApplication _run] + 413
    26  UIKit                               0x0000000109baa900 UIApplicationMain + 1282
    27  boxbrowser                          0x00000001086b7b9f main + 111
    28  libdyld.dylib                       0x000000010d977145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

maybe it is my environment problem. Because, I reset ("Reset content and setting" ) iPhone simulator, then it worked.

BoxBrowseSDKResources is missing

UIImage+BOXBrowseSDKAdditions.m line 52, resourcesBundleURL is null and app crashed

    NSURL *resourcesBundleURL = [[NSBundle mainBundle] URLForResource:@"BoxBrowseSDKResources" withExtension:@"bundle"];

I used use_frameworks! config inside podfile, does it cause this issue ?
I'm using BoxPreviewSDKResources for temporary now.

Folder information update

The folder item information is not being updated as the contents of the folder changes.

  1. Create a folder, i.e. 'Test Folder'
  2. Nav into the folder and 'Add a file' from a box app or upload via the web
  3. Pull to refresh the folder. You will see the item
  4. Nav back to the parent folder. The information still show folder is empty.
  5. PTR, the folder is still show as empty. Requires and app restart to show the correct folder information.

We should update the information after each network request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.