     }
 
     /// Returns a custom `LocalSource` configured to use an user-provided `SourceProvider`.
-    private func customLocalSource() -> LocalSource {
+    func customLocalSource() -> LocalSource {
         let customSourceTitle = "Custom Source"
         let customProvider = MyCustomSourceProvider()
 

        return true
    }

    private func setupFilestackClient() {
        // Set `UploadService.shared.useBackgroundSession` to true to allow uploads in the background.
        FilestackSDK.UploadService.shared.useBackgroundSession = true



        return customSource
    }

    func beginBackgroundTaskForFilestack() {
        backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "Filestack Background Upload") {
            self.endBackgroundTaskForFilestack()
        }
    }

    func endBackgroundTaskForFilestack() {
        if let backgroundTaskID = backgroundTaskID {
            UIApplication.shared.endBackgroundTask(backgroundTaskID)
            self.backgroundTaskID = .invalid
        }
    }
}
