How to track app installs from Google Play Flutter - flutter

Let's say I have an application. https://play.google.com/store/apps/details?id=com.my.app
And I want to add to it &referrer=5 That was https://play.google.com/store/apps/details?id=com.my.app&referrer=5
How can I track this referrer number after opening the application?
I found this article, but it is for android. I also found this and this
But it is not written how to get this parameter specifically for the link, and not generate it in the application. Please, help.

Related

Open the app from an external link with universalLink or deeplink

I want to open app from an external link, for example a link that I get in iMessage, the question is, I should use deepLink or universalLink, I want to open the app when I tap on the link, then having ability to read the url in the app is enough for me.
And for this matter, I should set a Json file in the website as well? something like this:
https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app
It's a bit confusing for me, could anyone gives me a real example and steps?
Thank you
Yes, basically both the app itself and the website need to be aware that you are going to be using Universal Links. There are a few steps to do this:
First you need to include the website as an Associated Domain inside of your Xcode project.
Then for the website you do have to create what is known as the apple-app-site-association file. This lets the the website know which apps are associated with the website.
This tutorial has a step by step on How to setup your website to work Universal Links.
Lastly you will have to have to update your AppDelegate file to handle when a Universal link opens the application.
More info can be found in the official Apple Documentation on Creating Universal Links.

Generating link for my flutter application

Is there any packages which will help to generate link for my flutter app that i am building.Like most of the app that we come across they give this option of sending downloading link to others , like GooglePay. Similarly I just want to generate link and nothings else.
You need to implement deep linking for your application please refer to docs: https://docs.flutter.dev/development/ui/navigation/deep-linking

How to link to page inside a flutter app?

When I click on the link I created on the website; If the application is installed, I want it to open and go to the page I want in the application, if the application is not installed, I want it to go to the app store or play store. I searched a lot but couldn't find it. Can you help me.
enter image description here
The solution for you would be deep linking or custom scheme. Them are practically, the same thing. Here you can find a link how to use them:
https://medium.com/flutter-community/deep-links-and-flutter-applications-how-to-handle-them-properly-8c9865af9283
This is exactly what Firebase Dynamic links was created for.
You can configure urls to redirect based on whether the user has the app installed or not.
https://firebase.google.com/docs/dynamic-links

Where should I put FCM configuration in flutter app exactly?

I'm using firebase_messaging plugin in my flutter app to handle app notifications (given from a Laravel server). So far, I've successfuly installed the plugin in my project. Tested it on a page, it works.
But in the doc's example page, it's only demonstrate the usage of a single page. In reality, most of the apps has or may have many pages and each page has it's own notification channels, so does my app.
So.. Where is the exact location to put it's configuration? Should I configure it one each page, or can I just put it on main.dart and subscribe every channel from that page?
I don't think the first option is a best practice. Since I'm trying to follow DRY principle and avoid code-duplication to make it easier to maintain the app in the future. Any clue?

How to receive a push notification when you are near a specific place using a map?

I'm new to Ionic, and I'd like to know if you can give me some guidance. I am using Ionic 1. I have seen tutorials, and they use Google or one signal. But they are always basic tutorials and I have many doubts. I hope to do this for both iOS and Android.
My application has some coordinates in the database, I get them with a web service. I would like that when I'm near a place I get a push notification. I am currently using the Google Maps plugin cordova-plugin-googlemaps and the geolocation plugin cordova-plugin-geolocation.
I would like you to give me advice or if you have had the experience of doing something like this.
I also want to know if doing this has any cost.
I am using Ionic 1 and the database is built in MySQL using PHP. I think the push notification is generated from the back-end?
When I tap on the notification, can it contain an iconor redirect to a specific place in my app?
In conclusion:
What is the best alternative? I was thinking of some plugin that detects in the background when my location changes and when this happens (does the cordova-plugin-geolocation do it?) verify if I'm close to a certain place and send a local notification. For example, and when I tap on this notification I can get the id of that place and redirect to a place in my app.
I think you should try geofence
repo link
example links:
https://github.com/cowbell/ionic-geofence built with Ionic framework
https://github.com/tsubik/ionic2-geofence built with Ionic 2 framework