Skip to content

Commit 59307e8

Browse files
authored
update mobile bundling steps.md
add more details about bundling on Android as per our repo: https://github.com/segment-integrations/analytics-android-integration-adobe-analytics and clean up iOS code snippet
1 parent a12b525 commit 59307e8

File tree

1 file changed

+16
-7
lines changed
  • src/connections/destinations/catalog/adobe-analytics

1 file changed

+16
-7
lines changed

src/connections/destinations/catalog/adobe-analytics/mobile.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,32 @@ To learn more about Segment's mobile libraries, see the [iOS](/docs/connections/
1212

1313
Before you start sending data from your mobile application to Adobe Analytics, you must first finish the following set up steps:
1414

15-
- First, enable the Segment-Adobe Analytics destination from in your Segment workspace
15+
- First, enable the Segment-Adobe Analytics destination from in your Segment workspace.
1616
- From your Adobe Mobile Services dashboard, check and customize the settings on the "Manage App Settings" tab.
17-
- Download these settings as the `ADBMobileConfig.json` file by clicking the **Config JSON** link at the bottom of the same tab. Follow the instructions in Adobe's documentation, [here for iOS](https://marketing.adobe.com/resources/help/en_US/mobile/ios/dev_qs.html), and [here for Android](https://marketing.adobe.com/resources/help/en_US/mobile/android/dev_qs.html)
17+
- Download these settings as the `ADBMobileConfig.json` file by clicking the **Config JSON** link at the bottom of the same tab. Follow the instructions in Adobe's documentation [here for iOS](https://marketing.adobe.com/resources/help/en_US/mobile/ios/dev_qs.html) and [here for Android](https://marketing.adobe.com/resources/help/en_US/mobile/android/dev_qs.html).
1818
- Finally, follow the instructions below for each mobile environment to bundle Segment's Adobe Analytics SDK in your project.
1919

2020
> success ""
2121
> **Tip**: Mobile implementations use the `ADBMobileConfig.json` file to store the settings that you would otherwise enter in the Adobe Analytics destination settings in the Segment app. You can change these settings from the Manage App Settings tab in your Adobe Mobile Services dashboard, and can download the file from that same tab. This file includes the Report Suite ID, Timestamp Option, Tracking Server Secure URL, Tracking Server URL, and Use Secure URL for Server-side settings.
2222
2323
#### For Android
2424
```java
25-
compile 'com.segment.analytics.android.integrations:adobe-analytics:1.0.0'
25+
compile 'com.segment.analytics.android.integrations:adobeanalytics:+'
2626
```
2727

28-
**Note** If you're working on Android, you'll also need to add these permissions to your `AndroidManifest.xml`:
28+
After adding the dependency, you must register the integration with our SDK. To do this, import the Amplitude integration:
29+
```java
30+
import com.segment.analytics.android.integrations.adobeanalytics.AdobeIntegration;
31+
```
32+
33+
And add the following line:
34+
```java
35+
analytics = new Analytics.Builder(this, "write_key")
36+
.use(AdobeIntegration.FACTORY)
37+
.build();
38+
```
39+
40+
**Note:** If you're working on Android, you'll also need to add these permissions to your `AndroidManifest.xml`:
2941

3042
```xml
3143
<uses-permission android:name="android.permission.INTERNET" />
@@ -37,9 +49,6 @@ You can see the [Android SDK changelog](https://github.com/segment-integrations/
3749
#### For iOS
3850
```objc
3951
pod 'Segment-Adobe-Analytics'
40-
iOS:
41-
```objc
42-
pod 'Segment-Adobe-Analytics', '1.1.0-beta'
4352
```
4453

4554
You can see the [iOS SDK changelog](https://github.com/segment-integrations/analytics-ios-integration-adobe-analytics/blob/master/Changelog.md) in the open-source repository for information about specific versions of the iOS Adobe Analytics SDK.

0 commit comments

Comments
 (0)