deep-linking

Android deep linking schema: match both http and https

旧巷老猫 提交于 2019-12-04 23:00:29
I want my app to open on http://www.example.com and https://www.example.com . This works: <data android:host="www.example.com" android:path="/" android:scheme="http"/> <data android:host="www.example.com" android:path="/" android:scheme="https"/> Is it possible to catch both with one entry? I tried: <data android:host="www.example.com" android:path="/" android:scheme="http*"/> but this catches only the http link, not the https one. So I know how I can handle bot variants, but want to use the most concise writing possible. This seems to do the trick for me: <intent-filter> <action android:name=

Android Deeplink with facebook not working - redirecting to play store instead of launching application

无人久伴 提交于 2019-12-04 19:29:17
I am trying to deep link my application with facebook. My App Url is https:www.xyz.com/app Below is my intent filter: <intent-filter android:label="@string/app_name"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.DEFAULT" /> <data android:scheme="https" android:host="www.xyz.com"/> </intent-filter> I am posting a link in facebook, when someone click on the link, the link is getting redirected to Google play Store and asks the user to open the application if installed, instead of

How to programatically generate a Dynamic Link to a Storage Object in Firebase?

心不动则不痛 提交于 2019-12-04 19:17:19
The new version of Firebase introduced in Google IO 2016 has introduced Firebase Dynamic Links (as an extension of the deep linking concept) as well as Firebase Storage (powered by Google Cloud Storage). How can programatically generate a Firebase Dynamic Link to a Firebase Storage Object? EDIT-1 I understand that we can get the Google Cloud Storage bucket that holds a Storage object and the full path to the object in the Storage bucket using the following code public String getDynamicLink(StorageReference storageReference) { String dynamicLink = ""; String bucket = storageReference.getBucket(

jquery deep linking - how does it effect analytics?

青春壹個敷衍的年華 提交于 2019-12-04 17:21:41
I am looking into using http://www.asual.com/jquery/address/ , but I am wondering how it effects google analytics. Google analytics is a snippet of code at the bottom of pages. I would imagine deep linking would still look like activity on the initial page, not new pages. From what I can see it will look to google analytics like navigating to a new page. Just open e.g. http://www.asual.com/jquery/address/samples/tabs/ and check the requests FF makes (e.g. with Live HTTP Headers ) and you will see that the google analytics fires a request for every tab you switch to. in it's current version 1.3

branch.io deep-linked URL not passing data in App from Facebook Ads

亡梦爱人 提交于 2019-12-04 15:19:55
We are using branch.io to pass custom data to App. For that we are following this steps in branch dashboard. 1) Ads -> Partner Management -> Facebook -> Create Facebook Link 2) Set data in Key/Value under " Deep Linking " Section (data which we need in our app) 3) We set Play/App Store URL in Android/iOs respectively Or set Default Redirects under " Redirects " section That's it!!! Now Go to Facebook Ads Manager and select App Install Campaign. 1) Select Play/App Store under App Section. 2) Set above generated URL under " deffered deep link " You can read more here : https://docs.branch.io

How to open dynamic links using Firebase notifications?

不羁岁月 提交于 2019-12-04 14:04:46
问题 I am trying to implement Firebase notifications for our android app. I have also implemented Dynamic Links in the app. But, I am not able to figure out a way to send the notification with a dynamic link (so that on clicking the notification, a certain dynamic link is opened). I can only see an option to send a text notification. Is there any workaround or is this a limitation of FCM? 回答1: You will have to implement a server side sending of the notification with a custom data as currently the

Custom URI navigation from Notification and from browser

懵懂的女人 提交于 2019-12-04 13:02:23
I am working with Custom URIs to show the appropriate content in android app. Naviation flow from Notification : onMessage() method of GCMBaseIntentService I have call to generateNotification() method. private void generateNotification(Context context, String message, String uri) { int icon = R.drawable.icon; long when = System.currentTimeMillis(); NotificationManager notificationManager = (NotificationManager) context .getSystemService(Context.NOTIFICATION_SERVICE); Notification notification = new Notification(icon, message, when); String title = context.getString(R.string.app_name); Uri

Open my app from URL scheme in Android

送分小仙女□ 提交于 2019-12-04 12:35:26
问题 I know there are several questions on SO about this, but none of them are helping to resolve my issue. I want to be able to click a link from an email/text/browser and open my app. I have the AndroidManifest.xml code: <!-- Splash Activity --> <activity android:name=".ui.SplashActivity" android:label="@string/app_name" android:theme="@style/SplashTheme" android:launchMode="singleTask"> <!-- Launcher intent filter --> <intent-filter> <action android:name="android.intent.action.MAIN" />

Detect application launch from Universal Volume Control

强颜欢笑 提交于 2019-12-04 10:23:12
I have an application, targeting mango devices, which plays music via a BackgroundAudioAgent. As such it integrates with the universal volume control (UVC). Is there a way to detect when the application is launched by tapping the artists details in the UVC? Alternatively, is there a way to set a deep link for the UVC to use? I want this so that I can take the user to the "Now playing" page, rather than the main page, when the app is launched via the UVC. Update This also affects launching the app from the now playing tile in the Music & Video hub as the BackgroundAudioPlayer automatically

Instant Apps with NFC

北战南征 提交于 2019-12-04 10:13:18
问题 I'm trying to get an instant app to be opened via NFC. I have something like the below in my AndroidManifest.xml <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="https" /> <data android:scheme="http" /> <data android:host="example-refresh