Implemented in app Google AppInvite :
- registered in
build.gradle(project level) - registered in
build.gradle(app level) - added
javacode to class - created the key in the
Console Google Developer - copied
*.jsonfile to the/appdirectory of your project
Launched the app and got the APPINVITE_CLIENT_ID_ERROR . Or, to be precise,
E/AppInviteAgent: Get suggested invitees failed due to error code: 3 No Android client ID is found for package name <MY_PACKAGE_NAME>. (APPINVITE_CLIENT_ID_ERROR) E/AppInviteAgent: Create invitations failed due to error code: 3 No Android client ID is found for package name <MY_PACKAGE_NAME>. (APPINVITE_CLIENT_ID_ERROR) Google problem, on enSO in one question only, it was said that the error was that the keys are different (SHA-1 in the application and in the Console ). But they cannot be different, I copied the *.json file to the project, and Google generated it to me.
I connected the LogCat, I caught this: onActivityResult: requestCode=0, resultCode=3 : onActivityResult: requestCode=0, resultCode=3 This is displayed if the sending failed.