How to link to page inside a flutter app? - flutter

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

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.

How to override the mac app right-click options?

I'm working on a mac app that is based on links like bitly.
Users can create short link mapping using the app.
I'm looking to provide an option that whenever the user right-clicks on links no matter what app users have been using I'm just looking to append my app's action Create short link along with.
Let's say a user right-clicks a link on slack, slack usually provides two options 1. Copy Link 2. Open Link I want to provide Create short link option along with that. Is that technically possible in the mac app?

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

Icon iphone apps

Is it possible to programmatically get access to the icon of other apps installed on an iPhone?
For example: if I need Instagram's icon, is it possible to display it in my app by accessing the icon in the Instagram bundle?
You're not allowed to access anything in other app bundles, but you can find the icons on the web if you know the URL. The icon images are in the app store page, which can be reached by (for example) here. The URL is subject to change, so saving a copy to your own app bundle would be the best way to ensure access to them.
http://a3.mzstatic.com/us/r1000/060/Purple/v4/76/94/e2/7694e29c-3060-9f8e-0135-cbeea67ec3af/mzl.qmyfwfsq.175x175-75.jpg
No you have to find the icon if you want to use it.
Nevertheless, you have an instagram-sdk for iOs. Maybe you should look at this.
You'll need to get the icon somewhere else. If it's specifically Instagram you can get it from their SDK, but for the mostpart, you'll need to find it on your own.
As far as I know you'll have to keep a set of icons in your own app, which you can show to the user at a certain point. But I'm sure you cannot access the icon of an app installed on the phone like that!

how do you link directly to app store app update page?

I'm finishing up an iPhone app. I'm using an external server to inform users of when an update is available for my app and allowing them to click from within the app to go straight to the update on the app store. Problem is, I can't seem to figure out the link format to go directly to the update. I've found an old method of using viewsoftwareUpdate (mentioned in another post here) but it's all related to outdated phobos links and I can't seem to get it working for me. I'm currently using the simple format to link directly to the app: itms-apps://itunes.com/apps/"appname", and I assume there is a way to alter this format to get to the app update instead of the main app page?
This seems like a pretty basic functionality so I'm surprised I can't find anything on it.
Also, does anybody know how to link directly to the users own update tab in the app store? Not specific to one app, but the update tab that shows all the updates they have available for download.
Turns out the phobos links do still work and you can link directly to the update page using this URL format:
itms-apps://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftwareUpdate?id=[APPID]&mt=8
Of course replacing the [APPID] with your own app id, not including the brackets. This will link directly to the latest update for the app, instead of the main app page.
[Note: the solution was posted in with the question, I just moved it here --progrmr]
Just link to your app in the app store, that link will never change.
The page will show the updates right above the screenshots.
Your best bet is to strip the update information from your apps page using JSON, or some XML parser.
As for the list of all updates, again, Apple compares versions of the installed apps and lists them accordingly, stripping out only the update information.
The phobos link did not work for me so I used the following link and it works great:
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftwareUpdate?id=[APPID]&mt=8