Skip to content

Commit 2249289

Browse files
authored
Merge pull request #45 from AppsFlyerSDK/releases/6.x.x/6.0.x/6.0.6
6.0.6
2 parents 0ba1e0c + ae8f3fc commit 2249289

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

Assets/AppsFlyer/AppsFlyer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace AppsFlyerSDK
66
public class AppsFlyer : MonoBehaviour
77
{
88

9-
public static readonly string kAppsFlyerPluginVersion = "6.0.3";
9+
public static readonly string kAppsFlyerPluginVersion = "6.0.6";
1010

1111

1212
/// <summary>

Assets/AppsFlyer/Plugins/iOS/AppsFlyer+AppController.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ +(void)swizzleContinueUserActivity:(Class)class {
7474
7575
BOOL __swizzled_continueUserActivity(id self, SEL _cmd, UIApplication* application, NSUserActivity* userActivity, void (^restorationHandler)(NSArray*)) {
7676
NSLog(@"swizzled continueUserActivity");
77-
[[AppsFlyerTracker sharedTracker] continueUserActivity:userActivity restorationHandler:restorationHandler];
77+
[[AppsFlyerLib shared] continueUserActivity:userActivity restorationHandler:restorationHandler];
7878
7979
if(__original_continueUserActivity_Imp){
8080
return ((BOOL(*)(id, SEL, UIApplication*, NSUserActivity*))__original_continueUserActivity_Imp)(self, _cmd, application, userActivity);
@@ -90,7 +90,7 @@ void __swizzled_applicationDidBecomeActive(id self, SEL _cmd, UIApplication* lau
9090
NSLog(@"swizzled applicationDidBecomeActive");
9191
9292
if(didEnteredBackGround){
93-
[[AppsFlyerTracker sharedTracker] trackAppLaunch];
93+
[[[AppsFlyerLib shared] start];
9494
}
9595
9696
if(__original_applicationDidBecomeActive_Imp){
@@ -113,7 +113,7 @@ void __swizzled_applicationDidEnterBackground(id self, SEL _cmd, UIApplication*
113113
BOOL __swizzled_didReceiveRemoteNotification(id self, SEL _cmd, UIApplication* application, NSDictionary* userInfo,void (^UIBackgroundFetchResult)(void) ) {
114114
NSLog(@"swizzled didReceiveRemoteNotification");
115115
116-
[[AppsFlyerTracker sharedTracker] handlePushNotification:userInfo];
116+
[[AppsFlyerLib shared] handlePushNotification:userInfo];
117117
118118
if(__original_didReceiveRemoteNotification_Imp){
119119
return ((BOOL(*)(id, SEL, UIApplication*, NSDictionary*, (UIBackgroundFetchResult)))__original_didReceiveRemoteNotification_Imp)(self, _cmd, application, userInfo, nil);
@@ -125,7 +125,7 @@ BOOL __swizzled_didReceiveRemoteNotification(id self, SEL _cmd, UIApplication* a
125125
/** <remove comment if you are swizzling openURL>
126126
BOOL __swizzled_openURL(id self, SEL _cmd, UIApplication* application, NSURL* url, NSDictionary * options) {
127127
NSLog(@"swizzled openURL");
128-
[[AppsFlyerTracker sharedTracker] handleOpenUrl:url options:options];
128+
[[AppsFlyerLib shared] handleOpenUrl:url options:options];
129129
if(__original_openUrl_Imp){
130130
return ((BOOL(*)(id, SEL, UIApplication*, NSURL*, NSDictionary*))__original_openUrl_Imp)(self, _cmd, application, url, options);
131131
}

Assets/AppsFlyer/Plugins/iOS/AppsFlyerAppController.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ - (void)didEnterBackground:(NSNotification*)notification {
5858
}
5959

6060
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *))restorationHandler {
61-
[super application:application continueUserActivity:userActivity restorationHandler:restorationHandler];
6261
[[AppsFlyerLib shared] continueUserActivity:userActivity restorationHandler:restorationHandler];
6362
return YES;
6463
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Versions
22

3+
## v6.0.6
4+
5+
* RD-48888 - continueUserActivity remove super call
6+
* RD-48915 - AppsFlyer+AppController update to lastest version
7+
38
## v6.0.5
49

510
* iOS SDK Version - 6.0.5
-367 KB
Binary file not shown.
367 KB
Binary file not shown.

deploy/build_unity_package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "Start Build for appsflyer-unity-plugin.unitypackage"
44

55
DEPLOY_PATH=outputs
66
UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
7-
PACKAGE_NAME="appsflyer-unity-plugin-6.0.5.unitypackage"
7+
PACKAGE_NAME="appsflyer-unity-plugin-6.0.6.unitypackage"
88
mkdir -p $DEPLOY_PATH
99

1010

@@ -20,7 +20,7 @@ mkdir -p $DEPLOY_PATH
2020
Assets \
2121
$PWD/$DEPLOY_PATH/$PACKAGE_NAME \
2222
-quit \
23-
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-6.0.5.unitypackage" \
23+
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-6.0.6.unitypackage" \
2424
|| echo "Failed to export package. See create_unity_core.log for more info."
2525

2626

0 commit comments

Comments
 (0)