Skip to content

Renamed iOS and Android repo to make it identical for both platforms #5359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Using 1Flow, you can reach users _in-the-moment_ while they are interacting with

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

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

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

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

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.

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

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.

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

```
let config = Configuration(writeKey: "YOUR_WRITE_KEY_HERE")
let analytics = Analytics(configuration: config)
analytics.add(plugin: OneFlowDestination())
import Segment1Flow
...
let config = Configuration(writeKey: "YOUR_WRITE_KEY_HERE")
let analytics = Analytics(configuration: config)
analytics.add(plugin: OneFlowDestination())
```

## Android
Expand Down Expand Up @@ -83,7 +85,7 @@ defaultConfig {
dependencies {
....
implementation 'com.segment.analytics.android:analytics:4.11.3'
implementation "com.github.1Flow-Inc:1flow-segment-tool:2023.09.14"
implementation "com.github.1Flow-Inc:segment-1flow-android:2023.09.16"
}
```

Expand Down