diff --git a/BETA-AGREEMENT.md b/BETA-AGREEMENT.md new file mode 100644 index 0000000..3283010 --- /dev/null +++ b/BETA-AGREEMENT.md @@ -0,0 +1,133 @@ +# BOX SDK BETA AGREEMENT +# (USv08092019) + +This Box SDK Beta Agreement (“__Agreement__”) is entered into between Box, Inc. (“__Box__”) and you (“__You__”). Under +this Agreement, You may use the features, functionality and software associated with certain Box SDKs for testing and +evaluating (each a “__Test Feature__”) strictly for providing feedback to Box ("__Purpose__”). If You are using the Test +Feature on behalf of an organization, You are agreeing to this Agreement for that organization and promising to Box that +You have the authority to bind that organization to this Agreement (in which event, You and “__Your__” will refer to +that organization). + +__BY USING AN ASSOCIATED TEST FEATURE, YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT. IF YOU DO NOT ACCEPT__ +__THIS AGREEMENT, YOU MAY NOT USE THE ASSOCIATED TEST FEATURE.__ + +## Section 1. Test Feature Use; Test Participation + +Subject to the terms of this Agreement, You may use the applicable Test Feature during the time it is provided by Box +(“__Trial Term__”) as through Box’s hosted service (the “__Box Service__”). Box may provide additional supporting +details and information that apply to Your access and use of a Test Feature. Participation in any given Test Feature +may include, but is not limited to: (i) electronic surveys; (ii) email responses; or (iii) interview feedback sessions. +You have no obligation to provide Box with ideas, suggestions or proposals (“__Feedback__”). If You submit Feedback to +Box, then You grant us a non-exclusive, worldwide, royalty-free, sublicensable, and transferable license to make, use, +sell, have made, offer to sell, import, reproduce, publicly display, distribute, modify, and publicly perform the +Feedback. + +## Section 2. Test Feature Acknowledgements + +A Test Feature may not be at a level of performance or compatibility of generally available services Box offers and has +not been not fully tested. You acknowledge that the Test Feature is a pre-production release and is not suitable for +production use. You acknowledge that the Your usage statistics for the Test Feature will be monitored and collected by +Box. As this is a test feature, You understand that Box may discontinue Your access or remove the Test Feature at any +time at Box’s sole discretion. Features included in the Test Feature may or may not be included in any corresponding +general availability release. Further, You understand that Box has no obligation to support or maintain the Test +Feature. You are granted a non-exclusive, non-transferable, limited right to use the Test Feature for Your testing +purposes only. + +## Section 3. Disclaimer of Warranty + +The Test Feature is supplied on an "AS IS" and “AS AVAILABLE” basis for testing purposes only. BOX MAKES NO WARRANTIES +WHATSOEVER, EXPRESS OR IMPLIED, WITH REGARD TO THE TEST FEATURE. Box makes no (and specifically disclaims and +excludes) all representations, warranties, conditions or terms of any kind (whether express or implied by statute, +common law, usage, or otherwise), including, but without limitation: (a) that the Test Feature will be uninterrupted, +error-free or free of harmful components; (b) that the content will be secure or not otherwise lost or damaged; or +(c) any implied warranty, term, representation or condition of: (i) satisfactory quality; (ii) fitness for purpose or a +particular purpose; or (iii) non-infringement of third party intellectual property rights. Some jurisdictions do not +allow the exclusion of implied warranties. In such an event, the above exclusion will apply solely to the extent +permitted by law. + +## Section 4. Excluded Data + +You represent to Box that You have all rights to all content which You transmit using the Test Feature. Notwithstanding +the foregoing, You shall not use or upload with the Test Feature, any non-public personally identifiable information +that could be considered private or sensitive including, without limitation, personal health information, payment card +information, social security numbers, driver’s license numbers, personal bank account numbers, passwords, and credit +card numbers (“__Excluded Company Data__”). In the event that You upload or use Excluded Company Data with the Test +Feature in violation of this Agreement, You shall remove such information immediately. + +## Section 5. Sandbox Environments + +If the Test Feature requires, or is otherwise used in, a sandbox environment, then You are responsible for removing any +content it wishes to retain prior to the expiration or termination of the Trial Term. For clarity, if a General +Release (defined below) for the Test Feature is offered, Box is under no obligation to offer migration capabilities or +services. + +## Section 6. Trial Term Termination; General Release + +If not terminated earlier by Box at its sole discretion, the Trial Term for the applicable Test Feature will terminate +upon the general release of the Test Feature (“__General Release__”). In the event of a General Release, and unless +You license the generally available product, service or feature under a separate agreement with Box, the Test Feature +will no longer be licensed to You by Box. You may terminate use of the Test Feature at any time. For clarity, Box does +not guarantee that it will make a Test Feature or any similar service available, or if made available upon a General +Release, it will be similar to the Test Feature. + +## Section 7. Fees + +There are no charges for use of a Test Feature during the Trial Term, unless specified by Box and agreed to by You in a +separate agreement. If any authority imposes a tax (including a withhold tax), duty, custom, levy or fee for the +transfer, access or use of a Test Feature or third party service, then You are responsible to pay any such amount +imposed. Box will not provide any compensation to You for Your participation under this Agreement. + +## Section 8. Ownership + +This Agreement does not convey to You any rights of ownership in the Test Feature and You acknowledge Box’s intellectual +property rights in the Test Feature regardless of whether any such intellectual property notice appears on the Test +Feature. All right, title, and interest in the Test Feature, in any Feedback to Box regarding the Test Feature and in +any ideas, know-how, and programs, including any enhancements or modifications made to the Test Feature, shall at all +times remain the property of Box or its licensor. + +## Section 9. Limitation of Liability + +IN NO EVENT SHALL BOX, OR ITS AFFILIATES,HAVE ANY LIABILITY FOR ANY LOST PROFITS, LOST DATA, OR ANY INDIRECT, +INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE), PRODUCT +LIABILITY, OR OTHERWISE, AND WHETHER OR NOT BOX HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE, ARISING FROM THE USE +OF, OR INABILITY TO USE OR TO ACHIEVE ANY PARTICULAR RESULTS FROM USE OF, THE TEST FEATURE, OR ARISING IN ANY OTHER WAY +FROM, OUT OF, OR RELATING TO THIS AGREEMENT. In no case will Box’s liability for damages hereunder exceed $100. The +existence of more than one claim or suit will not enlarge or extend this limit. + +## Section 10. Export Requirement sand Governing Law + +You shall comply with all applicable export control laws and with any regulations issued from time to time by the U.S. +Department of Commerce and similar agencies concerning exporting, importing, and re-exporting the Test Feature. This +Agreement will be governed under the laws of the State of California, USA, without reference to its choice of law rules. +The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement. Any +dispute, controversy or claim arising under, out of or relating to this Agreement, will be finally determined by +arbitration conducted by JAMS (or, if unavailable, then such other similar group that can provide former judges as +arbiters) in accordance with the Rules of Arbitration of the International Chamber of Commerce applicable to commercial +disputes. The place of such arbitration will be in Santa Clara County, California, U.S.A. The foregoing does not limit +or restrict either You or Box from seeking injunctive or other equitable relief from a court of competent jurisdiction. + +## Section 11. Government Licensee + +If You are a U.S. government entity or if this Agreement otherwise becomes subject to the Federal Acquisition +Regulations (FAR), You acknowledge that elements of the Box Service constitute software and documentation and are +provided as “Commercial Items” as defined at 48 C.F.R. 2.101, and are being licensed to U.S. government user as +commercial computer software subject to the restricted rights described in 48 C.F.R. 2.101 and 12.212. + +## Section 12. Miscellaneous + +You and Box are entering into this Agreement as independent contracting parties. Neither You nor Box will have, or hold +itself out as having, any right or authority to incur any obligation on behalf of the other. In the event that any +provision of this Agreement, or the application thereof, becomes or is declared by a court of competent jurisdiction to +be illegal, void or unenforceable, the remainder of this Agreement will continue in full force and effect and the +application of such provision will be interpreted so as reasonably to effect the intent of You and Box. The failure of +either You or Box to insist upon or enforce strict performance of any of the provisions of this Agreement or to exercise +any rights or remedies under this Agreement will not be construed as a waiver or relinquishment to any extent of such +party’s right to assert or rely upon any such provision, right or remedy in that or any other instance. This Agreement +constitutes the entire agreement, and supersedes and all prior agreements between You and Box with regard to the subject +matter. + +__CONTACT BOX WITH ANY QUESTIONS:__ Please send all feedback or questions to: [sdks-feedback@box.com][email]. + +CONFIDENTIAL INFORMATION + +[email]: mailto:sdks-feedback@box.com diff --git a/BoxPreviewSDK.framework.zip b/BoxPreviewSDK.framework.zip index dd09c6b..ceaacac 100644 Binary files a/BoxPreviewSDK.framework.zip and b/BoxPreviewSDK.framework.zip differ diff --git a/BoxPreviewSDKSampleApp.zip b/BoxPreviewSDKSampleApp.zip deleted file mode 100644 index f5a81dd..0000000 Binary files a/BoxPreviewSDKSampleApp.zip and /dev/null differ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0bd39ad --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,35 @@ +Changelog +========= + +## v3.0.0-alpha.3 [2019-08-29] + +__Breaking Changes:__ + + +__New Features and Enhancements:__ + +- Added Print / Save / Share functionality for PDFs and images +- Added a JWT Sample Application +- Added search for PDFs +- Added search history for PDFs +- Added search results navigation for PDFs +- Added logout feature to OAuth2 Sample App +- Added support for custome Error Views + + +## v3.0.0-alpha.2 [2019-08-08] + +__Breaking Changes:__ + + +__New Features and Enhancements:__ + +- Fixed bug with double tap zoom +- Fixed bug with swipe left/right page navigation +- Fixed bug with Full Screen mode for images +- Disabled PDF Thumbnail Navigation for single-page PDF files + + +## v3.0.0-alpha.1 [2019-07-25] + +Initial beta release :tada: diff --git a/JWTSampleApp.zip b/JWTSampleApp.zip new file mode 100644 index 0000000..75918ad Binary files /dev/null and b/JWTSampleApp.zip differ diff --git a/OAuth2SampleApp.zip b/OAuth2SampleApp.zip new file mode 100644 index 0000000..8be81ce Binary files /dev/null and b/OAuth2SampleApp.zip differ diff --git a/boxPreviewSDK.json b/boxPreviewSDK.json index 83f3a8a..523cfaa 100644 --- a/boxPreviewSDK.json +++ b/boxPreviewSDK.json @@ -1,2 +1,3 @@ {"3.0.0-alpha.1":"https://github.com/box/box-ios-preview-sdk/releases/download/v3.0.0-alpha.1/BoxPreviewSDK.framework.zip", - "3.0.0-alpha.2":"https://github.com/box/box-ios-preview-sdk/releases/download/v3.0.0-alpha.2/BoxPreviewSDK.framework.zip"} + "3.0.0-alpha.2":"https://github.com/box/box-ios-preview-sdk/releases/download/v3.0.0-alpha.2/BoxPreviewSDK.framework.zip", + "3.0.0-alpha.3":"https://github.com/box/box-ios-preview-sdk/releases/download/v3.0.0-alpha.3/BoxPreviewSDK.framework.zip"} diff --git a/docs/usage/getting-started.md b/docs/usage/getting-started.md index 9bed409..1930901 100644 --- a/docs/usage/getting-started.md +++ b/docs/usage/getting-started.md @@ -20,8 +20,8 @@ Installing the SDK __Step 1__: Add to your `Cartfile` ```ogdl -binary "https://raw.githubusercontent.com/box/box-ios-sdk/limited-beta-release/boxSDK.json" == 3.0.0-alpha.2 -binary "https://raw.githubusercontent.com/box/box-ios-preview-sdk/limited-beta-release/boxPreviewSDK.json" == 3.0.0-alpha.2 +binary "https://raw.githubusercontent.com/box/box-ios-sdk/limited-beta-release/boxSDK.json" == 3.0.0-alpha.3 +binary "https://raw.githubusercontent.com/box/box-ios-preview-sdk/limited-beta-release/boxPreviewSDK.json" == 3.0.0-alpha.3 ``` __Step 2__: Update dependencies @@ -142,13 +142,16 @@ Future Enhancements You can expect to see the following enhancements in future updates of the Box Preview SDK Sample App: - Support for more file types -- Search - - Search Results navigator - - Search Results highlighting in document - - Search history - Local file caching - Open multiple images at once - Load all images in thumbnail navigation bar at the bottom of the screen - Support for left and right swiping gestures to navigate from one image to the next - Start app on last-viewed file - And more! + + +License +------- + +Any use of this software is governed by the attached [Box SDK Beta Agreement](../../BETA-AGREEMENT.md). +__If you do not accept the terms of the Box SDK Beta Agreement, you may not use this software.__