Can I show disclaimer on my app only once? - android

Would it be okay to show the disclaimer (including about logo and trademark) only for the first opening of the app? Currently, my disclaimer is only shown on the first-use of the app, have an Accept button, and then it wouldn't be accessible to the user anymore.

Related

How can we add app widgets as a premium feature option on Android

We want to create a few app widgets in android for our mobile application. As of now, I followed the tutorial and can create app widgets and add them to the Home screen. However I would like to know if it's possible to show the app widget in the list of widgets to add, and then show the premium screen for the user to pay up, if he's not a premium user. The intent here is to show all the user the list of widgets and if they want to add it, show them the screen to upgrade to Premium if they are not already a premium user. Please let me know how this can be achieved.
The easiest solution to me is to add layer on top of the each widget and hide it if user already has premium subscription. The layer contains button "buy premium" and opens app's premium activity page.
But may be there are more neat way to do it

How to automatically redirect from chrome custom tab back to app using current link?

Scenario:
User open my android app, press a button - app opens chrome tab with certain link.
User browses to a specific page, the point is that link at address bar is changed
Now user wants to open this exact link back in application, so he presses three dots at upper right corner, chooses Open in Chrome. Two choices appears:
My app, Chrome.
User chooses My app
It is opened where Intent Receiver activity is parsing the desired link.
How I can make steps 3 and 4 automatic, so as soon as user gets to link at step 2, chrome Tab is instructed to do the following steps?
I am not sure why option "My app" appears after pressing "open in Chrome", but the fact is that it is.
The question may look like I ask you to do my homework, but I definitely couldn't find anything related to this specific task.

App Links inside Custom Tabs in the same app

I am facing a problem where I'm loading some web pages in Custom Tabs, and I want to use App Links when going to a certain page to open the native app. From my investigation, it looks like if the page is open with Custom Tabs in the same application (same package name) as the settings for the App Links, it does not work.
To give you the real life example, I am using Custom Tabs for a "Sign up" flow, letting the user to enter his credentials in a web page, but when going to the next page where it should tell the user to check his email for the confirmation, I want to take the user to the native app, to a custom activity with the Android App Links.
Any suggestions of how to overcome this problem?
Found the problem in my case. If you run into the same problem, check that all your intent filers are verified on the domain.

How should I request permissions when entering app from deep link?

I have two apps that both require a user to be logged in before creating the app databases. One app is a launcher-type app that contains my AccountManager and links to my other apps. All of my apps request storage permissions since they need local databases.
The problem I am currently having is when opening the second app for the first time through the launcher app. If you open the app normally for the first time there is a splash screen that asks the user to select an account, and the storage permission dialog comes up here. But if the user opens the app for the first time through a deep link, this splash page is skipped (since the deep link goes to a different activity). So if the user opens the app for the first time from a deep link, I can make the permission dialog appear, but the app continues behind the popup and inevitably crashes because it cannot create its databases. I can enable the permission, then try to launch the app again and everything works, but this is not nice.
What would be the best way to handle this scenario? I was thinking about hacking together a way to freeze the app until the permission is accepted but I would prefer not to have to do that.

app starting from a deep link overlapping the app with that link

I have an app that, when a user sign up, sends an email for activation. When the user taps that link my app starts overlapping the mail app instead of opening or bringing to front the one that the user used to sign up. Is there a way for the link to open or brings to front the one that the user used?

Categories

Resources