Google Login Fixes
Google has updated their login system and VoiceBase needed an update to work with it.
This commit is contained in:
parent
62513804b9
commit
fdfed8631b
@ -423,7 +423,7 @@ const BOOL MGMInstanceInvisible = YES;
|
||||
[handler setFinish:@selector(indexDidFinish:)];
|
||||
[handler setInvisible:MGMInstanceInvisible];
|
||||
[connectionManager addHandler:handler];
|
||||
} else if ([returnedString containsString:@"<div class=\"sign-in\""]) {
|
||||
} else if ([returnedString containsString:@"id=\"gaia_loginform\""]) {
|
||||
if (webLoginTries>2) {
|
||||
NSError *error = [NSError errorWithDomain:@"com.MrGeckosMedia.MGMInstance.Login" code:1 userInfo:[NSDictionary dictionaryWithObject:@"Unable to login. Please check your Credentials." forKey:NSLocalizedDescriptionKey]];
|
||||
if (delegate!=nil && [delegate respondsToSelector:@selector(loginError:)]) {
|
||||
@ -728,6 +728,9 @@ const BOOL MGMInstanceInvisible = YES;
|
||||
[request setHTTPMethod:MGMPostMethod];
|
||||
[request setValue:MGMURLForm forHTTPHeaderField:MGMContentType];
|
||||
[verificationParameters setObject:theCode forKey:@"smsUserPin"];
|
||||
[verificationParameters setObject:@"1" forKey:@"pstMsg"];
|
||||
[verificationParameters removeObjectForKey:@"retry"];
|
||||
[verificationParameters removeObjectForKey:@"smsSend"];
|
||||
NSArray *parametersKeys = [verificationParameters allKeys];
|
||||
NSMutableString *bodyString = [NSMutableString string];
|
||||
for (int i=0; i<[parametersKeys count]; i++) {
|
||||
|
@ -68,7 +68,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.4</string>
|
||||
<string>0.4.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
@ -105,7 +105,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.4</string>
|
||||
<string>0.4.1</string>
|
||||
<key>MGMGRBugsEmail</key>
|
||||
<string>bugs@mrgeckosmedia.com</string>
|
||||
<key>MGMGRContactEmail</key>
|
||||
|
Loading…
Reference in New Issue
Block a user