Google AppInvite: Email is not sent, but SMS is sent

I use google libraries with

classpath 'com.google.gms:google-services:1.3.0' 

And my version of the appinvite library

  compile 'com.google.android.gms:play-services-appinvite:7.8.0' 

When using appinvites, I can easily send invitations via SMS and email. But on the receiving side only SMS was received, I can not send an email.

Is this a mistake in the library, or am I missing something else?

Edit: Everything else in my code should google recommendations appinvite .

+4
source share
2 answers

I tried the App invent demo here and completed the following steps.

I can send an email and it can be received.

You can try and compare the source code here with yours.

You may have forgotten to GoogleApiClient at the beginning. Note that at the top of build.gradle it contains:

 classpath 'com.android.tools.build:gradle:1.3.0' classpath 'com.google.gms:google-services:1.3.0-beta1' 
0
source

It seems that google-services.json is missing. You need to put the google-services.json file in the application module inside your project.

See google-services.json location in project tree

0
source

All Articles