Letters do not go out and links in SMS give 404

We have just completed the integration of Google AppInvites into our application.

We noticed the following problems:

Emails are not sent, and sent SMS are sent with a link that gives 404 pages. The above problems only occur if I install " setOtherPlatformsTargetApplication " for Android and iOS using their clientId's.

Android: 719104993890-lclfrqti11lulpvg18tbbbuv6bah54gh.apps.googleusercontent.com

IOS: 719104993890-fq3npmoqmp7mi9839fhv6ajj8jespkot.apps.googleusercontent.com

In the application, I am returning from the Google invitation id. If I delete "setOtherPlatformsTargetApplication", then the emails and SMS will come out just fine, and the problem that opens on the iOS device is transferred to the Android PlayStore, and not to the Apple AppStore.

In phones with a SIM card, our "user image", which says "only by e-mail", is superimposed with text (white text, light gray background), and I can not find a way to delete the superimposed text.

The application was uploaded to the PlayStore in the Beta release group, but without success.

Any ideas? @lmoroney

+4
source share
1 answer

You should specify only the iOS client identifier using setOtherPlatformTargetApplication () from android, and only iroid clientId from iOS. The destination application that must be installed on the same sender platform must be the same application that sends the invitation, which is already identified by the package name (android) or package ID (iOS), although you can specify an updated version using setAndroidMinimumVersionCode ( ) Unfortunately, when calling api and specifying the android client id from android, the invitation will fail, as you saw.

This should also solve the second problem, if you specify an iOS application, then it will redirect all iOS receivers to the AppStore and, of course, Android users to the Play Store. As a side note, if a project that includes an Android app has only one iOS app, then the corresponding iOS app is unambiguous, so you can omit the iOS clientId. In your case, your project should contain more than one iOS client, so you need to eliminate the ambiguity by installing the target application in the api.

Hope this helps.

+1
source

Source: https://habr.com/ru/post/1235695/


All Articles