Suppose for simplicity that an App consists of 3 screens (Home, Account, Payments) and these are hosted inside a Navigation Graph.
When pressing a button in Home screen, user navigates to Account screen.
When pressing a button in Account screen, user navigates to Payments screen.
Is there a way to navigate from Home directly to Payments screen, but also add in the back-stack the Account screen? So that when user navigates back from Payments screen, to see Account screen.
From what I see in the docs a deep-link is not suitable for this use-case.
Related
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
i am facing an issue where the user is not logged in and i mapped a deep link in nav graph to a fragment. there are multiple deep link urls that need the user logged in .is there any way i interupt the deep link in the splash screen and then navigate to the fragment. as for now it redirect the user to fragment if user is not logged in and i dont want to place if else in every fragment. to check user is logged in or not.
My apps(iOS and Android) is organized as follow:
Main menu screen which has many buttons
Each button redirects to a specific view/screen
I want to display in-app message in Main menu screen only; but currently it can show in both main screen and other screens.
How can I limit the display of in-app message to a specific screen only?
I did use firebase event to trigger the display of in-app message after main menu screen is opened; but if I open the main menu screen, then quickly open other screens, then in-app message is still shown.
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?
I have one tabactivity with 4 tabs, when I click on one tab I am displaying some information regarding that tab. To display that content I am using fragment. In that fragment i have facebook button, twitter button etc. to post a link into my facebook account and twitter account. When clicking on the facebook or twitter button, it navigates to the browser based on the corresponding link to post the information. When I click on back button to come back to my application but the application is closed already.