Comments (1)
Hi,
Finally this was my fault. I forgot to call "preconfigureDocumentSyncManager" within "openURL".
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
if ([[DBSession sharedSession] handleOpenURL:url]) {
if ([[DBSession sharedSession] isLinked]) {
NSLog(@"App linked successfully!");
[self preconfigureDocumentSyncManager];
}
return YES;
}
return NO;
}
- (void)preconfigureDocumentSyncManager
{
NSLog(@"preconfigureDocumentSyncManager");
// Register Sync Manager
[self registerSyncManager];
// Managed Object Context is Synchronized.
self.managedObjectContext.synchronized = YES;
// Preconfigure Document Sync Manager.
TICDSDropboxSDKBasedDocumentSyncManager *docSyncManager = [[TICDSDropboxSDKBasedDocumentSyncManager alloc] init];
[docSyncManager registerWithDelegate:self
appSyncManager:[TICDSDropboxSDKBasedApplicationSyncManager defaultApplicationSyncManager]
managedObjectContext:[self managedObjectContext]
documentIdentifier:@"FlexList"
description:@"Application's data"
userInfo:nil];
[self setDocumentSyncManager:docSyncManager];
docSyncManager = nil;
}
Regards.
Pedro.
from ticoredatasync.
Related Issues (20)
- TICDSLog() unsafe
- TICDSDropboxSDKBasedPreSynchronizationOperation's failedDownloadRetryDictionary uses different keys
- Undoing added objects HOT 1
- Downloading the list of available documents in NSEventTrackingRunLoopMode HOT 2
- Integrating TICoreDataSync with Cocoapds
- New Device does not getting latest data since CoreData Model Update. HOT 1
- How to reset all Sync data to get a clean whole store upload? HOT 6
- Downloading current document's data after deleting local file HOT 5
- Avoid sync of some elements HOT 1
- Impossible to register new clients for existing database in Dropbox HOT 1
- Excessive memory usage when applying numerous change sets HOT 4
- Property attributes warnings HOT 7
- TICoreDataSync first run and sync loop HOT 6
- documentSyncManagerDidFinishSynchronizing executed 2 times HOT 6
- UploadWholeStore problem, empty db HOT 7
- Mac client and managedObjectContext changes not reflected to arrayController HOT 1
- (503) Rate limiting oauth_accesses_per_access_token HOT 1
- kTICDSClientDeviceIdentifier and ClientDevices directory
- iCloud branch behind a few commits
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ticoredatasync.