firebase-dynamic-links

Firebase dynamic links for multiple iOS apps in project

末鹿安然 提交于 2019-12-06 04:10:26
问题 I have a firebase project with two iOS apps and two Android apps. These apps needs to share databases and users so this design seems natural. Regarding dynamic links, Android works like a breeze but I’m struggling with the iOS part. Basic dynamic links setup is easy, the difficult (impossible?) part is to make dynamic link that routes toward the proper app, based on bundleID. Firebase auto-generates the apple-app-site-association files but the paths components for all apps is always the same

Check if Firebase invite led to the Play Store

你离开我真会死。 提交于 2019-12-05 22:54:30
When using Firebase invites and accessing the dynamic links at the startup of the app on Android, is there a way to know whether the user just installed the app thanks to the invite or whether it was already installed? Many thanks, Borja EDIT: Thanks to Catalin Morosan for the answer It turns out that you can find this out using method AppInviteReferral.isOpenedFromPlayStore(result.getInvitationIntent()) . In the activity that runs when you click on the invitation: // Create an auto-managed GoogleApiClient with access to App Invites. mGoogleApiClientInvite = new GoogleApiClient.Builder(this)

com.google.android.gms.common.api.ApiException while making shorturl

梦想的初衷 提交于 2019-12-05 21:52:12
I'm using firebase dynamic links, when I'm trying to getShortLink its crashing with FATAL EXCEPTION called com.google.android.gms.common.api.ApiException please help me Here is my code private void buildReferralLink() { //https://j8b99.app.goo.gl/ String domain = "j8b99" + ".app.goo.gl"; DynamicLink.Builder builder = FirebaseDynamicLinks.getInstance() .createDynamicLink() .setDynamicLinkDomain(domain) .setAndroidParameters(new DynamicLink.AndroidParameters.Builder() .setMinimumVersion(BuildConfig.VERSION_CODE) .build()) .setLink(Uri.parse("https://play.google.com/store/apps/details?id=com

Firebase Deep-link opening play store even when the app is installed

旧街凉风 提交于 2019-12-05 21:15:21
问题 I'm developing an android app. Upon clicking a button, a deep-link is generated and shared with friends. The problem is that upon clicking that shared deep-link, play store is getting opened even when the app is installed. I followed this documentation. Here's the intent-filter : <!-- [START link_intent_filter] --> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category

Firebase Deep Link short URL

99封情书 提交于 2019-12-04 17:18:55
问题 Can the links for Firebase deep links be shortened? Do they have that feature? Links generated are too long and that is not good. 回答1: UPDATE Firebase now supports shorten dynamic links programmatically. I've faced the same problem getting a long and not user friendly URL when creating a dynamic link programmatically. The solution I've found is to use the Google URL Shortener API that works brilliant. That link points to the Java library, I'm using it in Android, but you can do also a simple

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

Firebase dynamic links is not launching my app in specific situation

北慕城南 提交于 2019-12-04 10:52:00
问题 I've made a dynamic link for users to share some contents in my app. The link is working when I click a link in an HTML page using href tag on Android device. It means, if the app is not installed, go to Play Store, else opening the app and I could receive deep link address. But when the link is exactly same on other places like a facebook messenger or email etc. I click the link, then it's not working. It's always redirected to Play Store even if my app is already installed. What's the

Short Dynamic link error com.google.android.gms.common.api.ApiException: 8:

て烟熏妆下的殇ゞ 提交于 2019-12-04 10:42:20
问题 I am trying to get Firebase dynamic links to work in my app. I have a function with the following //long String link = "http://www.blessd.mobi"; DynamicLink m = FirebaseDynamicLinks.getInstance().createDynamicLink() .setLink(Uri.parse(link)) .setDynamicLinkDomain("blessd.page.link") .setAndroidParameters( new DynamicLink.AndroidParameters.Builder("mobi.blessd") .build()) .buildDynamicLink(); Uri t = m.getUri(); String ll = t.toString(); Log.d(TAG + " long link:", ll); //short Task

Firebase Deep-link opening play store even when the app is installed

好久不见. 提交于 2019-12-04 03:53:08
I'm developing an android app. Upon clicking a button, a deep-link is generated and shared with friends. The problem is that upon clicking that shared deep-link, play store is getting opened even when the app is installed. I followed this documentation. Here's the intent-filter : <!-- [START link_intent_filter] --> <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="example.com" android:scheme="http"/> <data android:host="example.com"

Firebase dynamic links handled twice

大兔子大兔子 提交于 2019-12-03 14:04:30
问题 I have a problem that firebase dynamic link is relaunched when the android app is restarted. The following sequence produces the problem: click the deep link URL the app is opened at the view pointed by the deep link (as expected) close the app (completely) open the app from the icon the app is opened at the view pointed by the deep link (even though it should not) after that it works fine I am using the latest (9.0.2) libraries. The code is pretty much as in the examples (e.g. here: https:/