You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2023. It is now read-only.
Then modify the parameters in `/path/to/MyProject/Branchfile`.
44
-
45
-
### Install this plugin
13
+
## Getting Started
46
14
47
-
Once released, you can install this plugin using
15
+
This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-branch`, add it to your project by running:
48
16
49
17
```bash
50
18
fastlane add_plugin branch
51
19
```
52
20
53
-
That tries to install from Rubygems and will fail before release.
54
-
55
-
To install before release:
56
-
57
-
1. Add a `Gemfile` to your project with these contents (already there if you used fastlane init):
**Note:** Before release, `fastlane` must always be run using `bundle exec fastlane <args>` in order
87
-
to use this plugin.
88
-
89
21
## setup_branch action
90
22
91
23
### Prerequisites
92
24
93
-
Before using this action, you should set your app up in the [Branch Dashboard](https://dashboard.branch.io). See https://dev.branch.io/basic-setup/ for details. To use the `setup_branch` action, you need:
25
+
Before using this action, make sure to set up your app in the [Branch Dashboard](https://dashboard.branch.io). See https://dev.branch.io/basic-setup/ for details. To use the `setup_branch` action, you need:
94
26
95
27
- Branch key(s), either live, test or both
96
28
- Domain name(s) used for Branch links
@@ -103,19 +35,23 @@ This action automatically configures Xcode and Android projects that use the Bra
103
35
for Universal Links, App Links and custom URI handling. It modifies Xcode project settings and entitlements as well as Info.plist and AndroidManifest.xml files.
@@ -185,6 +121,8 @@ one Universal Link domain configured for the target, and all Universal Link doma
185
121
AASA validation. If the the :domains parameter is provided, the Universal Link domains in
186
122
the project must also match the value of this parameter without regard to order.
187
123
124
+
This action does not use the Branchfile.
125
+
188
126
## Example
189
127
190
128
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. To try it:
@@ -225,52 +163,3 @@ For more information about how the `fastlane` plugin system works, check out the
225
163
## About _fastlane_
226
164
227
165
_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
228
-
229
-
## Notes on Ruby Version Managers
230
-
231
-
The Ruby environment is notoriously troublesome. It is strongly recommended for
232
-
all Ruby work to use a version manager, either [RVM](https://rvm.io) or
233
-
[rbenv](https://github.com/rbenv/rbenv). A number of Fastlane actions have known
234
-
issues using the system Ruby because of SSL cert problems. This action mainly
235
-
modifies project files, so it is unlikely to have too much trouble with the
236
-
system Ruby. However, similar issues could arise with Universal Link validation.
237
-
238
-
Starting with 1.7.0, nokogiri requires Ruby 2.1. Apple ships 2.0, which is no
239
-
longer a supported Ruby version as of February 2016. This is a strong argument
240
-
in favor of using RVM or rbenv to get a current ruby (e.g. 2.4.1).
241
-
242
-
If you're using the system Ruby, you'll need to add this line to the Gemfile in
243
-
your app project:
244
-
245
-
```Ruby
246
-
gem 'nokogiri', '1.6.8.1'
247
-
```
248
-
249
-
You may also have to install this manually first using:
250
-
251
-
```bash
252
-
sudo gem install nokogiri -v 1.6.8.1
253
-
```
254
-
255
-
### Streamlined RVM installation
256
-
257
-
```bash
258
-
\curl -sSL https://get.rvm.io | bash --ruby
259
-
```
260
-
261
-
Note the initial backslash, recommended to avoid shell aliases, but not entirely necessary.
262
-
263
-
Note that if GPG is detected, RVM will require a cert be installed in order to verify. On OS X:
0 commit comments