branch.io

Instant Apps with NFC

会有一股神秘感。 提交于 2019-12-03 05:19:49
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.herokuapp.com" /> </intent-filter> When going to https://example-refresh.herokuapp.com (example link obviously

“Safari cannot open the page because the address is invalid” appearing when accessing Branch link with app uninstalled

允我心安 提交于 2019-12-03 02:13:33
I'm integrating an app with Branch.io and encountered an issue in Safari (I've tested this on iOS 11, but the issue might be appearing on other versions as well). Basically, if I have my app installed and open a quick link in either Safari or Chrome, everything works fine and I get a prompt to open the link in the app. However, if I uninstall the app and tap on the link in Safari I get the following message: When I tap the OK button, I get a prompt to open the Appstore which is the desired behaviour. Is there any way to prevent the "Safari cannot open the page because the address is invalid"

Branch.io (Android SDK): 'only initialize Branch in the Launcher activity' and GDPR

随声附和 提交于 2019-12-02 18:37:58
问题 According to the doc: https://docs.branch.io/pages/apps/android/ : "Only initialize Branch in the Launcher activity The app will open through the Launcher activity, where Branch will initialize and retrieve the deep link data from the link click." My problem is that I have got a GDPRLauncherActivity that is the launcher activity of my project. This GDPR activity is displayed to EU users at first launch and never displayed anymore later (the GDPRLauncherActivity directly launches my

Branch.io (Android SDK): 'only initialize Branch in the Launcher activity' and GDPR

时光怂恿深爱的人放手 提交于 2019-12-02 09:04:15
According to the doc: https://docs.branch.io/pages/apps/android/ : "Only initialize Branch in the Launcher activity The app will open through the Launcher activity, where Branch will initialize and retrieve the deep link data from the link click." My problem is that I have got a GDPRLauncherActivity that is the launcher activity of my project. This GDPR activity is displayed to EU users at first launch and never displayed anymore later (the GDPRLauncherActivity directly launches my mainActivity), and never displayed to the users outside the EU (the GDPRLauncherActivity will also directly

Deep link with variable query on branch.io

社会主义新天地 提交于 2019-12-01 23:08:23
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 for each user, or whether I can create one link call it /reset-pw and then pass it a variable query

How to implement the Referral system with Branch.io

[亡魂溺海] 提交于 2019-12-01 13:52:26
I've followed the documents, I don't know what's wrong, I would really appreciate some insight. Manifest: <uses-permission android:name="android.permission.INTERNET" /> <application ... android:name="io.branch.referral.BranchApp"> <meta-data android:name="io.branch.sdk.BranchKey" android:value="key_live_123456789asdf" /> <activity ...> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter android:label="indexed_on_SEO"> <action android:name="android.intent.action.VIEW" /> <category

How to implement the Referral system with Branch.io

断了今生、忘了曾经 提交于 2019-12-01 12:25:44
问题 I've followed the documents, I don't know what's wrong, I would really appreciate some insight. Manifest: <uses-permission android:name="android.permission.INTERNET" /> <application ... android:name="io.branch.referral.BranchApp"> <meta-data android:name="io.branch.sdk.BranchKey" android:value="key_live_123456789asdf" /> <activity ...> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent

Supporting same domain on two different apps supporting universal links..?

本小妞迷上赌 提交于 2019-11-30 09:20:33
I have an application which supports universal links and it is currently in the app store. Say it supports the domain www.example.com and thus universal links can be easily opened via this. We will have applinks:www.example.com in associated domains. Now say if I want to release another app and it also supports the same domain. Now how will iOS distinguish which app to open via universal links..? Vineet Choudhary In order to supporting Universal Links with single domain on two different apps you need to make changes in your existing apple-app-site-association file, at https://{domain}/apple

Android: Branch.io tutorial: Branch.getAutoInstance(this);

懵懂的女人 提交于 2019-11-30 05:48:53
问题 I am trying to get Branch.io to work on Android, but I am running into: myapplication.MainActivity cannot be cast to android.app.Application I then changed: Branch.getAutoInstance(this); To: Branch.getInstance(); In onCreate of the Activity. Then I get: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean io.branch.referral.Branch.initSession(io.branch.referral.Branch$BranchReferralInitListener, android.net.Uri, android.app.Activity)' on a null object reference at android

Supporting same domain on two different apps supporting universal links..?

狂风中的少年 提交于 2019-11-29 13:59:27
问题 I have an application which supports universal links and it is currently in the app store. Say it supports the domain www.example.com and thus universal links can be easily opened via this. We will have applinks:www.example.com in associated domains. Now say if I want to release another app and it also supports the same domain. Now how will iOS distinguish which app to open via universal links..? 回答1: In order to supporting Universal Links with single domain on two different apps you need to