I know this question has been asked before so first let me enumerate all the things that I tried without no success:
- I made my app live in facebook settings
- I publish my app as release mode.
- I registered the hash that did not match in the app settings settings
- I also registered the hash provided by this code, publish the app in release mode and the resulting hash was the same hash that i have registered in the app settings.
- I executed the command
keytool -exportcert -alias '***' -keystore '****' | '*****' sha1 -binary | '*****' base64
and pasted it in the hash keys in app settings.
The only way that the app would login is if the administrator of the facebook app login. But if someone else use the app and login, the error occurr.
The only one that I haven;t tried is deleting the fb app and start over but i would like to know what is that i'm missing first.
I'm I mad? yes. I have try enough? Take a look that the pic bellow(i guess you'll know that color means)
App and sdk info:
android {
signingConfigs {
config {
keyAlias '****'
keyPassword '****'
storeFile file('****')
storePassword '****'
}
}
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "****"
minSdkVersion 16
targetSdkVersion 21
versionCode 1
multiDexEnabled true
versionName "***"
}
dexOptions {
incremental true
preDexLibraries = false
jumboMode = false
maxProcessCount 4
javaMaxHeapSize "6g"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.0.5-beta'
compile 'com.android.support:appcompat-v7:23.4.0'
compile '****'
compile 'com.squareup.retrofit2:converter-gson:2.0.2'
compile 'com.facebook.android:facebook-android-sdk:4.8.0' -- facebook sdk
compile 'com.google.android.gms:play-services:9.2.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:design:23.4.0'
compile '****'
}