Giter Club home page Giter Club logo

ios_sdk's Introduction

ios_sdk's People

Contributors

aamcg avatar aditi3 avatar alzbeta-knerova avatar danielsatriano avatar elmacnifico avatar esamcgv avatar genadyb avatar hellosagar avatar inso- avatar mcoombs avatar mstfy avatar nadinehattom avatar neildaniels avatar nicolas-brugneaux-sociomantic avatar nonelse avatar pauladjust avatar prefect42 avatar rabc avatar readmecritic avatar rosner avatar sbehnke avatar scelis avatar sighmoan avatar sporiff avatar sspitzer avatar tomokogoto1 avatar uerceg avatar valf1st avatar wellle avatar yaramatkova avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios_sdk's Issues

Bitcode support

Hi guys

Adjust SDK does not support Bitcode yet?!!

pod 'Adjust', '4.4.1'

When are you going to support it?

CocoaPods trunk

Could you please provide the 4.4.0 to CocoaPods trunk repository.

Actually also there are warnings in the new release, stringByAddingPercentEncodingWithAllowedCharacters is deprecated.

Crash on iOS 5.0.0

The SDK crashes inside AIUtil excludeFromBackup on iOS 5.0.0.

The issue is described here: http://stackoverflow.com/questions/9620651/use-nsurlisexcludedfrombackupkey-without-crashing-on-ios-5-0

It can be fixed by using this code instead:

+ (void)excludeFromBackup:(NSString *)path {
    NSURL *url = [NSURL fileURLWithPath:path];
    NSError *error = nil;
    BOOL success = NO;
    if (&NSURLIsExcludedFromBackupKey == nil) {
        const char* attrName = "com.apple.MobileBackup";
        u_int8_t attrValue = 1;
        int result = setxattr([path UTF8String], attrName, &attrValue, sizeof(attrValue), 0, 0);
        success = result == 0;
    }
    else {
        success = [url setResourceValue:[NSNumber numberWithBool:YES]
                                 forKey:NSURLIsExcludedFromBackupKey
                                  error:&error];
    }

    if (!success) {
        [AILogger debug:@"Failed to exclude '%@' from backup (%@)", url.lastPathComponent, error.localizedDescription];
    }
}

Build error

/.../Libs/Adjust/AIActivityHandler.h:34:39: Expected a type

In file included from /.../Libs/Adjust/AIAdditions/UIDevice+AIAdditions.m:9:
In file included from /.../Libs/Adjust/AIAdditions/UIDevice+AIAdditions.h:10:
/.../Libs/Adjust/AIActivityHandler.h:34:39: error: expected a type
- (void)finishedTrackingWithResponse:(AIResponseData *)response deepLink:(NSString *)deepLink;

Adding #import "AIResponseData.h" in the file fixed the issue.

4.2.9 breaks iOS 7 compatibility

Just FYI, we did a pod update today and found that 4.2.x is no longer compatible due to:

In ADJUtil.m
dateFormat.calendar = [NSCalendar calendarWithIdentifier:NSGregorianCalendar];

We've manually locked our build back to v4.2.4 but we previously had "~> 4.2.4" in our podfile and we were allowing it to float so this was an unexpected breaking change.

Criteo not found

I've installed the last version of adjust using cocoapods. I've to use Criteo in my project, but i don't find any plugin in the pod folder. Any idea? The adjust podspec seems right.

Exception break point on lookupAdConversionDetails

Hi, since lookupAdConversionDetails is iOS 8+ only. Row 184 in UIDevice+ADJAdditions.m will cause an exception, but since you have a @Try{}@catch{} it won't crash the app. However if you have a "All Exceptions"-breakpoint the breakpoint will stop here, you can click continue, but it's a bit annoying. Can you add a check if respondsToSelector or check if the app version is iOS 8+?

Thank you!

project is named vaguely, causing collisions

'iOS_sdk' is a non-optimal choice for a product. Many applications include other SDKs, many of which will (by definition) be for iOS as well. Including the product's actual name will prevent collisions and hassles.

Thanks!

About bitCode I used Adjust version 4.5.1static framework

Is it supported BitCode?
I archive build my app with the adjust framwork.
error:AdjustSdk.framework/AdjustSdk(ADJTimerCycle.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64

Files in Documents folder backup to iCloud

Hi,

I am wondering if people have experience some problem with AppStore submission for the following reason:

2.23: Apps must follow the iOS Data Storage Guidelines or they will be rejected

I can see that AdjustIO store two files:

  • AdjustIoActivityState
  • AdjustIoPackageQueue

Anyway to be sure, I created a path, cf pull request.

Generating currency codes

Is it ok if we pass currency to

[event setRevenue:[product price] currency:[product currencyCode]];

by using

-(NSString *)currencyCode{
    static NSNumberFormatter *numberFormatter = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        numberFormatter = [[NSNumberFormatter alloc] init];
        [numberFormatter setFormatterBehavior:NSNumberFormatterBehavior10_4];
        [numberFormatter setNumberStyle:NSNumberFormatterCurrencyStyle];
        [numberFormatter setLocale:self.priceLocale];
        [numberFormatter setMaximumFractionDigits:2];
    });
    return numberFormatter.currencyCode;
}

for all currencies.

Xamarin Binding

I was just wondering why this wasn't created as a static library. That why it can easily be compiled and reused.

I need to create Xamarin bindings for this SDK and I need it as a library to do that.

Do you perhaps know of any Xamarin bindings or even compiled libraries for this SDK?

4.2.0 Compile warnings

Having deployment target iOS 7.0+;

...Adjust/Adjust/ADJUtil.m:50:10: warning: comparison of address of 'NSURLIsExcludedFromBackupKey' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if (&NSURLIsExcludedFromBackupKey == nil) { // iOS 5.0.1 and lower

...Adjust/Adjust/ADJPackageBuilder.m:222:15: warning: comparison of constant 0 with expression of type 'BOOL' (aka 'bool') is always false [-Wtautological-constant-out-of-range-compare]
    if (value < 0) return;
        ~~~~~ ^ ~

Adjust SDK is still logging despite logLevel = ADJLogLevelAssert

I'm setting up Adjust thus:

let adjustConfig = ADJConfig(appToken: "myToken", environment: ADJEnvironmentSandbox)
adjustConfig.logLevel = ADJLogLevelAssert
Adjust.appDidLaunch(adjustConfig)

And this gets logged to the console:

2015-11-02 12:13:49.434 MyApp[3652:425909]  [Adjust]a: SANDBOX: Adjust is running in Sandbox mode. Use this setting for testing. Don't forget to set the environment to `production` before publishing

Thank you very much, but I do not expect there to be log messages given that setting.

Carthage

Any plan to support Carthage?

Currently we have this error, if we try to build your projet with Carthage :

"Failed to discover shared schemes in project Adjust.xcodeproj—either the project does not have any shared schemes, or xcodebuild never returned"

I Have crash -[UIDevice adjTrackingEnabled]:

I manual setup AdjustSDK, today.
When i build app, i have crash:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDevice adjTrackingEnabled]: unrecognized selector sent to instance 0x15da66b0'

Before the crash on the console is written:
[Adjust]a: SANDBOX: Adjust is running in Sandbox mode. Use this setting for testing. Don't forget to set the environment to production before publishing

CFURLCreateStringByAddingPercentEscapes is deprecated – warning suppressed

Due the fact that CFURLCreateStringByAddingPercentEscapes is deprecated since iOS 9.0 the method [NSString stringByAddingPercentEncodingWithAllowedCharacters:] should be used instead.

Also we are not sure whether it's a good idea to suppress the warning via:

pragma clang diagnostic ignored "-Wdeprecated-declarations"

Podspec framework AdSupport should be weak

s.framework = 'AdSupport', 'SystemConfiguration'

should be

s.framework = 'SystemConfiguration'
s.weak_framework = 'AdSupport'

Because AdSupport is not available on older iOS versions.

What's the reason for adjIdForAdvertisers implementation?

I'm currently evaluating the adjust SDK and I stumbled upon the implementation of adjIdForAdvertisers which looks unnecessary complicated and a bit shady - like what malware would do to disguise what it's actual doing. I can see that it's not doing anything spooky, still could you please shed some light on the reasons why it has been chosen to implement it that way?

Thanks!

4.5.3 release has Carthage error "Invalid architecture UUIDs"

when running Carthage update:

*** Downloading ios_sdk.framework binary at "Add bitcode flag"
Invalid architecture UUIDs: Could not parse UUIDs using dwarfdump from /private/var/folders/td/fqyg559527l6bzsz31_q1mkh0000gn/T/carthage-archive.DkT3w5/__MACOSX/AdjustSdkDynamic/AdjustSdk.framework.dSYM

Specifying an older release will work however i.e.
github "adjust/ios_sdk" == 4.5.2

NSGregorianCalendar is deprecated in iOS 8.0

Building Adjust currently generates the following compiler warning in Xcode:

Adjust/ADJUtil.m:31:66: warning: 'NSGregorianCalendar' is deprecated: first deprecated in iOS 8.0 - Use NSCalendarIdentifierGregorian instead [-Wdeprecated-declarations]
        dateFormat.calendar = [NSCalendar calendarWithIdentifier:NSGregorianCalendar];

Delegate Callbacks in SDK

We are missing the ability to receive callbacks client-side on

  • session
  • install and
  • reattribution events

in the SDK version 4.x.

We need these to be able to sync adjust.io with other tracking tools client-side.

We need the same information as the one which was available in SDK version 3.x, i.e.:

- AIActivityKind activityKind indicates what kind of activity was tracked. It has one of these values:
     (AIActivityKindSession, AIActivityKindEvent, AIActivityKindRevenue, AIActivityKindReattribution)
- NSString trackerToken the tracker token of the current install.
- NSString trackerName the tracker name of the current install.
- NSString network the network grouping level of the current install.
- NSString campaign the campaign grouping level of the current install.
- NSString adgroup the ad group grouping level of the current install.
- NSString creative the creative grouping level of the current install.

Question: about timeframe before seeing events in dashboard

Hi,

I've just implemented all my events and everything seems fine excpet I don't see any information about the events on the dashboard.

How much time does it take to see an event statistics in the dashboard?
Are the events displayed in sandbox environment or you have to be in production mode?

Thanks for your help,

François

ht_handle_signal with [AIPackageBuilder parameters:setDate:forKey:]

Hello,

we're unable to reproduce this error but we have many crash reports coming from the AIPackageBuilder parameters setDate. Here's the stack trace we have here:

myApp :0:in `0x000f1625 ht_handle_signal + 108'
libsystem_c.dylib:1:in `0x3accfe93 _sigtramp + 42'
libicucore.A.dylib:2:in `0x3a3daf3f _ZN3icu17DateFormatSymbols7disposeEv + 34'
libicucore.A.dylib:3:in `0x3a3daf3f _ZN3icu17DateFormatSymbols7disposeEv + 34'
libicucore.A.dylib:4:in `0x3a465087 _ZN3icu17DateFormatSymbolsD2Ev + 30'
libicucore.A.dylib:5:in `0x3a3daf13 _ZN3icu17DateFormatSymbolsD0Ev + 10'
libicucore.A.dylib:6:in `0x3a49cbb1 _ZN3icu16SimpleDateFormatD2Ev + 32'
libicucore.A.dylib:7:in `0x3a3daeff _ZN3icu16SimpleDateFormatD0Ev + 10'
CoreFoundation:8:in `0x32aef0d5 <redacted> + 16'
CoreFoundation:9:in `0x32a6a3d1 CFRelease + 292'
Foundation:10:in `0x333b8df7 <redacted> + 26'
Foundation:11:in `0x333b8f93 <redacted> + 30'
Foundation:12:in `0x333b8efb <redacted> + 94'
myApp :13:in `0x00150e5f -[AIPackageBuilder parameters:setDate:forKey:] + 138'
myApp :14:in `0x00150809 -[AIPackageBuilder defaultParameters] + 104'
myApp :15:in `0x0015041f -[AIPackageBuilder buildSessionPackage] + 26'
myApp :16:in `0x0014dfef -[AIActivityHandler transferSessionPackage] + 142'
myApp :17:in `0x0014d01d -[AIActivityHandler startInternal] + 932'
libdispatch.dylib:18:in `0x3ac6911f <redacted> + 10'
libdispatch.dylib:19:in `0x3ac6cecf <redacted> + 142'
libdispatch.dylib:20:in `0x3ac6cdc1 <redacted> + 40'
libdispatch.dylib:21:in `0x3ac6d91d <redacted> + 184'
libdispatch.dylib:22:in `0x3ac6dac1 <redacted> + 84'
libsystem_c.dylib:23:in `0x3ac9da11 <redacted> + 360'
libsystem_c.dylib:24:in `0x3ac9d8a4 start_wqthread + 8'

Non prefixed Category methods in NSMutableDictionary+AIAdditions

I just wanted to make another pull request in which I renamed the methods with the ai prefix as in the other categories but then I realized the methods in NSMutableDictionary+AIAdditions aren't used at all (anymore?).

Do you think you will need them in the future or can you maybe just remove the category?

Use CFBundleShortVersionString instead of CFBundleVersion

Currently Adjust is using CFBundleVersion when it sends info to the server. This is the build number and not the applications version number (CFBundleShortVersionString). A single version might have the build number incremented many times while the version number stays the same while it is being tested on Test Flight. Currently this field when looking at adjust (in our case using the web hooks) is very confusing as it is possible to have many builds with the same number, but once the app is released it can never have the same version number.

Adjust exposes internal files in the documents directory

We see these 3 files getting written to the documents directory:

  • AdjustIoActivityState
  • AdjustIoAttribution
  • AdjustIoPackageQueue

When file sharing is enabled for the app, these files can be modified/deleted from inside iTunes.

Apple's recommendation is to store these files in the Library/Application Support directory. See https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html.

Build Failure - Duplicate Symbols

I went through the steps from this site to integrate the iOS SDK in to my project. My iOS target is 7.0 so I downloaded the static framework zip file. After adding the basic setup code to my project I tried to run it but it failed to compile.

I'm getting a bunch of duplicate symbol errors (see attached file).
adjust_error.txt

I have contacted support at Adjust.com, and, after exchanging a couple emails, was told to come here to post the issue.

I have already gone through the build phases (several times) and have not found anything amiss here. I even removed the Adjust frame work and all references to it and added it again just to make sure I followed the instructions properly with the same results.

Looking at the error messages, it appears the duplicates are in the Adjust.o library file.

If you need any more info, please let me know.

Thanks.

Deferred deeplinking

hi, we are getting reports that some times, the deferred deeplinking after an install does not work. but sometimes it does.
from our logs, when it does not work, looks like the app did not recieve the deeplink
we are currently on 4.2.7, which is compiled against iOS9

can you explain what exactly happens during a deferred deeplink so that we can debug this further?

Crash with Adjust

image
Please check the ScreenShot. No more detailed information about it.

Building adjust into a static library

Hello,
Currently I need to build the whole adjust source code into a static library, and link against it in another project.
Building and linking is all fine, but in the run time, my app was halted and I got this error message:

2014-05-27 16:50:11.244 YMCSDK_Tester_IOS[29776:1403] -[UIDevice aiMacAddress]: unrecognized selector sent to instance 0xb170480
2014-05-27 16:50:11.244 YMCSDK_Tester_IOS[29776:90b] [Adjust]a: SANDBOX: Adjust is running in Sandbox mode. Use this setting for testing. Don't forget to set the environment to AIEnvironmentProduction before publishing!
2014-05-27 16:50:11.247 YMCSDK_Tester_IOS[29776:1403] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDevice aiMacAddress]: unrecognized selector sent to instance 0xb170480'
*** First throw call stack:
(
0 CoreFoundation 0x019ea1e4 exceptionPreprocess + 180
1 libobjc.A.dylib 0x017698e5 objc_exception_throw + 44
2 CoreFoundation 0x01a87243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x019da50b __forwarding
+ 1019
4 CoreFoundation 0x019da0ee _CF_forwarding_prep_0 + 14
5 YMCSDK_Tester_IOS 0x0004f181 -[AIActivityHandler initInternal:] + 209
6 YMCSDK_Tester_IOS 0x0004df6b __38-[AIActivityHandler initWithAppToken:]_block_invoke + 43
7 libdispatch.dylib 0x025cf7b8 _dispatch_call_block_and_release + 15
8 libdispatch.dylib 0x025e44d0 _dispatch_client_callout + 14
9 libdispatch.dylib 0x025d2047 _dispatch_queue_drain + 452
10 libdispatch.dylib 0x025d1e42 _dispatch_queue_invoke + 128
11 libdispatch.dylib 0x025d2de2 _dispatch_root_queue_drain + 78
12 libdispatch.dylib 0x025d3127 _dispatch_worker_thread2 + 39
13 libsystem_c.dylib 0x0289fe72 _pthread_wqthread + 441
14 libsystem_c.dylib 0x02887daa start_wqthread + 30
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Could you help me with this error?

Thanks,

Linker Error

Using adjust with swift code results in an error.

Undefined symbols for architecture x86_64:
  "_ADJEnvironmentSandbox", referenced from: ... 

Removing the static keyword from the constants in Adjust.h fixes this issue but results in duplicate symbol errors.

Pod won't install.

CocoaPods 0.39.0 is available. To update use:gem install cocoapods`
Until we reach version 1.0 the features of CocoaPods can and will change.
We strongly recommend that you use the latest version at all times.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Analyzing dependencies
Pre-downloading: Adjust from git://github.com/adjust/ios_sdk.git, tag v4.4.1
[!] Unable to find a specification for 'Adjust'.

[!] Unable to load a podspec from Adjust.podspec, skipping:

Pod::DSLError`

Events not tracked in Sandbox/Production

I am following the readme instructions and fire some events to track my app. I don't see any error in the verbose mode, however, I don't see the events being tracked in the dashboard. Below are all the logs related to adjust. Is there anything I miss to do? I am using v4.5.4. Thanks.

// after calling ADJConfig *adjustConfig = [ADJConfig configWithAppToken:appToken
// environment:environment];
[Adjust]a: SANDBOX: Adjust is running in Sandbox mode. Use this setting for testing. Don't forget to set the environment to production before publishing

// after calling [Adjust appDidLaunch:adjustConfig];
[Adjust]d: Read Attribution: tt:56oq87 tn:Organic net:Organic cam:(null) adg:(null) cre:(null) cl:(null)
2016-02-21 09:46:27.698 MyOwnApp[67967:1145432] [Adjust]d: Read Activity state: ec:13 sc:7 ssc:3 ask:0 sl:351.4 ts:79.5 la:1456076306.3
2016-02-21 09:46:27.699 MyOwnApp[67967:1145450] [Adjust]d: Package handler read 0 packages
2016-02-21 09:46:27.703 MyOwnApp[67967:1145432] [Adjust]d: iAd with 2 tries to read v3
2016-02-21 09:46:27.703 MyOwnApp[67967:1145432] [Adjust]d: ADJUST_NO_IAD or TARGET_OS_TV not set
2016-02-21 09:46:27.705 MyOwnApp[67967:1145432] [Adjust]d: Wrote Activity state: ec:13 sc:7 ssc:4 ask:0 sl:832.8 ts:79.5 la:1456076787.7
2016-02-21 09:46:27.705 MyOwnApp[67967:1145432] [Adjust]i: Started subsession 4 of session 7
2016-02-21 09:46:27.705 MyOwnApp[67967:1145444] [Adjust]d: Session timer fired

// after calling [Adjust trackEvent:adjustEvent];
2016-02-21 09:48:23.720 MyOwnApp[67967:1146589] [Adjust]d: Added package 1 (event'ul71yl')
2016-02-21 09:48:23.722 MyOwnApp[67967:1145450] [Adjust]d: Wrote Activity state: ec:14 sc:7 ssc:4 ask:0 sl:946.3 ts:193.0 la:1456076901.3
2016-02-21 09:48:23.722 MyOwnApp[67967:1146589] [Adjust]v: Path: /event
2016-02-21 09:48:23.722 MyOwnApp[67967:1146589] [Adjust]v: ClientSdk: ios4.5.4
2016-02-21 09:48:23.722 MyOwnApp[67967:1146589] [Adjust]v: Parameters:
2016-02-21 09:48:23.722 MyOwnApp[67967:1146589] [Adjust]v: app_token
2016-02-21 09:48:23.722 MyOwnApp[67967:1146589] [Adjust]v: app_version 1
2016-02-21 09:48:23.723 MyOwnApp[67967:1146589] [Adjust]v: app_version_short 1.0
2016-02-21 09:48:23.733 MyOwnApp[67967:1146589] [Adjust]v: bundle_id
2016-02-21 09:48:23.733 MyOwnApp[67967:1146589] [Adjust]v: country US
2016-02-21 09:48:23.733 MyOwnApp[67967:1146589] [Adjust]v: created_at 2016-02-21T09:48:21.285Z-0800
2016-02-21 09:48:23.733 MyOwnApp[67967:1146589] [Adjust]v: device_name x86_64
2016-02-21 09:48:23.733 MyOwnApp[67967:1146589] [Adjust]v: device_type iPhone
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: environment sandbox
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: event_count 14
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: event_token ul71yl
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: idfa
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: idfv
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: ios_uuid
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: language en
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: needs_attribution_data 0
2016-02-21 09:48:23.734 MyOwnApp[67967:1146589] [Adjust]v: os_name ios
2016-02-21 09:48:23.735 MyOwnApp[67967:1146589] [Adjust]v: os_version 9.2
2016-02-21 09:48:23.735 MyOwnApp[67967:1146589] [Adjust]v: session_count 7
2016-02-21 09:48:23.735 MyOwnApp[67967:1146589] [Adjust]v: session_length 946
2016-02-21 09:48:23.735 MyOwnApp[67967:1146589] [Adjust]v: subsession_count 4
2016-02-21 09:48:23.735 MyOwnApp[67967:1146589] [Adjust]v: time_spent 193
2016-02-21 09:48:23.735 MyOwnApp[67967:1146589] [Adjust]v: tracking_enabled 1
2016-02-21 09:48:23.736 MyOwnApp[67967:1146589] [Adjust]d: Package handler wrote 1 packages
2016-02-21 09:48:25.755 MyOwnApp[67967:1145450] [Adjust]v: Response: {"attribution":{"tracker_token":"56oq87","tracker_name":"Organic","network":"Organic"},"app_token”:”“,”adid":"","timestamp":"2016-02-21T17:48:17.511Z+0000","message":"Event tracked 'ul71yl'"}
2016-02-21 09:48:25.756 MyOwnApp[67967:1145450] [Adjust]i: Event tracked 'ul71yl'
2016-02-21 09:48:25.757 MyOwnApp[67967:1146589] [Adjust]d: Package handler wrote 0 packages
2016-02-21 09:48:25.758 MyOwnApp[67967:1146354] [Adjust]d: Wrote Activity state: ec:14 sc:7 ssc:4 ask:0 sl:946.3 ts:193.0 la:1456076901.3
2016-02-21 09:48:28.668 MyOwnApp[67967:1146354] [Adjust]d: Session timer fired
2016-02-21 09:48:28.670 MyOwnApp[67967:1146354] [Adjust]d: Wrote Activity state: ec:14 sc:7 ssc:4 ask:0 sl:953.7 ts:200.4 la:1456076908.7

Parsing Universal Links form Adjust

Hi guys,
I implemented Universal Links for Adjust (Added the hash subdomain).
Everything works fine, although I'm confused.

The URL that I received on -application: continueUserActivity:restorationHandler: has the Adjust format: [hash].uilink.adjust.com/uilink/path.
Do I have to parse manually and extract the desired values? or I should've received something else?

Event sending retry policy

Hi guys!
We are having issues with events quantity in Adjust not matching with that on Mixpanel. Adjust dashboard always shows about 10-20% more events than Mixpanel. This is definitely not connected with the timezone.
I assume the answer may possibly lie in the event sending retry policy on bad internet connection or something else connected with offline caching. Can you please check this out, it is very important for us to know that?

AdjustDelegate is retain

The code line 91 in ADJConfig.h
@Property (nonatomic, retain) NSObject *delegate;

Although Normally Adjust will be implemented in AppDelegate which will never be released, it's still not a good code practice to use retain with delegate property.

XCTest/XCTest.h file not found

Hi guys

We are using latest Swift 1.2 with latest xCode 6.3.1.
In our bridging header file:

// Adjust
#import <XCTest/XCTest.h>
#import "Adjust.h"

Our Podfile:

  pod 'Adjust', :git => 'git://github.com/adjust/ios_sdk.git', :tag => 'v4.2.3'

Any bug?

Unable to read iAd details

After installing adjust vía cocoapods and following the instructions written here I'm getting this:

[Adjust]v: Attribution file not found
[Adjust]d: Read Activity state: ec:0 sc:1 ssc:10 ask:1 sl:2675.9 ts:1324.6 la:1451317334.4
[Adjust]d: Package handler read 0 packages
[Adjust]d: iAd with 2 tries to read v3
[Adjust]d: ADJUST_NO_IAD or TARGET_OS_TV not set
[Adjust]d: Wrote Activity state: ec:0 sc:1 ssc:11 ask:1 sl:2732.9 ts:1324.6 la:1451317391.4
[Adjust]i: Started subsession 11 of session 1
[Adjust]d: Session timer fired

The setting up is Ok I passed from installing the pod to step 4 and I have no idea what to do if you be so kind to help me with this I will be happy. Have a nice day. Just for kicks I add the response of my terminal with the pod version.

Have a nice day

$pod --version
0.39.0

And my pod file looks like this:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
inhibit_all_warnings!
use_frameworks!
.
.
.
pod 'Adjust', :git => 'git://github.com/adjust/ios_sdk.git', :tag => 'v4.5.0'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.