How are you guys doing email verification in your mobile apps? I noticed that the link will take the user to the webpage and realized this isn’t the desired outcome. I’d rather they be taken into the app and from their have their email address verified so that afterward they are still in the app instead of in the mobile website.
Take a look here, it might help: https://developer.android.com/training/app-links/verify-site-associations
It says :
Android App Links are a special type of deep link that allow your
website URLs to immediately open the corresponding content in your
Android app (without requiring the user to select the app).
Related
Example:
Link : www.example.com/bje3x
The link will redirect to playstore or appstore url. So if user installs the app from the playstore, can we know if the app ins installed from the redirection URL above?
The question is tagged with firebase-analytics so I guess you are comfortable using Firebase. Then one possible solution for you would be to use Firebase Dynamic Links. They are designed for this use case.
In short you define what is your destination URL - kind of deep link - and if app is installed it just works as a deep link. If app is not installed, it can redirect to AppStore and then inside the app at launch you can retrieve your deep link. Of course it's a bit more complex than that, but essentially it allows you to know what brought the user in.
In the simplest form Dynamic Links use domain provided by Firebase (ending with .page.link) but you can also configure your own domain. Also you don't always get 100% matching accuracy, but for the most part - it should work.
There are also other solutions like branch.io etc. If you look for "deferred deep linking", "smart links" or "dynamic links" you will find more.
Yes we can achieve this by Deep Linking
A deep link is an intent filter system that allows users to directly enter a specific activity in an Android app. However there is an issue about this process. When a user click an URL, it might open a dialog which asks the user to select one of multiple apps handling the given URL.
On the other hand, An Android App Link is a deep link based on your website URL that has been verified to belong to your website. When user clicks that URL, it opens your app.
Please refer this Url
https://medium.com/#muratcanbur/intro-to-deep-linking-on-android-1b9fe9e38abd
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/
I have an app and a mobile site. I also send emails to my users. I would like the following to happen if my users open these emails on their mobile phones and click on a link:
If a user has installed my app, then launch the app and open the relevant page inside it.
If a user has NOT installed my app, then launch the browser and take him to the relevant page on my mobile site.
I want this to happen seamlessly and automatically. I DON'T want to use the inbuilt android prompt as users end up choosing chrome (since it is the first option shown). How can I do this? Would ideally want solutions for both android & ios.
You can do this with a landing page. Send user to landing page, check platform, then check if they have app installed(if they have registered custom url scheme) if they have then they go to app. Otherwise they go to mobilesite.
See this answer by https://stackoverflow.com/a/29019660/1165581 by Adam
You can NOT prevent the Android prompt which lets the user choose an option. What you can do is, create a link to your mobile site and have your App react to urls containing your domain. So what will happen is:
if a user clicks the link and does NOT have your App installed, he/she will be prompted with the default url handler prompt (only the first time) and then open the mobile site in the prefered browser
if a user clicks the link and DOES have your App installed, he/she will get the same prompt, only your App will be listed there as well next to browser Apps.
Here is an explanation on how to this: Android Respond To URL in Intent
You can use URL Schemes in iOS for your requirement to be full filled. By Using URL Scheme you can do exactly same. Clicking on link will launch your app. Please go through the concept of URL Schemes.
Follow the below referral link:
http://code.tutsplus.com/tutorials/ios-sdk-working-with-url-schemes--mobile-6629
Hope this helps!!
I have seen several flavours of this question going around but nothing exactly specific nor answered so trying it myself.
I am trying to build a Facebook login experience via the browser into my Facebook-based app that will require the users to not remember their passwords as much as possible. This means that if
they log in via their desktop browser and are already logged in, it will only ask them to 'OK' the permissions
they log in from their mobile browser and are logged in via their respective native app (Android/iOS), it will simply redirect them to the native app, ask for the app permissions and redirect them back to the success page on the browser
they log in from any browser and are not currently logged onto Facebook in any form, they have to enter their password and authenticate (whether natively or via browser this does not matter)
I know how the first can be done - that is pretty straightforward using the JS SDK. The second point is the tougher bit.
I am aware of existing custom URL schemes for Android and iOS but nothing specifically really mentions how that can be used for authentication and/or authorisation of Facebook apps. Does anyone have any ideas on how this can be done?
Thanks!
In iOS use iOS facebook SDK. It will handle the login process effectively in different situations depending on the resources available. Check out this answer to know about different login flows
Integrating facebook
You're looking for Single Sign On behavior- in Facebook, use the native SDK, and instructions for setting up SSO. It includes entering your bundle id in the settings and setting up a referring url name (the name of your app usually). So what happens is- if you launch safari mobile, and log into facebook. Then, launch your app, with good integrated SSO. Then, it won't require you to login/pass, because it knows you've authenticated via browser. Same with Android.
I think what you are looking for (at least for Android) is starting an Intent on certain schema that will open Facebook app.
This is answered here Android facebook intent to show profile with class com.facebook.katana.ProfileTabHostActivity doesn't work any more
i need to search any named app from using android market, app store, windows phone market.
My goal is
Generate qrcode by any schema url with any app name
Read qrcode from mobile
follow schema url to open Market (app store) app to search by app name
Is there possible?
Please tell me scheme url in (Android, iOS, Windows Phone)?
From Android app:
market://details?id=<package_name>
This is how I would approach it.
You don't know whether the person scanning the code has Android, iOS, or WP7.
Create a code with the following URL
http://example.com/?app=AppName
The user will scan the code.
The user will open her web browser.
Your web server will look at the phone's User Agent String and decide if she is using WP7, Android, iOS or something else.
If the user's phone is recognised, immediately perform an HTTP 302 redirect.
For Android, redirect to:
https://play.google.com/store/search?q=AppName
For iOS, redirect to:
http://itunes.com/AppName
For Windows Phone 7, redirect to:
http://www.windowsphone.com/en-GB/search?q=AppName
For all other phones, redirect to your main page - or have a page which tells the user that her phone isn't compatible.
https://developer.android.com/distribute/marketing-tools/linking-to-google-play
This is old style.
market://details?id=<package_name>
It can be crash if playstore application is not in the device.
The below is safer.
http://play.google.com/store/apps/details?id=<package_name>
If you want to link to your products from an Android app, create an Intent that opens a URL. As you configure this intent, pass "com.android.vending" into Intent.setPackage() so that users see your app's details in the Google Play Store app instead of a chooser.
The following example directs users to viewing the app containing the package name com.example.android in Google Play: