Only display Firebase in-app messaging to a specific View - android

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.

Related

"Deep-link" to a fragment while using the app - Navigation Component

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.

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

Can I show disclaimer on my app only once?

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.

Add My App Function to Contact Screen (as in WhatsApp)

Want to add my Android app icon to a contact screen (in the regular contacts display), so when a user checks out the contact he / she can press it to automatically start the function for that user.
A good example of this practice is WhatsApp, which adds its icon to a contact so you can press it and immediately start messaging a user (if there's a WhatsApp account associated with it).
Does anyone know how to use the API to do this?

Google analytics showing screen name as com.google.android.gms.ads.AdActivity

I have integrated google analytics in my application.
It showing com.google.android.gms.ads .AdActivity as one of the screen name.
It appearing when user click on adBanner or Interstitial Ads.
But it does not reflected in click counts as user have opened the Ad.
The com.google.android.gms.ads.AdActivity class is used when the user taps on an ad to open it. It's part of the internal function of the Mobile Ads SDK. I do not believe there would be any clicks associated with it (the user never really sees it), and it's not an error that GA is mentioning it as one of the activities in your app.

Categories

Resources