Skip to content

Commit

Permalink
Reword deep linking section in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wellle committed Apr 16, 2014
1 parent 23c46aa commit 87a30bc
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,17 @@ The delegate function will get called every time any activity was tracked or
failed to track. Within the delegate function you have access to the
`responseData` parameter. Here is a quick summary of its attributes:

- `AIActivityKind activityKind` indicates what kind of activity
was tracked. It has one of these values:
- `AIActivityKind activityKind` indicates what kind of activity was tracked. It
has one of these values:

```
AIActivityKindSession
AIActivityKindEvent
AIActivityKindRevenue
```
- `NSString activityKindString` human readable version of the activity kind. Possible values:
- `NSString activityKindString` human readable version of the activity kind.
Possible values:
```
session
Expand Down Expand Up @@ -298,26 +299,31 @@ in the `didFinishLaunching` method of your Application Delegate:

### 10. Disable tracking

You can disable the adjust SDK from tracking by invoking the method `setEnabled`
with the enabled parameter as `NO`. This setting is remembered between sessions, but it can only
be activated after the first session.
You can disable the adjust SDK from tracking by invoking the method
`setEnabled` with the enabled parameter as `NO`. This setting is remembered
between sessions, but it can only be activated after the first session.

```objc
[Adjust setEnabled:NO];
```
You can verify if the adjust SDK is currently active with the method `isEnabled`. It is always possible
to activate the adjust SDK by invoking `setEnabled` with the enabled parameter as `YES`.
You can verify if the adjust SDK is currently active with the method
`isEnabled`. It is always possible to activate the adjust SDK by invoking
`setEnabled` with the enabled parameter as `YES`.
### 11. Handle deep linking
You can also set up the adjust sdk to read deep links that come to your app, also known as custom URL schemes in iOS. We will read only the data that is injected by adjust when you use deep links with adjust tracker URLs. This is a core feature if you are planning to run retargeting or re-engagement campaigns with deep links.
You can also set up the adjust SDK to read deep links that come to your app,
also known as custom URL schemes in iOS. We will only read the data that is
injected by adjust tracker URLs. This is essential if you are planning to run
retargeting or re-engagement campaigns with deep links.
In the Project Navigator open the source file your Application Delegate. Find or add the method `openURL` and add the following call to adjust:
In the Project Navigator open the source file your Application Delegate. Find
or add the method `openURL` and add the following call to adjust:
```objc
- (BOOL) application:(UIApplication *)application openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
- (BOOL) application:(UIApplication *)application openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
[Adjust appWillOpenUrl:url];
}
Expand All @@ -338,7 +344,7 @@ In the Project Navigator open the source file your Application Delegate. Find or

## License

The adjust-sdk is licensed under the MIT License.
The adjust-SDK is licensed under the MIT License.

Copyright (c) 2012-2013 adeven GmbH,
http://www.adeven.com
Expand Down

0 comments on commit 87a30bc

Please sign in to comment.