deep-linking

Configure deep links in swift?

烈酒焚心 提交于 2019-12-04 09:15:16
So I have an app written in swift that I would like to use deep links for. A user would click on one that in the route of the URL had different pieces of information such as the id of the post or the number of likes it has or something like that. I understand that you put this in the AppDelegate: func application(application: UIApplication,openURL url: NSURL,sourceApplication sourceApplication: String?,annotation annotation: AnyObject?) -> Bool { println(url.host as String!) return true } And that prints everything after appname:// . But how can I get url.host to my view controller to be

How to use PathPattern in order to create DeepLink Apps Android?

本秂侑毒 提交于 2019-12-04 03:58:34
问题 I have read documentation about create an deeplink and use app linking service in android studio 3.0. its pretty simple and easy to understand, but I have little bit problem when my URL has no prefix path. example : https://example.com//amp there is no prefix, its directly url pattern. when i use regex ^[a-z0-9]+(?:-[a-z0-9]+)*$ it doesnt works, error shown as The URL doesnt map to any activity when i use only star, like : https://example.com/*/amp its show seem error. i got stuck in this

iOS and Android Shared HTTP Deep Linking?

一曲冷凌霜 提交于 2019-12-04 00:35:59
问题 I am trying to launch my native app through a URL (shared via email etc). It seems that Android only responds to HTTP deep link URLs (e.g., http://myapp.com/stuff), and that iOS only responds to non-HTTP custom deep link URLs (e.g., myapp://stuff). Has anyone found a single solution to enable both OS's to open the same URL? Also, is it possible for iOS to use HTTP deep link URLs? Similar to how http://youtu.be will open the native iOS app. Facebook does this too. Thanks! :) 回答1: This article

UPI deep link issue with android app integration

被刻印的时光 ゝ 提交于 2019-12-03 21:50:38
I am using native code for upi deep linking. When intent invoke on bhim app payment details page in not showing while other psp app redirecting to payment page When I click a url from mobile browser like this upi://pay?pa=98955012345@upi&pn=abc&am=1 it opens BHIM app with pre-filled page of payee details. However when I use my merchant app, to link it through intent deep-linking, it opens BHIM but does not redirect to pre-filled page. It really works for the BHIM application also. Use this Code it works like a charm for every PSP enabled applications. Note: Instead of using the "%" better to

What is the Dropbox iOS app's equivalent of “fb://”?

谁说我不能喝 提交于 2019-12-03 20:44:03
Sorry, I can tell I don't entirely know what I'm talking about. For example, to open a URL for Facebook, the prefix is "fb://". Does anyone happen to know the prefix for Dropbox? I'm pretty sure it has one, because in the new Dropbox API (1.0) it opens the Dropbox app from within your app to let the user log in, and the only way I know of doing this would be through one of those prefix things which I don't know what they are called. I do not actually want to open a file in Dropbox. I actually want to detect whether Dropbox is installed on the iPhone, and the best way that I can think of to do

How to implement iOS app link Facebook functionality in swift 3?

你说的曾经没有我的故事 提交于 2019-12-03 17:55:16
问题 I have tried many ways to achieve this but failed. I have to share info on facebook with a URL and when clicked on the url, it will redirect to my app's specific page. step# 1 let content: FBSDKShareLinkContent = FBSDKShareLinkContent() content.contentURL = NSURL(string: linkUrl) as URL! content.contentTitle = "Test" content.quote = "game" content.contentDescription = "This is a test game to test Fb share functionality" content.imageURL = NSURL(string: imgUrl) as URL! let dialog:

How to catch the parameters with branch.io?

允我心安 提交于 2019-12-03 17:22:34
I started to use https://branch.io/ in an iOS app. The problem I am facing now is: how to catch the incoming link with its parameters? Following the documentation here . I got to this point, having this link: http://myapp.app.link/A1bcDEFgHi?XP=315.0,419.0 and my code being: - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { Branch *branch = [Branch getInstance]; [branch initSessionWithLaunchOptions:launchOptions andRegisterDeepLinkHandler:^(NSDictionary *params, NSError *error) { if (!error && params) { NSLog(@"Here is params: %@"

How to make deferred deep linking?

夙愿已清 提交于 2019-12-03 14:08:25
问题 How to make deferred deep linking and generate unique mobile signature. I try using IP Address, screen-size, OS version, device name but still not get succeed. 回答1: The comment links to a great answer, certainly. High level, here are the steps: Your links should point to a page on your site that collects a digital fingerprint That page should collect, at minimum, IP address, OS, OS version and screen size (width and height). Should send to your server and place in a persistent store. Redis

Android Deep Linking with custom URI

十年热恋 提交于 2019-12-03 12:51:14
问题 I have the following defined in my manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.app.package"> ... <activity android:name="app.myActivity" android:label="@string/app_name" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="www.example.com" android

Match URIs with <data> like http://example.com/something in AndroidManifest

狂风中的少年 提交于 2019-12-03 12:25:20
I am struggling with the <data> element in the AndroidManifest.xml file to get my URI matching working. I want to match the following URIs: http://example.com/something http://example.com/foo http://example.com/foo/ but not http://example.com http://example.com/ http://example.com/something/else I got it mostly working with <data android:scheme="http" android:host="example.com" android:pathPattern="/..*" /> <data android:pathPattern="/..*/" /> but it still matches http://example.com/something/else . How can I exclude these? Unfortunately the wildcards that can be used for the pathPattern tag