on 07-15-2011 12:38 PM
I we have configured mbo on SUP server . when we hit for data from iPhone it taking to much time to fetch data .
we are using auto generated code.
Hi Yogesh
Try using different Synchronization Groups for differnt MBOs and try to synchronize only the needed the time.
Thanks and regards,
Rinzy Deena Mathews.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
define too much time and data volume.
It is correct - forst time it takes ages - but after that it is fast. Because DB is available and subscrition is done.
I know it is a stupid question, but is it possible you simply subscribe every time you sync and/or you delete DB as well? Do you call sync or syncifnecessary?
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah olive we were doing subscription again and again ,actually we are facing issue with async online login as it is taking too much time and some time never authenticate its very hard time with us .We are using 2G network network .
here is the code
if(![Create_POv2_Create_POv2DB databaseExists])
{
[Create_POv2_Create_POv2DB createDatabase];
}
[MBOLogger setLogLevel:LOG_INFO];
SUPCallbackHandler *databaseCH = [SUPCallbackHandler newInstance];
[Create_POv2_Create_POv2DB registerCallbackHandler:databaseCH];
[Create_POv2_Create_POv2DB startBackgroundSynchronization];
[NSThread sleepForTimeInterval:2];
NSInteger result = [SUPMessageClient start];
if (result == kSUPMessageClientSuccess)
{
[Create_POv2_Create_POv2DB beginOnlineLogin:@"supAdmin" password:@"s3pAdmin"];
SUPCallbackHandler* databaseCH = (SUPCallbackHandler *)[Create_POv2_Create_POv2DB callbackHandler];
while([databaseCH loginSuccessCount] < 1)
{
NSLog(@"logging to dataBase");
[[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:1]];
}
}
else
{
NSLog(@"failure in connection");
}
Can you please suggest way to do things offline as we are unable offlineLogin as it fails though we authenticated successfully previously .
Thanks in advance ,
Yogesh
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.