deep-linking

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

房东的猫 提交于 2019-11-28 14:39:45
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: FBSDKShareDialog = FBSDKShareDialog() dialog.mode = FBSDKShareDialogMode.native dialog.fromViewController = vc

Digital Asset Link verified by Android Studio, but not pass in Google Play Console

筅森魡賤 提交于 2019-11-28 14:23:55
I try to publish my Android instant app to Google Play; I link the app, which is named helloinstantapp.instantapp.examples.chrisyttang.org to the domain https://csytang.github.io . It has been verified by Android Studio as you can see in the following image; However, when I try to publish my app into Google Play with Google Play Console, I get the error that "the site csytang.github.io has not been linked through the DAL protocol to your app." Why this happen? Did you by any chance enable Google Play App Signing ? If yes, then you need to use the fingerprint provided by the Play Console,

Make phone call on iPhone and take user back to app? (UIWebView does it)

余生长醉 提交于 2019-11-28 12:58:43
I used this code to make phone call: NSString *phoneNumber = [@"tel://" stringByAppendingString:mymobileNO.titleLabel.text]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]]; and when the call ends, it does not take user back to the app. However, if I show a website in UIWebView and there is a phone number in the website(ie UIWebView recognises it), and if I tap that phone number link to make phone call, I will be taken back to the app when the call finishes. My preliminary thinking is that the UIWebView does something internally like a deep link to the Phone app

Open an app (iOS/Android) via JavaScript, with a fallback redirect to App/Play store (2016 edition)

本小妞迷上赌 提交于 2019-11-28 09:26:49
Given: Website, iOS and Android applications, registered urlscheme "myapp://". Goal: on the website have a link shown to iOS/Android devices with app installed. Clicking on that link should open the app and invoke specific logic (handled by the app, essentially like "universal links" from apple, but without shadowing website links). Due to security constraints detecting if an app is installed is troublesome without webview cookie magic. Given that, what would be the best approach to try and open an app via JavaScript, and invoke a fallback redirect if that fails? Solution from this thread: Is

Android Deep Linking with multiple query parameters

戏子无情 提交于 2019-11-28 06:12:46
I'm trying to deep link my app and have implemented the following in my AndroidManifest.xml to open the proper activity. <activity android:name=".ui.activities.MyActivity" android:label="@string/title_activity" android:screenOrientation="portrait"> <!-- ATTENTION: This intent was auto-generated. Follow instructions at https://g.co/AppIndexing/AndroidStudio to publish your Android app deep links. --> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <!--

Automating deep linking using android espresso

核能气质少年 提交于 2019-11-28 05:36:15
问题 I want to write espresso scripts to test deep linking and have no idea how to begin with. Looking for solutions that'll help me get more idea, possibly step by step procedure on how to get started. For ex : I am looking for a scenario like you get a link in gmail tapping on which user should be directed towards the mobile app. How do I get started to test something like this using espresso ? Thanks in advance. 回答1: Start with an activity rule @Rule public ActivityTestRule<YourAppMainActivity>

Facebook deep linking with iOS app

会有一股神秘感。 提交于 2019-11-28 04:34:06
问题 I am using below code to post to Facebook. It is working perfectly but when i replace MY_URL with myapp://test_page// the post won't appear in Facebook timeline. If i'm doing something wrong then please tell me how can i deep-link my app to Facebook app. I've searched almost all stackoverflow.com pages & other Facebook developer tutorials but i can not understand that. NSMutableDictionary *params = [NSMutableDictionary dictionaryWithCapacity:0]; [params setObject:@"Check out my post in myapp"

Deep-linking intent does not work

泪湿孤枕 提交于 2019-11-28 04:04:59
I followed the insttructions on https://developer.android.com/training/app-indexing/deep-linking.html , but when I want to trigger the intent through adb with: adb shell am start -W -a android.intent.action.BROWSEABLE -d "http://example.com/gizmos" com.myapp.android I just get Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=example://gizmos flg=0x10000000 pkg=com.myapp.android } <activity android:name=".activities.DeepLinkActivity" android:label="@string/title_activity_deep_link"> <meta-data android:name="android.app.searchable" android:resource="@xml

How to access and pass parameters to the modules of an Android Instant App

大城市里の小女人 提交于 2019-11-27 23:54:32
问题 With normal installed apps it's possible to use the technique of Deep Linking in order to not only open a specific application from an URL but also to redirect it to a specific section/function such as a specific Facebook post or specific coordinates on a map. Since I've read that with Instant Apps this won't be possible because links already point to the specific module to download and run, how would it be possible to access not only the said module but also pass it some parameters? For

Universal Link broken in iOS 11.2

て烟熏妆下的殇ゞ 提交于 2019-11-27 21:19:34
I am using Branch deep links in an app for sharing links to content in the app via social media. Everything was working fine quite a while. When updating to iOS 11.2 I encountered the following behavior: 1) After the update the Universal Links still worked. 2) I uninstalled the app and reinstalled it. 3) Since then, all links always open the Branch deep view in Safari. 4) Tapping "Open The App", opens the AppStore. It does not matter in which app I tap on the link (Notes, WhatsApp, Messages, Facebook, ...), it is always the same behavior. The Universal Link was not bypassed by tapping the "go