How can I create android apps that has a pre-loggedin feature? - android

I want to design an android app for a website
The app will be downloaded through a unique link from my server
I want each user to download the app WITH HIS USERNAME LOGGED IN ALREADY FOR HIM
Is there a way to do that with an android app?
My aim is to let my users download an app and find themselves logged in without having to do it themselves

In order for the app to be installed pre-aware of the credentials, you're going to have to have the website you're having them download the app from be wired up to compile a custom version of the package for each user.
Is it really that necessary for the user not to have to log in once and then have credentials remembered from that point on?

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/

How to prevent unauthorized users from installing my android app?

I just finished making an android app and i want to upload it to my website so users can download it. The problem is that i don't want them to be able to share the application, so in order to install the app they must purchase the app and get a key from me.
Is it possible? If it's not, is there any other way for making sure that only users who purchase the app can use it?
BTW, the app doesn't have any web service or online features.

Protect apk installation with password

I am making an android application.To use my application user has to first create an account on a web server.He/She will be provided user id and password while creating Account on that web server.After that when he/she try to install my apk from Google play or from SD card,he/she will be asked to provide that user id and password that is given from that web server.If he/she enters correct user id and password then only my apk will be allowed to install on user's android device else my apk will not be installed on his/her android device.How is it possible?Any help will be appreciated.
I am not sure you can accomplish exactly what you want. I have never heard anything about a protected password .apk.
A possible workaround would be to not upload your app to google play store, making the only possible way to download it through your server. There you can postergate the download of the app behing the user registration.
In addition, you can also implement some code in your android app to ask for some credentials in the first launch (obtained in the registration process), and if thery are not provided, the app doen't let the user have access to its services.
There are multiple combinations.
Hope it helps!
You usually don't protect the installation process, but the sign in instead. When user starts an app, he'll be prompted to enter credentials. What you describe doesn't make any sense. Just take a look at other apps(Whatsapp, Facebook, Gmail etc.)

In need of a link to open an iOS app if installed or else go to the iTunes store

My app (iOS and Android) wants to post in behalf of the user to Facebook, but I don't find an api in FBWebDialog class (FB iOS SDK) to set the message to post. So my first question is: is there any api in FB iOS/Android SDK to edit the post message (feed dialog)?
With this failure I hope to do this by posting a FB message with a links. So here is what my title suggests. Is it possible to have a link (URL) which, when clicked by the user, leads to an iOS app if this app is installed or to iTunes store if the app is not installed? If this URL exists, will it work well on computers (PCs and macs) and other terminals?
I think if I set up a web server myself, I could use JavaScript to check whether the target app is installed on the client device, but I don't want to do so if there is already a way to do this.
Thanks in advance.
Seems you cannot change the FB post message, or check whether a specific app is installed on your device using native code.
Therefore, I just take use of the URL to the iTunes store (See How to link to apps on the app store). When clicking the link, the behaviour depends on the OS version (seemingly). Sometimes, you're led to your app (if installed) and sometimes to the app store.

Android Multiple users log in to Facebook api 3

How can I allow multiple users to log in via facebook SDK?
It seems that the sdk is using the local native facebook app, so the user currently logged in is who gets authorised, but I want to be able to authorise others.
Is there anyway to force it go through the web dialog view where maybe a user can log in?
I ask this as some users of my app will have a personal and work account and want to be able to access both.
Any help would be great
Checkout the SwitchUserSample that ships with the SDK.

Categories

Resources