google-app-invites

Google App Invites: Tracking Invites

不羁的心 提交于 2020-01-03 01:41:09
问题 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 /

Google AppInvites break build

半世苍凉 提交于 2020-01-01 04:38:29
问题 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'. 回答1: Same error when I tried to use

How to correctly use and track App-invites?

你。 提交于 2020-01-01 03:58:12
问题 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 invite - sms are not sent

不羁岁月 提交于 2019-12-19 04:06:35
问题 I've tried searching for a solution with no luck yet. I am trying to use the google app invite to invite friends to use my app (android). Emails are sent but sms are not. I do not get any error message, in fact I actually get a message that the invitation has been sent. I also tried adding sms permission to my app.. Any thoughts? 回答1: Same problem here. To solve it reduce the length of your message . As we know, the message must be not longer than 100 symbols. But this is true only for latin

How is App Invites working without google-services.json?

為{幸葍}努か 提交于 2019-12-13 05:46:12
问题 I've gone through the steps to setup App Invites as described here. Out of curiosity, I tried without including the google-services.json and it still works depending upon the configuration in Google Developer Console. If there is no Android API key (or there is an Android API key but no package restrictions) then App Invites works (by "works" I mean is able to send the invite message - I haven't tested the other features such as referrals). If API key package restrictions are defined then

Android AppInvites API - How to customize with HTML

蹲街弑〆低调 提交于 2019-12-12 14:38:59
问题 I've just implemented App Invites but the intent that starts has a status bar color different than the one I've set for my activities. Now according to this answer, they are now customizable with HTML but I cannot find documentation on how to do so... https://stackoverflow.com/a/35165179/4543112 EDIT : Is it just a rumor or does anyone have an idea if this is really achievable and how ? 来源: https://stackoverflow.com/questions/35664756/android-appinvites-api-how-to-customize-with-html

Retrieving a deep link when the app isn't installed (iOS)

风流意气都作罢 提交于 2019-12-12 10:37:10
问题 In the iOS docs for Google App Invites, under Receiving Invitations, it is suggested that a deep link can be retrieved on first launch if the app wasn't installed in advance: If the user has not yet installed the app, the user can choose to install the app from the iTunes App Store. When the app opens for the first time, the App Invites SDK will supply a deeplink if one is available. I've looked through the reference docs for GINInvite and GINReceivedInvite but I don't see any way to

How to style Google app invites screen

僤鯓⒐⒋嵵緔 提交于 2019-12-12 08:40:51
问题 We have implemented Google App Invites on Android. It's working but doesn't look as an integrated part: the gray status bar, the blue toolbar and the default font just don't fit with our app. And the blue toolbar doesn't look like a native part of the OS either. How can we can set the status bar color, toolbar color and the font? 回答1: Currently the invite page cannot be customized. However, the invitation can be fully customize with HTML starting with Google Play Services 8.4.0. 来源: https:/

Emails not going out and links in SMS's giving 404

依然范特西╮ 提交于 2019-12-10 15:36:39
问题 We've just finished integrating Google AppInvites into our app. We've noticed the following issues: Emails are not being sent and SMS's that are sent, are sent with a link that says yields a 404 page. The above issues occur only if I set our " setOtherPlatformsTargetApplication " for Android and iOS, using their clientId's. Android: 719104993890-lclfrqti11lulpvg18tbbbuv6bah54gh.apps.googleusercontent.com iOS: 719104993890-fq3npmoqmp7mi9839fhv6ajj8jespkot.apps.googleusercontent.com Within the

Can app Google App invites be used with beta apps not on the app store?

你说的曾经没有我的故事 提交于 2019-12-10 14:22:59
问题 Title pretty much sums this up. Can Google app invites be used with a beta app that is not on the play store yet? 回答1: Yes, App Invites can be used with Alpha and Beta releases that published on Google Play. The link to the alpha/beta build is the same as the release. The users will have to be added to a closed alpha/beta or add themselves to an open alpha/beta before the link will work. 来源: https://stackoverflow.com/questions/30881257/can-app-google-app-invites-be-used-with-beta-apps-not-on