google-app-invites

Android Google App Invite sample is not sending email and message,What i am doing wrong?

一笑奈何 提交于 2019-12-08 13:27:11
问题 I am using Android Google App invite sample and following all guidelines but it is not sending any messages and emails, it gives message Message Failed to Send and in logs i am getting onActivityResult: requestCode=0, resultCode=3` getInvitation:onResult:Status{statusCode=CANCELED, resolution=null} 回答1: One possibility is an issue with your client configuration file. Make sure you followed Step 2: get a configuration file in the App Invites guide and have added the the google-services.json

Android firebase app invites SecurityException not allowed to perform SYSTEM_ALERT_WINDOW

ε祈祈猫儿з 提交于 2019-12-07 17:27:58
问题 I have successfully implemented the Android firebase app invites functionality using this link and it is working fine for most of the devices. But on marshmallow device (6.0.1) when I click on the sms contact, the system crashes with message "Unfortunately Google Play Services has Stopped.". In log I get the following error: 11-08 15:09:29.854 1364-1364/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.google.android.gms.ui, PID: 1364 java.lang.SecurityException: com.google.android.gms

Get suggested invitees failed due to error code: 3

浪子不回头ぞ 提交于 2019-12-07 05:31:45
问题 I'm trying to run App Invites demo on a kitkat device but it returns Get suggested invitees failed due to error code: 3 and soon after Create invitations failed to error code: 3 What kind of error is it? Where i can find an error list? 回答1: In my experience, this happens when the SHA-1 signature of your app is not compatible with the Android API key specified in the Google Developer Console If you don't care which app invites you, then you might want to consider removing app/signature

Google App Invites: Tracking Invites

雨燕双飞 提交于 2019-12-06 21:13:42
I'm trying to understand this part of the guide ( https://developers.google.com/app-invites/android/guides/app ): Tracking Invitations After your app has received an invitation and taken the intended actions, it should call the updateInvitationOnAppInstalled method to mark the invitation as successful: private void updateInvitationStatus(Intent intent) { String invitationId = AppInviteReferral.getInvitationId(intent); // Note: these calls return PendingResult(s), so one could also wait to see // if this succeeds instead of using fire-and-forget, as is shown here if (AppInviteReferral

Google AppInvites break build

末鹿安然 提交于 2019-12-03 11:52:58
Part of our app's build.gradle is this: tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask -> pkgTask.jniFolders = new HashSet<File>() pkgTask.jniFolders.add(new File(projectDir, 'libs')) } For some reason when setting up AppInvites, build starts failing with following error: * What went wrong: A problem occurred configuring project ':app'. > Cannot set the value of read-only property 'jniFolders' on task ':app:packageProdDebug'. Same error when I tried to use Instant Run. Fixed by adding this instead: android { sourcesets { main { jniLibs.srcDir new File(buildDir,

How to correctly use and track App-invites?

随声附和 提交于 2019-12-03 09:50:15
Background Google allows to perform app-invites and also track how well they improve your app installations: https://www.youtube.com/watch?v=UfdCNYXMC9M The problem I made a simple app invite, and it seems people do use it, using this code: public static Intent getAppInviteIntent(Context context) { return new AppInviteInvitation.IntentBuilder(title,appName).setCustomImage(imageUri).setMessage(message).setCallToActionText(download).build(); } startActivityForResult(getAppInviteIntent(this), GOOGLE_APP_INVITES_REQUEST_CODE); This works, but in the Analytics webpage , I can't find a way to show

Where do you file bugs for Android/iOS Google Products or Services (AppInvites, Maps, etc…)? [closed]

半世苍凉 提交于 2019-12-03 06:48:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I've recently found a bug on the Android SDK for AppInvites. I searched the web, looking for a bug tracker for AppInvites and couldn't find any. So I posted on the classic b.android.com receiving this response from a Googler: Sorry, this tracker is for issues with the Android OS only. Please use https://support

Where do you file bugs for Android/iOS Google Products or Services (AppInvites, Maps, etc…)? [closed]

ⅰ亾dé卋堺 提交于 2019-12-02 20:27:13
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I've recently found a bug on the Android SDK for AppInvites. I searched the web, looking for a bug tracker for AppInvites and couldn't find any. So I posted on the classic b.android.com receiving this response from a Googler: Sorry, this tracker is for issues with the Android OS only. Please use https://support.google.com/ to obtain support for Google products or services. which was not useful at all. The support google

Google AppInvite

三世轮回 提交于 2019-12-01 20:45:50
Realize Google AppInvite by Google manual - link . Start Invite Activity and get next in the LogCat: 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) Then I add a Log.d in the onActivityResult method and get in the LogCat: onActivityResult: requestCode=0, resultCode=3 Can somebody help me ? I try to fix it about 2 weeks. UPD0