deep-linking

Deep Link does not work on Android

走远了吗. 提交于 2020-05-12 20:32:30
问题 I'm following Create Deep Links to App Content in Android developer documentation to create a Deep Link to an Activity in an Android app. New app project, I've specified the activity exactly like in that tutorial: <activity android:name="com.example.android.GizmosActivity" android:label="@string/title_gizmos" > <intent-filter android:label="@string/filter_view_http_gizmos"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" />

Deep Link does not work on Android

走远了吗. 提交于 2020-05-12 20:32:27
问题 I'm following Create Deep Links to App Content in Android developer documentation to create a Deep Link to an Activity in an Android app. New app project, I've specified the activity exactly like in that tutorial: <activity android:name="com.example.android.GizmosActivity" android:label="@string/title_gizmos" > <intent-filter android:label="@string/filter_view_http_gizmos"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" />

I am trying to test android deep link urls through adb to launch my app

眉间皱痕 提交于 2020-05-09 17:58:30
问题 When I type the command in adb: ./adb shell am start -W -a android.intent.action.VIEW -d "example:gizmos" com.myapp I get this error: Starting: Intent { act=android.intent.action.VIEW dat=example://gizmos pkg=com.myapp } Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=example://gizmos flg=0x10000000 pkg=com.myapp } But when I type the command in adb: ./adb shell am start -W -a android.intent.action.VIEW -d "example:gizmos" com.myapp.activity

Android Navigation - After deeplink navigation to second fragment, open first fragment in the same graph, but from another navigation graph

倾然丶 夕夏残阳落幕 提交于 2020-04-16 02:58:25
问题 In my navigation, I have something like this: When I open registrationFragment (in entry_graph) from a deep-link, and finish registration, I am navigated to main_graph (MainFragment). From there, I can access to menuFragment and click on logOut, which calls: MainFragmentDirections.actionMainFragmentToEntryFragment() It opens the registrationFragment instead of loginFragment. I do not expect that since loginFragment is the home fragment on that graph. When I have similar navigation but not

Android Navigation - After deeplink navigation to second fragment, open first fragment in the same graph, but from another navigation graph

淺唱寂寞╮ 提交于 2020-04-16 02:58:13
问题 In my navigation, I have something like this: When I open registrationFragment (in entry_graph) from a deep-link, and finish registration, I am navigated to main_graph (MainFragment). From there, I can access to menuFragment and click on logOut, which calls: MainFragmentDirections.actionMainFragmentToEntryFragment() It opens the registrationFragment instead of loginFragment. I do not expect that since loginFragment is the home fragment on that graph. When I have similar navigation but not

How to open iOS gallery app from React Native app

流过昼夜 提交于 2020-04-11 03:37:43
问题 I'm having trouble opening iOS gallery app from React Native app. I have the file url and asset url. I got the asset url from CameraRoll. Now I want to open the gallery itself to see the image. This is the code that I use openGallery = () => { // this code is working on android using asset url // sample url on iOS // file url : file:///var/mobile/Containers/Data/Application/A41FFC2E-06D4-445D-9B94-D21E885930C7/Documents/video/popcam-1527202811.mov // asset url : assets-library://asset/asset

How to make deep link string clickable in android TextView

白昼怎懂夜的黑 提交于 2020-03-22 23:48:10
问题 How do I make a deep link string for example "myapp://product/123" clickable in android TextView. I know there are autoLink options like email, web and phone but there isn't any deeplink option. How do I make it clickable and launch the intent on click of that link? 回答1: you can do that by using ClickableSpan eg. ClickableSpan clickableSpan = new ClickableSpan() { @Override public void onClick(View textView) { startActivity(new Intent(MyActivity.this, NextActivity.class)); } @Override public

How to make deep link string clickable in android TextView

随声附和 提交于 2020-03-22 23:43:59
问题 How do I make a deep link string for example "myapp://product/123" clickable in android TextView. I know there are autoLink options like email, web and phone but there isn't any deeplink option. How do I make it clickable and launch the intent on click of that link? 回答1: you can do that by using ClickableSpan eg. ClickableSpan clickableSpan = new ClickableSpan() { @Override public void onClick(View textView) { startActivity(new Intent(MyActivity.this, NextActivity.class)); } @Override public

Deep linking from Web to PWA (Standalone Version)

我怕爱的太早我们不能终老 提交于 2020-03-17 06:54:10
问题 I have a web app that it can be installed as standalone application in the homescreen thanks to PWA standard. When a user forget his password, a email is sent to him with a link to reset the password. Question is: Can I deep-link to the already-installed standalone version instead of the web application in chrome browser? I'd like to achieve this behaviour: User clicks in email link from gmail application. OS check if link matches with any url schema pre-registered in the system (This is the

Pass query params to redirect url from Branch

雨燕双飞 提交于 2020-02-23 04:05:31
问题 Consider an URL - example.com/page which is generated from marketing tab in Branch dashboard. Now I use this URL to open my iOS application and also have redirect urls for desktop and Android. I append query params to my deep linked URL as below. example.com/page?currentPage="myPage" In my application, in branch init session I am able to get the parameters which I added manually. Now, how can I achieve the same for redirect URL? If I add query params to Branch link then it should be passed on