Swiftpack.co - SyncServerII/iOSDropbox as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by SyncServerII.
SyncServerII/iOSDropbox 0.2.0
Dropbox sign-in for iOS client for SyncServerII
⭐️ 0
🕓 2 years ago
iOS
.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: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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