Skip to content

Commit 31a82cd

Browse files
authored
Merge pull request #5359 from rohantryskybox/1Flow-iOS
Renamed iOS and Android repo to make it identical for both platforms
2 parents 0fe1263 + 8eca47f commit 31a82cd

File tree

1 file changed

+9
-7
lines changed
  • src/connections/destinations/catalog/1flow-mobile-plugin

1 file changed

+9
-7
lines changed

src/connections/destinations/catalog/test-flow/index.md renamed to src/connections/destinations/catalog/1flow-mobile-plugin/index.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Using 1Flow, you can reach users _in-the-moment_ while they are interacting with
1111

1212
The 1Flow Mobile Plugin Destination is open-source and available on GitHub. You can view these repositories here:
1313

14-
- [iOS](https://github.com/1Flow-Inc/Segment1Flow.git){:target="_blank"}
15-
- [Android](https://github.com/1Flow-Inc/1flow-segment-tool.git){:target="_blank"}
14+
- [iOS](https://github.com/1Flow-Inc/segment-1flow-ios.git){:target="_blank"}
15+
- [Android](https://github.com/1Flow-Inc/segment-1flow-android.git){:target="_blank"}
1616

1717
This destination is maintained by 1Flow. For any issues with the destination, [contact Support team](mailto:[email protected]).
1818

@@ -30,16 +30,18 @@ This destination is maintained by 1Flow. For any issues with the destination, [c
3030

3131
In the Xcode File menu, click Add Packages. You'll see a dialog where you can search for Swift packages. In the search field, enter the URL to this repo.
3232

33-
https://github.com/1Flow-Inc/Segment1Flow
33+
https://github.com/1Flow-Inc/segment-1flow-ios
3434

3535
You'll then have the option to pin to a version, or specific branch, as well as which project in your workspace to add it to. Once you've made your selections, click the Add Package button.
3636

3737
### Step 2: Initialise Segment and Add 1Fow Destination
3838

3939
```
40-
let config = Configuration(writeKey: "YOUR_WRITE_KEY_HERE")
41-
let analytics = Analytics(configuration: config)
42-
analytics.add(plugin: OneFlowDestination())
40+
import Segment1Flow
41+
...
42+
let config = Configuration(writeKey: "YOUR_WRITE_KEY_HERE")
43+
let analytics = Analytics(configuration: config)
44+
analytics.add(plugin: OneFlowDestination())
4345
```
4446

4547
## Android
@@ -83,7 +85,7 @@ defaultConfig {
8385
dependencies {
8486
....
8587
implementation 'com.segment.analytics.android:analytics:4.11.3'
86-
implementation "com.github.1Flow-Inc:1flow-segment-tool:2023.09.14"
88+
implementation "com.github.1Flow-Inc:segment-1flow-android:2023.09.16"
8789
}
8890
```
8991

0 commit comments

Comments
 (0)