lundi 29 juin 2015

Android Google Drive API Authentication


I'm having trouble with Google Drive API on my Android app. On my device, a Nexus 4 with Android 5.1.1 it's working fine. On my user's devices, the consent screen I had configured is not showing, instead, just a list selection dialog with the user's e-mail is showing, but it doesn't do anything.

I saw this issue on tree other devices with Android 5.0.1.

I configured the OAuth 2.0 credentials with my production SHA1 key and the consent screen. Like I said, it's working fine on my device.

I'm using the following parameters to compile my app:

  • minSdkVersion=15
  • targeSdKVerion=22
  • compileSdkVersion=22
  • Build Tools: 22.0.1
  • Platform Tools: 23rc3

And these google libs:

  • com.android.support:support-v4:22.2.0
  • com.android.support:appcompat-v7:22.2.0
  • com.android.support:design:22.2.0
  • com.google.android.gms:play-services-ads:7.5.0
  • com.google.android.gms:play-services-drive:7.5.0

Thank you!


Aucun commentaire:

Enregistrer un commentaire