branch.io

How to generate referral code using Branch.io Metrics?

本小妞迷上赌 提交于 2019-12-23 01:43:52
问题 I am trying to implement a referral code system, and I am using Branch.io Metrics library. The problem I am facing is that the documentation is not good (doesn't work) and I am unable to generate a code Documentation: https://github.com/BranchMetrics/Branch-Android-SDK#register-an-activity-for-direct-deep-linking-optional-but-recommended Here are the steps I have taken including adding the library. 1) Grabbed the jar, added to my libs folder and added the following to my depenencies compile

Deep link with variable query on branch.io

╄→гoц情女王★ 提交于 2019-12-20 03:42:36
问题 We are considering using branch.io for the social sharing aspect of our app. I'm also wondering whether I can use it for the password reset flow. This is to get around the fact that email clients like gmail strip the custom application uri like: frock//:foo.com/reset-pw out of any links: https://github.com/EddyVerbruggen/Custom-URL-scheme/issues/123. So I'm thinking about using branch.io to send out a link to the password recover screen and am wondering if I have to create a branch.io link

Branch Deep link not opening application

末鹿安然 提交于 2019-12-18 11:44:40
问题 I have been trying (unsuccessfully) to use Branch to implement deep linking into our iOS application. The Branch URL redirects directly to App Store and never attempts to open the application. I must be missing something. What I've done: Included Branch SDK (CocoaPods) Added branch_key to application plist Added URL Scheme to URL Types in application plist Enabled Associated Domains in both the project and the App ID in the developer console. Ensured that the entitlements file is included in

cannot convert AnyHashable in swift 3

你离开我真会死。 提交于 2019-12-14 00:44:31
问题 I have following method, which written in swift (before swift 3). below is the method func application(application: UIApplication, didReceiveRemoteNotification launchOptions: [AnyHashable: Any]) -> Void { Branch.getInstance().handlePushNotification(launchOptions) } it gives and error of Use of undeclared type AnyHashable . how can I covert this to swift 3. I tried with following. func application(application: UIApplication, didReceiveRemoteNotification launchOptions: [NSObject : AnyObject]) -

Wrap data image with deep link using Branch IO

丶灬走出姿态 提交于 2019-12-13 08:11:12
问题 I want to use Branch IO on Facebook . I want to send an image to Facebook . I saw that in example on Branch IO website, looks like we need to sent image url instead of upload data image. My question is , Are we able to send image to Facebook which will be wrapped with deep link without sending image to a server or to S3 amazon . 回答1: Alex from Branch.io here: uploading images is not possible using the iOS SDK. You'll need to host the image somewhere else (like S3) and use that URL for the

Launching the app directly on clicking deep-link

て烟熏妆下的殇ゞ 提交于 2019-12-13 03:45:14
问题 I'm using branch.io in my project for deep-linking. On click of the deep-link, the app is not getting launched directly instead it's showing the list of apps. Then I need to click my app in order to open it. I'm testing on Oreo(API level 27) device. Below is a piece of manifest code. <intent-filter android:autoVerify="true" tools:targetApi="m"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android

Branch.io event logging

好久不见. 提交于 2019-12-12 13:29:06
问题 I am following the below link for logging ecommerce event in branch.io https://github.com/BranchMetrics/branch-deep-linking-public-api#logging-commerce-events I am using the same request as mentioned in the link. but the details are not getting captured in branch.io dashboard. I am getting "branch_view_enabled": false as a response. Please help me out if there is any issue in settings ? or explicitly I will have to do something for seeing the events in the dashboard. A response will be highly

Branch.io (deep link activity) not working on iOS12 swift?

你离开我真会死。 提交于 2019-12-12 10:43:40
问题 We have implemented the deep link activity in our application. It worked in iOS 11. When we send SMS via a web portal. Its received in iPhone. After updated into iOS 12 the link messages are not received for my iPhone devices. Here is my code below: func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { let branch: Branch = Branch.getInstance() branch.initSession(launchOptions: launchOptions,

Branch link does not open activity with custom permission in android

烈酒焚心 提交于 2019-12-12 06:15:39
问题 I am using using branch links to open my app from messages. But to avoid anybody opening my activity maliciously, I have created a custom permission and applied that to my activity. Now when the branch link tries to open the activity, it crashes. How can I fix this issue. Branch link works fine without custom permission. Thanks in advance. 回答1: According to the comment on Android: Is it a good practice to define custom permission for an activity which has intent filters?, one should not

Branch.io - ContinueActivity not returning correct ActivityType

删除回忆录丶 提交于 2019-12-12 04:31:19
问题 Im currently implementing Branch.io to our Titanium iOS-app. Using the latest 4.8 Studio with Titanium SDK 6.0. Everything works fine with the integration so far, except that when I try to open the app, when it's "cold dead", we're not getting the correct activityType from the created Activity. The eventlistener of "continueactivity" is used, but the activityType is: "NSUserActivityTypeBrowsingWeb" and not the one I have specified in the Entitlements.plist-file. Here's our current code: var