firebase-dynamic-links

iOS Swift 2.3: correct syntax for application restorationHandler?

喜夏-厌秋 提交于 2019-12-11 23:44:35
问题 I am trying to setup Firebase Dynamic Links in my iOS project using Swift 2.3. When I add this function in the AppDelegate (as reported at the bottom of this page), I get the error: Unknown attribute 'escaping' func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { guard let dynamicLinks = FIRDynamicLinks.dynamicLinks() else { return false } let handled = dynamicLinks.handleUniversalLink(userActivity

Is this safe to pass query parameter in Firebase Dynamic “link” attribute

瘦欲@ 提交于 2019-12-11 16:32:38
问题 I'm integrating firebase dynamic linking for Android & iOS application. What I found is query parameter I passed in link attribute is not safe. I can copy link form debug detail (by appending ?d=1 at the end of deep link). My understanding says we should not pass any important information here as query parameter, but is there way to safeguard this !! 回答1: Its only as secret as a regular link - so if you wouldn't pass some important detail in a standard URL, then don't put it in a dynamic link

How to know app was installed through firebase dynamic link in didFinishLaunchingWithOptions?

岁酱吖の 提交于 2019-12-11 16:00:03
问题 I am implementing firebase dynamic links in my iOS app and I can already parse the link, redirect to AppStore etc. Now I want to distinguish the first run of the app, when user installs it from the dynamic link - I want to skip the intro and show him the content that is expected to be shown. Is there a way to know how the app is opened before being in didFinishLaunchingWithOptions? 回答1: The method application:openURL:options: will be called when Firebase Dynamic Links iOS SDK finished

Why does typing a Firebase Dynamic Link in a browser lead to a different result compared to clicking on it?

旧街凉风 提交于 2019-12-11 08:48:43
问题 I am implementing Firebase Dynamic Links in an Android project and I have noticed that the diagram that they provide for a link shows different behavior when typing the link in a browser and when clicking on it. You can see an example below. Why is that and can I make typing behave the same as clicking on a link? 回答1: You cannot. Assuming you are using Chrome, this is a design limitation from the Chrome team. You can read more about it here 来源: https://stackoverflow.com/questions/42085960/why

Firebase Dynamic Links failing to fetch parameter

风格不统一 提交于 2019-12-11 08:32:56
问题 I am working on invites in my app, I want users to refer others, the referrer will get a reward after the person they referred registers. I was following this firebase invite tutorial, in step 2 we created a dynamic link from our normal link with our parameter invitedby=SENDER_UID like String link = "https://samplelink.com/?invitedby=" + user.getPhone(); Log.e(TAG, "Generated link: "+link); FirebaseDynamicLinks.getInstance().createDynamicLink() .setLink(Uri.parse(link)) .setDynamicLinkDomain

How to get the correct acces token for Firebase Dynamic Link Analytics Rest API (NodeJS)

喜欢而已 提交于 2019-12-11 04:26:26
问题 I have a problem with my access_token which I get with the serveracceskey. Here is my code in NodeJS: const admin = require('firebase-admin'); var request = require("request"); const serviceAccount = require('./serverAccountKey.json'); const credential = admin.credential.cert(serviceAccount); credential.getAccessToken().then((accessTokenInfo) => { const accessToken = accessTokenInfo.access_token; const expirationTime = accessTokenInfo.expires_in; console.log("accessToken " + accessToken );

Dynamic Links domain not available

做~自己de王妃 提交于 2019-12-10 19:46:11
问题 According to the docs, there should be a Dynamic Links domain for my project, which is displayed at the top of the Dynamic Links page. The docs have a screen capture like so: Location of domain according to the Firebase documentation However, on the Dynamic Links page for my project there is no such domain, at least not one I can see. Here is a screen shot (I've blacked out identifying info, there was no domain under the black square or circle!): Screen shot of Dynamic Links page with no

Firebase dynamic link doesnt work in safari swift

こ雲淡風輕ζ 提交于 2019-12-10 18:26:45
问题 I am using firebase dynamic link . I am facing 2 issues firebase official website doesn't have enough information and already did googling. (1) When i created link programatically it doesn't work on safari . but if i copy link and open it in chrome or other browser its working like charm.(also doesn't working on facebook app) (2) I got dynamic link and its working in chrome browser without giving any kind of error. but at firebase console there are no listing for that all links except if i

Dynamic link on ios open black page

别说谁变了你拦得住时间么 提交于 2019-12-10 17:40:41
问题 When we try to open a dynamic link on an iPhone (iOS 10) without our app, the browser is opened on a blank page with a button in the middle instead of the store....why? 回答1: Answer from google This behavior on iOS where your dynamic links show intermediate Screen is an intended behavior. This is meant to address some issues with Dynamic Links on iOS when clicking on the link from within an app. For example, for certain apps clicking on the link would not take the user to the App Store when

How do i get deep link after user install the app through firebase dynamic link and opens the app on app drawer?

最后都变了- 提交于 2019-12-10 13:55:22
问题 i'm using firebase dynamic links to invite friends to my app. Everything works great. Clicking the invitation link leads me to the playstore. When i install the app and wait until its done the playstore shows me the button "Continue". When i click this button, the app opens and i receive the deeplink to track the invitation. But when i install the app, close the playstore and open the app through the app drawer i'm NOT receiving the deeplink. Is this an expected behavior? My problem is, that