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 setFinish:@selector(indexDidFinish:)];
|
||||||
[handler setInvisible:MGMInstanceInvisible];
|
[handler setInvisible:MGMInstanceInvisible];
|
||||||
[connectionManager addHandler:handler];
|
[connectionManager addHandler:handler];
|
||||||
} else if ([returnedString containsString:@"<div class=\"sign-in\""]) {
|
} else if ([returnedString containsString:@"id=\"gaia_loginform\""]) {
|
||||||
if (webLoginTries>2) {
|
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]];
|
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:)]) {
|
if (delegate!=nil && [delegate respondsToSelector:@selector(loginError:)]) {
|
||||||
@ -728,6 +728,9 @@ const BOOL MGMInstanceInvisible = YES;
|
|||||||
[request setHTTPMethod:MGMPostMethod];
|
[request setHTTPMethod:MGMPostMethod];
|
||||||
[request setValue:MGMURLForm forHTTPHeaderField:MGMContentType];
|
[request setValue:MGMURLForm forHTTPHeaderField:MGMContentType];
|
||||||
[verificationParameters setObject:theCode forKey:@"smsUserPin"];
|
[verificationParameters setObject:theCode forKey:@"smsUserPin"];
|
||||||
|
[verificationParameters setObject:@"1" forKey:@"pstMsg"];
|
||||||
|
[verificationParameters removeObjectForKey:@"retry"];
|
||||||
|
[verificationParameters removeObjectForKey:@"smsSend"];
|
||||||
NSArray *parametersKeys = [verificationParameters allKeys];
|
NSArray *parametersKeys = [verificationParameters allKeys];
|
||||||
NSMutableString *bodyString = [NSMutableString string];
|
NSMutableString *bodyString = [NSMutableString string];
|
||||||
for (int i=0; i<[parametersKeys count]; i++) {
|
for (int i=0; i<[parametersKeys count]; i++) {
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.4</string>
|
<string>0.4.1</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
@ -105,7 +105,7 @@
|
|||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>0.4</string>
|
<string>0.4.1</string>
|
||||||
<key>MGMGRBugsEmail</key>
|
<key>MGMGRBugsEmail</key>
|
||||||
<string>bugs@mrgeckosmedia.com</string>
|
<string>bugs@mrgeckosmedia.com</string>
|
||||||
<key>MGMGRContactEmail</key>
|
<key>MGMGRContactEmail</key>
|
||||||
|
Loading…
Reference in New Issue
Block a user