Skip to content

Commit

Permalink
Merge pull request #17 from adjust/v4111
Browse files Browse the repository at this point in the history
Version 4.11.1
  • Loading branch information
uerceg authored Apr 27, 2017
2 parents c68fa59 + e84086c commit 86cbff8
Show file tree
Hide file tree
Showing 25 changed files with 1,008 additions and 723 deletions.
8 changes: 8 additions & 0 deletions Adjust/ADJAdjust2dx.mm
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,20 @@
}

std::string ADJAdjust2dx::getIdfa() {
if (nil == [Adjust idfa]) {
return "";
}

std::string idfa = std::string([[Adjust idfa] UTF8String]);

return idfa;
}

std::string ADJAdjust2dx::getAdid() {
if (nil == [Adjust adid]) {
return "";
}

std::string adid = std::string([[Adjust adid] UTF8String]);

return adid;
Expand Down
2 changes: 1 addition & 1 deletion Adjust/AdjustConfig2dx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static int fileReadCallback(const char* fileName, int* size) {
#endif

void AdjustConfig2dx::initConfig(std::string appToken, std::string environment, bool allowSuppressLogLevel) {
std::string sdkPrefix = "cocos2d-x4.11.0";
std::string sdkPrefix = "cocos2d-x4.11.1";

#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
cocos2d::JniMethodInfo miInit;
Expand Down
Binary file modified Android/adjust-android.jar
Binary file not shown.
166 changes: 97 additions & 69 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,88 @@
### Version 4.11.1 (27th April 2017)
#### Added
- **[iOS]** Added nullability annotations to public headers for Swift 3.0 compatibility.
- **[iOS]** Added `BITCODE_GENERATION_MODE` to iOS framework for `Carthage` support.
- **[iOS]** Added support for iOS 10.3.
- **[iOS][AND]** Added sending of the app's install time.
- **[iOS][AND]** Added sending of the app's update time.

#### Fixed
- **[iOS]** Fixed not processing of `sdk_info` package type causing logs not to print proper package name once tracked.
- **[AND]** Fixed query string parsing.
- **[AND]** Fixed issue of creating and destroying lots of threads on certain Android API levels (https://github.com/adjust/android_sdk/issues/265).
- **[AND]** Protected `Package Manager` from throwing unexpected exceptions (https://github.com/adjust/android_sdk/issues/266).

#### Changed
- **[iOS]** If `adid` and `idfa` values are not available, return empty string.
- **[AND]** Refactored native networking code.
- **[iOS]** Updated native iOS SDK to version **4.11.3**.
- **[AND]** Updated native Android SDK to version **4.11.3**.
- **[REPO]** Introduced `[iOS]`, `[AND]`, `[WIN]` and `[REPO]` tags to `CHANGELOG` to highlight the platform the change is referring to.

#### Native SDKs
- **[iOS]** [iOS SDK 4.11.3][ios_sdk_v4.11.3]
- **[AND]** [Android SDK 4.11.3][android_sdk_v4.11.3]
- **[WIN]** [[email protected]][windows_sdk_v4.0.3]

---

### Version 4.11.0 (6th February 2017)
**Note: All changes in this release are for iOS and Android platform only.**
#### Added
- Added `adid` property to the attribution callback response.
- Added `getAdid()` method of the `Adjust2dx` instance to be able to get adid value at any time after obtaining it, not only when session/event callbacks have been triggered.
- Added `getAttribution()` method of the `Adjust2dx` instance to be able to get current attribution value at any time after obtaining it, not only when an attribution callback has been triggered.
- Added method swizzling for iOS platform so that only implemented callbacks in Cocos2d-x are getting implemented and called in iOS.
- Added sending of **Amazon Fire Advertising Identifier** for Android platform.
- Added possibility to set default tracker for the app by adding `adjust_config.properties` file to the `assets` folder of your Android app. Mostly meant to be used by the `Adjust Store & Pre-install Tracker Tool` (https://github.com/adjust/android_sdk/blob/master/doc/english/pre_install_tracker_tool.md).
- **[iOS][AND]** Added `adid` property to the attribution callback response.
- **[iOS][AND]** Added `getAdid()` method of the `Adjust2dx` instance to be able to get adid value at any time after obtaining it, not only when session/event callbacks have been triggered.
- **[iOS][AND]** Added `getAttribution()` method of the `Adjust2dx` instance to be able to get current attribution value at any time after obtaining it, not only when an attribution callback has been triggered.
- **[iOS]** Added method swizzling for iOS platform so that only implemented callbacks in Cocos2d-x are getting implemented and called in iOS.
- **[AND]** Added sending of **Amazon Fire Advertising Identifier** for Android platform.
- **[AND]** Added possibility to set default tracker for the app by adding `adjust_config.properties` file to the `assets` folder of your Android app. Mostly meant to be used by the `Adjust Store & Pre-install Tracker Tool` (https://github.com/adjust/android_sdk/blob/master/doc/english/pre_install_tracker_tool.md).

#### Fixed
- Now reading push token value from activity state file when sending package.
- Fixed memory leak by closing network session for iOS platform.
- Fixed `TARGET_OS_TV` pre-processor check for iOS platform.
- **[iOS][AND]** Now reading push token value from activity state file when sending package.
- **[iOS]** Fixed memory leak by closing network session for iOS platform.
- **[iOS]** Fixed `TARGET_OS_TV` pre-processor check for iOS platform.

#### Changed
- Firing attribution request as soon as install has been tracked, regardless of presence of attribution callback implementation in user's app.
- Saving iAd/AdSearch details to prevent sending duplicated `sdk_click` packages for iOS platform.
- Changed Makefiles with bash scripts.
- Updated docs.
- Updated native iOS SDK to version **4.11.0**.
- Updated native Android SDK to version **4.11.0**.
- Native SDKs stability updates and improvements.
- **[iOS][AND]** Firing attribution request as soon as install has been tracked, regardless of presence of attribution callback implementation in user's app.
- **[iOS]** Saving iAd/AdSearch details to prevent sending duplicated `sdk_click` packages for iOS platform.
- **[iOS]** Updated native iOS SDK to version **4.11.0**.
- **[AND]** Updated native Android SDK to version **4.11.0**.
- **[REPO]** Updated docs.
- **[REPO]** Changed Makefiles with bash scripts.

#### Native SDKs
- [iOS SDK 4.11.0][ios_sdk_v4.11.0]
- [Android SDK 4.11.0][android_sdk_v4.11.0]
- [[email protected]][windows_sdk_v4.0.3]
- **[iOS]** [iOS SDK 4.11.0][ios_sdk_v4.11.0]
- **[AND]** [Android SDK 4.11.0][android_sdk_v4.11.0]
- **[WIN]** [[email protected]][windows_sdk_v4.0.3]

---

### Version 4.10.0 (7th November 2016)
**Note: All changes in this release are for iOS and Android platform only.**
#### Added
- Added support for iOS 10.
- Added revenue deduplication for Android platform.
- Added an option for enabling/disabling tracking while app is in background.
- Added a callback to be triggered if event is successfully tracked.
- Added a callback callback to be triggered if event tracking failed.
- Added a callback to be triggered if session is successfully tracked.
- Added a callback to be triggered if session tracking failed.
- Added possibility to set session callback and partner parameters with `addSessionCallbackParameter` and `addSessionPartnerParameter` methods.
- Added possibility to remove session callback and partner parameters by key with `removeSessionCallbackParameter` and `removeSessionPartnerParameter` methods.
- Added possibility to remove all session callback and partner parameters with `resetSessionCallbackParameters and `resetSessionPartnerParameters` methods.
- Added new Suppress log level.
- Added possibility to delay initialisation of the SDK while maybe waiting to obtain some session callback or partner parameters with delayed start feature on adjust config instance.
- Added callback method to get deferred deep link content into the app.
- Added possibility to decide whether the SDK should launch the deferred deep link or not.
- Added possibility to set user agent manually on adjust config instance.
- **[iOS]** Added support for iOS 10.
- **[AND]** Added revenue deduplication for Android platform.
- **[iOS][AND]** Added an option for enabling/disabling tracking while app is in background.
- **[iOS][AND]** Added a callback to be triggered if event is successfully tracked.
- **[iOS][AND]** Added a callback callback to be triggered if event tracking failed.
- **[iOS][AND]** Added a callback to be triggered if session is successfully tracked.
- **[iOS][AND]** Added a callback to be triggered if session tracking failed.
- **[iOS][AND]** Added possibility to set session callback and partner parameters with `addSessionCallbackParameter` and `addSessionPartnerParameter` methods.
- **[iOS][AND]** Added possibility to remove session callback and partner parameters by key with `removeSessionCallbackParameter` and `removeSessionPartnerParameter` methods.
- **[iOS][AND]** Added possibility to remove all session callback and partner parameters with `resetSessionCallbackParameters` and `resetSessionPartnerParameters` methods.
- **[iOS][AND]** Added new Suppress log level.
- **[iOS][AND]** Added possibility to delay initialisation of the SDK while maybe waiting to obtain some session callback or partner parameters with delayed start feature on adjust config instance.
- **[iOS][AND]** Added callback method to get deferred deep link content into the app.
- **[iOS][AND]** Added possibility to decide whether the SDK should launch the deferred deep link or not.
- **[iOS][AND]** Added possibility to set user agent manually on adjust config instance.

#### Fixed
- Fixed `setEventBufferingEnabled` JNI signature.
- **[AND]** Fixed `setEventBufferingEnabled` JNI signature.

#### Changed
- Deferred deep link info will now arrive as part of the attribution response and not as part of the answer to first session.
- Updated docs.
- Native SDKs stability updates and improvements.
- Updated native iOS SDK to version 4.10.2.
- Updated native Android SDK to version 4.10.2.
- **[iOS][AND]** Deferred deep link info will now arrive as part of the attribution response and not as part of the answer to first session.
- **[iOS]** Updated native iOS SDK to version 4.10.2.
- **[AND]** Updated native Android SDK to version 4.10.2.
- **[REPO]** Updated docs.

#### Native SDKs
- [[email protected]][ios_sdk_v4.10.2]
Expand All @@ -67,75 +93,77 @@

### Version 4.2.0 (12th February 2016)
#### Added
- Added support for Windows platform.
- Added `CHANGELOG.md`.
- Added instructions for Android Studio in Android README.
- Added `getIdfa` method for getting `IDFA` on iOS device.
- Added `getGoogleAdId` method for getting `Google Play Services Ad Id` on Android device.
- Added `getWindowsAdId` method for getting `Windows Advertisement Id` on Windows device.
- **[WIN]** Added support for Windows platform.
- **[iOS]** Added `getIdfa` method for getting `IDFA` on iOS device.
- **[AND]** Added `getGoogleAdId` method for getting `Google Play Services Ad Id` on Android device.
- **[WIN]** Added `getWindowsAdId` method for getting `Windows Advertisement Id` on Windows device.
- **[REPO]** Added `CHANGELOG.md`.
- **[REPO]** Added instructions for `Android Studio` in `Android README`.

#### Changed
- Renamed `Adjust.framework` to `AdjustSdk.framework`.
- Removed `MAC MD5` tracking feature for `iOS platform` completely.
- Updated documentation.
- Updated Native iOS SDK to version **4.5.4**.
- Updated Native Android SDK to version **4.2.3**.
- **[iOS]** Renamed `Adjust.framework` to `AdjustSdk.framework`.
- **[iOS]** Removed `MAC MD5` tracking feature for `iOS platform` completely.
- **[iOS]** Updated native iOS SDK to version **4.5.4**.
- **[AND]** Updated native Android SDK to version **4.2.3**.
- **[REPO]** Updated docs.

#### Native SDKs
- [[email protected]][ios_sdk_v4.5.4]
- [[email protected]][android_sdk_v4.2.3]
- [[email protected]][windows_sdk_v4.0.3]
- **[iOS]** [[email protected]][ios_sdk_v4.5.4]
- **[AND]** [[email protected]][android_sdk_v4.2.3]
- **[WIN]** [[email protected]][windows_sdk_v4.0.3]

---

### Version 4.1.0 (17th September 2015)
#### Added
- Added additional methods to C++ interface.
- **[AND]** Added additional methods to C++ interface.

#### Changed
- Moved calls from Java code to C++.
- Updated Native iOS SDK to version **4.3.0**.
- Updated Native Android SDK to version **4.1.2**.
- **[AND]** Moved calls from Java code to C++.
- **[iOS]** Updated native iOS SDK to version **4.3.0**.
- **[AND]** Updated native Android SDK to version **4.1.2**.

#### Native SDKs
- [[email protected]][ios_sdk_v4.3.0]
- [[email protected]][android_sdk_v4.1.2]
- **[iOS]** [[email protected]][ios_sdk_v4.3.0]
- **[AND]** [[email protected]][android_sdk_v4.1.2]

---

### Version 4.0.1 (17th July 2015)
#### Changed
- Updated Native iOS SDK to version **4.2.7**.
- Updated Native Android SDK to version **4.1.0**.
- Updated documentation
- **[iOS]** Updated native iOS SDK to version **4.2.7**.
- **[AND]** Updated native Android SDK to version **4.1.0**.
- **[REPO]** Updated docs.

#### Native SDKs
- [[email protected]][ios_sdk_v4.2.7]
- [[email protected]][android_sdk_v4.1.0]
- **[iOS]** [[email protected]][ios_sdk_v4.2.7]
- **[AND]** [[email protected]][android_sdk_v4.1.0]

---

### Version 4.0.0 (25th June 2015)
#### Added
- Initial release of the adjust SDK for Cocos2d-x.
- Supported platforms: `iOS` and `Android`.
- **[iOS][AND]** Initial release of the adjust SDK for Cocos2d-x. Supported platforms: `iOS` and `Android`.

#### Native SDKs
- [[email protected]][ios_sdk_v4.2.6]
- [[email protected]][android_sdk_v4.0.8]
- **[iOS]** [[email protected]][ios_sdk_v4.2.6]
- **[AND]** [[email protected]][android_sdk_v4.0.8]

[ios_sdk_v4.2.6]: https://github.com/adjust/ios_sdk/tree/v4.2.6
[ios_sdk_v4.2.7]: https://github.com/adjust/ios_sdk/tree/v4.2.7
[ios_sdk_v4.3.0]: https://github.com/adjust/ios_sdk/tree/v4.3.0
[ios_sdk_v4.5.4]: https://github.com/adjust/ios_sdk/tree/v4.5.4
[ios_sdk_v4.10.2]: https://github.com/adjust/ios_sdk/tree/v4.10.2
[ios_sdk_v4.11.0]: https://github.com/adjust/ios_sdk/tree/v4.11.0
[ios_sdk_v4.11.3]: https://github.com/adjust/ios_sdk/tree/v4.11.3

[android_sdk_v4.0.8]: https://github.com/adjust/android_sdk/tree/v4.0.8
[android_sdk_v4.1.0]: https://github.com/adjust/android_sdk/tree/v4.1.0
[android_sdk_v4.1.2]: https://github.com/adjust/android_sdk/tree/v4.1.2
[android_sdk_v4.2.3]: https://github.com/adjust/android_sdk/tree/v4.2.3
[android_sdk_v4.10.2]: https://github.com/adjust/android_sdk/tree/v4.10.2
[android_sdk_v4.11.0]: https://github.com/adjust/android_sdk/tree/v4.11.0
[android_sdk_v4.11.1]: https://github.com/adjust/android_sdk/tree/v4.11.1
[android_sdk_v4.11.3]: https://github.com/adjust/android_sdk/tree/v4.11.3

[windows_sdk_v4.0.3]: https://github.com/adjust/windows_sdk/tree/v4.0.3
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.11.0
4.11.1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public WRTAdjustConfig(string appToken, string environment)
{
this.appToken = appToken;
this.environment = environment;
this.sdkPrefix = "cocos2d-x4.11.0";
this.sdkPrefix = "cocos2d-x4.11.1";

this.logLevel = LogLevel.Info;

Expand Down
2 changes: 1 addition & 1 deletion Windows/AdjustWP81WinRT/AdjustWP81WinRT/WRTAdjustConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public WRTAdjustConfig(string appToken, string environment)
{
this.appToken = appToken;
this.environment = environment;
this.sdkPrefix = "cocos2d-x4.11.0";
this.sdkPrefix = "cocos2d-x4.11.1";

this.logLevel = LogLevel.Info;

Expand Down
2 changes: 1 addition & 1 deletion Windows/AdjustWS81WinRT/AdjustWS81WinRT/WRTAdjustConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public WRTAdjustConfig(string appToken, string environment)
{
this.appToken = appToken;
this.environment = environment;
this.sdkPrefix = "cocos2d-x4.11.0";
this.sdkPrefix = "cocos2d-x4.11.1";

this.logLevel = LogLevel.Info;

Expand Down
Loading

0 comments on commit 86cbff8

Please sign in to comment.