With the sun-setting of Google+ in March, will you be pushing an update to Mail.dll?

0 votes

With the Sun-setting of Google+ in March, will you be pushing an update to Mail.dll?

We would like to plan work related to upgrading Mail.dll, if you will be releasing a new version to circumnavigate Google+.

Thank you!

asked Jan 7 by Anon
Generally Mail.dll doesn't really on Google+. I think the only call we use is the one to get user's email in oauth scenario; it's https://www.googleapis.com/plus/v1/people/me endpoint. Do you know if this will be retired as well?
I cannot confirm or deny which endpoints are being removed from Google+, specifically.

However, by the looks of this documentation, it appears to me that it will be deprecated/retired:
https://developers.google.com/+/mobile/android/api-deprecation

Should we expect an update to Mail.dll?
Definitely there will be an update. We are looking for replacement right now, as it seems that this call is being deprecated.

1 Answer

0 votes

New release is going to include following changes:

1)

You should be using GoogleScope.UserInfoEmailScope instead of GoogleScope.EmailScope:

Before:

Scopes = new[] 
    { 
        GoogleScope.ImapAndSmtp.Name, 
        GoogleScope.EmailScope.Name
    }

After:

Scopes = new[] 
    { 
        GoogleScope.ImapAndSmtp.Name, 
        GoogleScope.UserInfoEmailScope.Name
    }

Right now EmailScope still works with the GoogleApi.GetEmail API, however I'm not sure if that will be true after March.

2)

Use GoogleApi.GetEmail instead of GoogleApi.GetEmailPlus:

Before:

GoogleApi api = new GoogleApi(token.AccessToken);
string userEmail = api.GetEmailPlus();

After:

GoogleApi api = new GoogleApi(token.AccessToken);
string userEmail = api.GetEmail();

For now GetEmailPlus is going to fallback to GetEmail on failure.
GetEmail uses https://www.googleapis.com/userinfo/v2/me endpoint.

3.
There is no need to turn 'Google+ API' in developer console anymore.

New version is going to be released soon.

answered Jan 8 by Limilabs support (224,080 points)
...