Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xx messenger iOS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
xx messenger iOS
Merge requests
!1
Account recovery/backup feature
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Account recovery/backup feature
account-recovery
into
development
Overview
0
Commits
56
Pipelines
0
Changes
4
Merged
Account recovery/backup feature
Bruno Muniz
requested to merge
account-recovery
into
development
Feb 22, 2022
Overview
0
Commits
56
Pipelines
0
Changes
4
0
0
Merge request reports
Viewing commit
83e60b22
Prev
Next
Show latest version
4 files
+
17
−
4
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
83e60b22
Removed api keys from project
· 83e60b22
Bruno Muniz
authored
Apr 14, 2022
Sources/DropboxFeature/DropboxService.swift
+
5
−
1
View file @ 83e60b22
Edit in single-file editor
Open in Web IDE
Show full file
@@ -6,7 +6,11 @@ public struct DropboxService: DropboxInterface {
@@ -6,7 +6,11 @@ public struct DropboxService: DropboxInterface {
private
let
didAuthorizeSubject
=
PassthroughSubject
<
Result
<
Bool
,
Error
>
,
Never
>
()
private
let
didAuthorizeSubject
=
PassthroughSubject
<
Result
<
Bool
,
Error
>
,
Never
>
()
public
init
()
{
public
init
()
{
DropboxClientsManager
.
setupWithAppKey
(
"ppx0de5f16p9aq2"
)
let
path
=
Bundle
.
module
.
path
(
forResource
:
"Dropbox-Keys"
,
ofType
:
"plist"
)
let
url
=
URL
(
fileURLWithPath
:
path
!
)
let
keys
=
try!
NSDictionary
(
contentsOf
:
url
,
error
:
())
DropboxClientsManager
.
setupWithAppKey
(
keys
[
"DROPBOX_APP_KEY"
]
as!
String
)
}
}
public
func
unlink
()
{
public
func
unlink
()
{
Loading