Android and iOS user identification without registration - android

I want to develop an app for android and ios with in-app purchase capability. One of the "purchased virtual goods" I want to give to user (like a gift) only the first time.
I don't want implement user registration.
If the user reset own device and reinstall the app, I don't want to give him another gift.
What is the correct method?

For iOS - when uploading app if IAP contains, Apple ask for first time discount or also you can give promo code to user for this feature.Refer to image for the same

Related

User sign-up process

For my app, users are invited by email to join.
Currently, the link in the email is opening the web-browser to a page where the user creates his password. Then, the user has to install the app, open the app, and log in with his email and the password he created.
I am trying to make the process easier. I am thinking that in the invitation email, the link can point to "an app link". I know iOS has "Universal Links". The app will most probably not be installed, so on iOS, it will open the App Store app to install the app.
I am thinking to create the registration process in the app. But the issue is after the user installs and opens the app, the "app link" is lost.
The "App Store" app does not pass the original link to the app when the user opens the app first time after install.
Without the information from the link, I am not able to know in the app the email for which the user needs to create the password. I could ask the user for email also, but I was hoping not having to ask him about that.
I guess it's the same for Android.
Any thoughts how to make sign-up process easier?
EDIT: I chose a correct answer but to anybody who might be looking for an answer, I don't think Firebase or anyone else has a 100% reliable way of making a connection between the device where the link was clicked and the device where the app is installed. All the libraries are using some accuracy value and asks you to check it in code. If you think about it, it makes sense, because when the link is clicked and gets open (and that can be in any web-browser app) the JS code needs to compute some hash of the device and it will try to compare it to the hash of the device computed by the app's code when app is open after install.
You can use Firebase Dynamic Links to achieve this.
Please refer Firebase Dynamic Links
i think you have to use Webview for this
You can do this with Appsflyer SDK.
Checkout the documentation https://www.appsflyer.com/blog/app-installation-referral-conversion-tracking/

Google Sign-In for Fire TV / Fire OS

I would like to do Google Sign-in for a Fire TV app. Unfortunately I can't use Google play services for this so I need a work around. The only thing I could think of is have the login screen be a uiwebview Google sign in web page. Has anyone ever got Google sign in to work with amazon devices? Any input would be appreciated.
To answer your question, yes it's possible to do that using a webview by following the guide here:
https://developers.google.com/identity/sign-in/web/sign-in
Once the user is signed in you would get the onSignIn() callback in the webview which provides you with the user's details that you can send back to your java class to carry on with the sign up/in steps.
Would I do it? Not in a million years!
My main concern is that you would be affecting the user experience on a device that doesn't have a traditional touchscreen entry point. The 10-foot UI has a different interaction than a tablet or a smartphone (try typing a complex password without a touchscreen keyboard). Why should I put my users through ~200 remote clicks just to type an average length email address and password?
The convenience of Google signin is in the native integration with the Android identity system, where with a few taps you can grant permissions to read your userid and much more.
Why don't you instead take advantage of a similar method, native to the Amazon platform?
You would start with the assumption that a user on Fire TV is already logged into their Amazon account, which means that if you had the ability to read their email address and userid you could achieve the same as what you do on Android TV... and you do!
Take a look at https://developer.amazon.com/public/apis/engage/login-with-amazon
UX: it displays a "Log in with Amazon" button, shows the user a permission pop up and, once they accept, you will get a callback with some of their details. No need for a webview.

Paypal transaction with different users

I am planning to create a mobile application, iOS and Android, I can make payments to other paypal users (using the SDK Paypal) all through the application. Some time ago (around two years or so, I knew there was no way)
Situation:
Each user will set up your paypal account when enter the app.
I am Gian user (user app), I have my paypal account and want to make a payment (consider any value) to another user of the app, Jack (who also have paypal account).
Soon after, I Gian, I want to make a payment to another user of the app, Smith.
And so on.
I wonder if there is any way to do it this way or something else close it.
i think you can do it by using the MPL library of paypal sdk
https://github.com/paypal/sdk-packages/tree/gh-pages/MPL
and documentation
https://developer.paypal.com/webapps/developer/docs/classic/mobile/gs_MPL/
hope it will fullfill your purpose

How to know gmail, which user use for in app billing?

I want to add in app billing to my android app. But I face a problem. If user logins 2 gmails on device (gmail A and gmail B), how can I know which of them is used for in app billing? We know that, at the moment of paying, user can pick any of his gmails to continue buying items. And json data from Google doesn't includes information about chosen gmail. Can any body help me? Thank a lot.

Permission request screen on android with App Engine backend

I am using app engine as backend for an android app. I want users of my app to authenticate with their google accounts and on the backend, I use the users service to access the user details.This approach is described here. The very first time user installs the android app, he gets a screen like the one shown below. The screen displays user's email, android app name (both redacted) and my app engine app shows up as "Google App Engine". Is there a way to customize this name? Because it can be very confusing to the user as they would not know what "Google App Engine" is.

Categories

Resources