• Stars
    star
    109
  • Rank 319,077 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 10 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Branch Metrics example application for iOS mobile deep linking / deeplinking - the Branchster app. Branch helps mobile apps grow with deep links / deeplinks that power referral systems, sharing links and invites with full attribution and analytics.

Create a personal copy of the Branchsters app for testing!

  1. From the command line:
    • Clone the repo: git clone [email protected]:BranchMetrics/Branch-Example-Deep-Linking-Branchster-iOS.git
    • cd Branch-Example-Deep-Linking-Branchster-iOS/
    • pod install
  2. In Finder open: BranchMonsterFactory.xcworkspace
  3. In Xcode click on the root node of the project: BranchMonsterFactory
  4. Under Targets select BranchMonsterFactory, then the General tab
  5. Change the Bundle Identifier to something unique (for this demo we'll use io.branch.Objective-C.Branchsters)
  6. Change the Team to your Team (it must be a paid Apple Developer Account) and click Fix Issue to generate a new Provisioning Profile
  7. Log in to the Branch dashboard and create a new app from the drop-down menu in the top right cornder
  8. On the Settings, screen copy the Branch key
  9. In the Xcode project's info.plist file, change the branch_key entry to the value of your new Branch key key
  10. Add a new String key to the info.plist file: branch_app_domain
  11. Populate the new branch_app_domain key with the value of the Default domain name field found in the Custom Link Domain section of the dashboard's Link Settings tab
  12. Populate the Branch dashboard with the following values:
    • Always try to open app: Checked
    • I have an iOS App: Checked
    • iOS URL: branchsters:// (from the info.plist file, this is URL Types > URL Schemes > Item 0)
    • Custom URL: (enter a web site here if you haven't published the app to the App Store - http://www.branch.io, for example)
    • Default URL: (any web site will do: http://www.branch.io, for example)

Set up Universal Links

NOTE: these steps will not work if you do not have a paid Apple Developer Account

  1. In the Branchsters.entitlements file, add entries for the new Branch Live and Test link domains. For example:
    • applinks:xxxx.app.link
    • applinks:xxxx.test-app.link
    • applinks:xxxx-alternate.app.link
    • applinks:xxxx-alternate.test-app.link
  2. Run the app and make sure that it launches properly on a device or on a simulator
  3. Select the Branchsters.entitlements file and ensure the BranchMonsterFactory box is checked inside Target Membership
  4. Populate the Branch dashboard with the following values:
  5. Save the settings - you are done!

Test

  1. If the app was installed on the test device already:
    • Delete the app from the device
    • Clear Safari web content, history and cookies (Settings > Safari > Clear History and Website Data)
    • Reset the device's IDFA (Settings > Privacy > Advertising > Reset Advertising Identifier...)
  2. Create a Marketing link from the Branch dashboard
  3. Paste the link into Notes on an iPhone
  4. Tap the link - you will get redirected to the web page
  5. Install the app on the device via Xcode
  6. Tapping on the link should now open the app directly

More Repositories

1

ios-branch-deep-linking-attribution

The Branch iOS SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
Objective-C
729
star
2

react-native-branch-deep-linking-attribution

The Branch React Native SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
TypeScript
519
star
3

android-branch-deep-linking-attribution

The Branch Android SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
HTML
399
star
4

web-branch-deep-linking-attribution

The Branch Web SDK for deep linking and attribution. Once initialized, the Branch Web SDK allows you to create and share links with a banner (web only), over SMS, or your own methods by generating deep links. It also offers event tracking, access to referrals, and management of credits.
JavaScript
288
star
5

cordova-ionic-phonegap-branch-deep-linking-attribution

The Branch Cordova Ionic Phonegap SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
JavaScript
233
star
6

branch-deep-linking-public-api

The Branch Metrics public API for mobile deep linking / deeplinking applications. Branch helps mobile apps grow with deep links / deeplinks that power referral systems, sharing links and invites with full attribution and analytics.
145
star
7

unity-branch-deep-linking-attribution

The Branch Unity SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
C#
118
star
8

Branch-Example-Deep-Linking-Branchster-Android

Branch Metrics Example application for Android mobile deep linking / deeplinking - the Branchster app. Branch helps mobile apps grow with deep links / deeplinks that power referral systems, sharing links and invites with full attribution and analytics.
Java
97
star
9

xamarin-branch-deep-linking-attribution

The Branch Xamarin SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
Objective-C
72
star
10

Branch-Monster-Factory-Example-Android-Instant-Apps

This is a replica of Branch Monster Factory project with Instant App support. This shows how easy it is to add Branch SDK to your Instant App supported Android app
Java
59
star
11

sdk-release

TUNE iOS, Android, and Windows native SDKs
Objective-C
56
star
12

sesame_issues

Feature requests and bugs for Sesame Android app
55
star
13

ArcticTiger-SendGrid

This repository contains the SendGrid email template used by ArcticTiger
HTML
43
star
14

Branch-iOS-Invite-SDK

The purpose of the Branch iOS Invite SDK is to provide an out-of-the-box functional 'invite feature' for apps consuming the Branch SDK that want to utilize a standard invite feature in their app. Branch helps mobile apps grow with deep links that power referral systems, sharing links and invites with full attribution and analytics.
Objective-C
42
star
15

capacitor-branch-deep-links

Capacitor plugin for branch.io deep links
Swift
32
star
16

ios-branch-sdk-spm

Branch iOS SDK Swift Package Manager distribution
Objective-C
19
star
17

mac-branch-deep-linking

The Branch SDK for Mac OS X - Docs:
Objective-C
17
star
18

branch_io_cli

Branch.io command line interface
Ruby
14
star
19

unity-plugin

14
star
20

Branch-Example-Deep-Linking-Branchster-Web

JavaScript
14
star
21

fastlane-plugin-branch

Fastlane plugin to support Branch SDK integration and iOS Universal Link validation
Ruby
11
star
22

cpp-branch-deep-linking-attribution

Branch Metrics Win32/C++ SDK
C++
10
star
23

air-plugin

Adobe AIR plugin for Tune
Objective-C
9
star
24

app-indexing-validator

JavaScript
8
star
25

phonegap-plugin

PhoneGap/Cordova plugin for Tune
Objective-C
8
star
26

AdobeBranchExtension-iOS

Objective-C
7
star
27

branch-chrome-extension

A Chrome extension for creating Branch links
JavaScript
6
star
28

Segment-Branch-iOS

Branch integration for the Segment iOS library
Objective-C
4
star
29

xcode-github

A macOS app that creates new Xcode bots when a new PR is created on an observed GitHub repo.
Objective-C
4
star
30

xamarin-plugin

Xamarin library for Tune
C#
3
star
31

cocoapod2.0

Objective-C
3
star
32

Branch-Monster-Factory-IA

Java
3
star
33

GradleToMavenOptionalDependencies

These build files can be used to upload optional dependencies to Maven, which would otherwise be included.
2
star
34

branch-android-sdk-samples

Samples demonstrating how to use Branch Android SDK
Kotlin
2
star
35

BranchMetrics.github.io

internal site for reference
HTML
2
star
36

branch-react-native-sdk-samples

Samples demonstrating how to use Branch React Native SDK
Java
2
star
37

Segment-Branch-Android

Branch integration for the Segment Android library.
Java
2
star
38

AdobeBranchExtension-Android

Branch integration with the Adobe Launch platform
Java
1
star
39

branch-roku-sdk

Branch Roku SDK
Brightscript
1
star
40

branch-ios-sdk-samples

Samples demonstrating how to use Branch IOS SDK
Swift
1
star
41

iOS-Testbed-Referral

Objective-C
1
star
42

branch-sdk-sample-apps

Various sample apps for the Branch SDKs
1
star
43

mparticle-javascript-integration-branch

An mParticle web kit to integrate the Branch Web SDK.
JavaScript
1
star
44

BranchBlogBasic

iOS Swift app that demonstrates Branch's Deep-linking capabilities
Swift
1
star