OneDrive alternatives and similar libraries
Based on the "Official" category.
Alternatively, view OneDrive alternatives based on common mentions on social networks and blogs.
-
ResearchKit
ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects. -
CareKit
CareKit is an open source software framework for creating apps that help people better understand and manage their health. -
Paypal iOS SDK
DISCONTINUED. The PayPal Mobile SDKs enable native apps to easily accept PayPal and credit card payments. -
Shopify
Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card. -
Tumblr
Unopinionated and flexible library for easily integrating Tumblr data into your iOS or OS X application.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of OneDrive or a related project?
README
Note: OneDrive SDK for iOS to be deprecated / archived, please use Microsoft Graph SDKs instead
What is happening?
As of March 10, 2022 the OneDrive SDK for iOS is beginning the process of being deprecated and ultimately the project archived.
Why is this happening?
There are several reasons why we are choosing to end support for this SDK. Most importantly in the time since this SDK was last updated we have seen the emergence of Microsoft Graph as the preferred path for interfacing with OneDrive programmatically. Microsoft Graph receives the latest and greatest updates and provides more up-to-date SDKs as well.
Additionally the OneDrive SDK for iOS currently uses the UIWebView component that has been marked deprecated by Apple. Although no current deadline for updating applications has been provided (see article) we expect this functionality to stop working at some point in an iOS update.
How do I make the transition to Microsoft Graph?
To get started with Microsoft Graph on iOS please use the following resources:
- Get started with Microsoft Graph and iOS
- Microsoft Graph SDK for ObjC
- MSAL Authentication Provider for Objective C
- Microsoft Graph Models SDK
Get started with the OneDrive SDK for iOS
Integrate the OneDrive API into your iOS app!
1. Installation
Install via Cocoapods
- Install Cocoapods - Follow the getting started guide to install Cocoapods.
- Add the following to your Podfile :
pod 'OneDriveSDK'
- Run the command
pod install
to install the latest OneDriveSDK pod. - Add
#import <OneDriveSDK/OneDriveSDK.h>
to all files that need to reference the SDK.
2. Getting started
2.1 Register your application
Register your application by following these steps.
2.2 Set up Keychain Sharing Entitlements in your Xcode Project
Click on your project in the Navigator pane in Xcode. Click on your application target and then the "Capabilities" tab. Scroll down to "Keychain Sharing" and flip the switch on. Add "com.microsoft.adalcache" to that list.
2.2 Setting your application Id and scopes
You can set your application Id and scopes directly on the ODClient object.
For applications targeting OneDrive call the class method
[ODClient setMicrosoftAccountAppId:<applicationId> scopes:<scopes>]
with a specified<applicationId>
and<scopes>
. For more info about scopes, see Authentication scopes.For applications targeting OneDrive for Business call the class method
[ODClient setActiveDirectoryAppId:<applicationId> redirectURL:<redirectURL>]
with specified<applicationId>
and<redirectURL>
. Note: the redirect URL must match the redirect URL that you specified in the Azure Management Portal.
2.3 Getting an authenticated ODClient object
Once you have set the correct application Id and scopes, you must get an ODClient object to make requests against the service. The SDK will store the account information for you, but when a user logs on for the first time, it will invoke UI to get the user's account information.
Get an authenticated ODClient via the clientWithCompletion method:
[ODClient clientWithCompletion:^(ODClient *client, NSError *error){
if (!error){
self.odClient = client;
}
}];
2.4 Making requests against the service
Once you have an ODClient that is authenticated you can begin to make calls against the service. The requests against the service look like our REST API.
To retrieve a user's drive:
[[[odClient drive] request] getWithCompletion:^(ODDrive *drive, NSError *error){
//Returns an ODDrive object or an error if there was one
}];
To get a user's root folder of their drive:
[[[[odClient drive] items:@"root"] request] getWithCompletion:^(ODItem *item, NSError *error){
//Returns an ODItem object or an error if there was one
}];
For a general overview of how the SDK is designed, see [overview](docs/overview.md).
For a complete sample application, see [OneDriveAPIExplorer](Examples/iOSExplorer).
3. Documentation
For a more detailed documentation see:
- [Overview](docs/overview.md)
- [Auth] (docs/auth.md)
- [Items](docs/items.md)
- [Collections](docs/collections.md)
- [Errors](docs/errors.md)
4. Issues
For known issues, see issues.
5. License
[License](LICENSE.txt)
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
*Note that all licence references and agreements mentioned in the OneDrive README section above
are relevant to that project's source code only.