Swiftpack.co -  SyncServerII/iOSDropbox as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SyncServerII/iOSDropbox
Dropbox sign-in for iOS client for SyncServerII
.package(url: "https://github.com/SyncServerII/iOSDropbox.git", from: "0.2.0")

iOSDropbox

iOS Dropbox library for SyncServerII

  1. Register your application in the Dropbox App Console. https://dropbox.com/developers/apps Part of what you get here is a DropboxAppKey

  2. Add a Dropbox URL scheme to your app in Xcode (See https://github.com/dropbox/SwiftyDropbox#get-started)

<key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>db-<APP_KEY></string>
            </array>
            <key>CFBundleURLName</key>
            <string></string>
        </dict>
    </array>
  1. Into your Info.plist for your app, also add:
<key>LSApplicationQueriesSchemes</key>
	<array>
		<string>dbapi-8-emm</string>
		<string>dbapi-2</string>
	</array>
  1. Pass the DropboxAppKey to the DropboxSyncServerSignIn constructor.

See also https://www.dropbox.com/developers/documentation/swift

GitHub

link
Stars: 0
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API