I'm having a application like social media like app and there are user profile i want the profiles to add a profile sharing option ,and when opened it should open specific user profile in app if app not installed redirect to play store , and Uni links dynamic links not to used because its discontinued. Suggest me some methods which can be used.
I tried share plus but it didn't open specific profile.
Check out the app_links
package — after Firebase Dynamic Links got deprecated, I switched to this one and it's been solid. It supports deep linking, works well for sharing profiles or any kind of app content, and is easy to integrate.
You can set up your intent filters for Android and universal links for iOS, and handle incoming links inside your app without much hassle.
final _appLinks = AppLinks();
@override
void initState() {
super.initState();
_appLinks.uriLinkStream.listen((uri) {
// Handle incoming links
print('Received link: $uri');
});
}
use also need to configue the link that opens your app, check out the documentation of the package