Skip to content

Commit

Permalink
6.2.30
Browse files Browse the repository at this point in the history
6.2.30
  • Loading branch information
amit-kremer93 authored Feb 21, 2021
2 parents 39a4532 + 3b55e14 commit 64795dc
Show file tree
Hide file tree
Showing 12 changed files with 218 additions and 381 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ You can read more [here](https://support.appsflyer.com/hc/en-us/articles/2070320

### <a id="plugin-build-for"> This plugin is built for

- iOS AppsFlyerSDK **v6.1.3**
- Android AppsFlyerSDK **v6.1.3**
- iOS AppsFlyerSDK **v6.2.1**
- Android AppsFlyerSDK **v6.2.0**

### <a id="breakingChanges"> ❗v6 Breaking Changes

Expand Down
9 changes: 9 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# Release Notes
### 6.2.30
Release date **February 21, 2021**
Release type: Major / **Minor** / Hotfix

**Overview and Highlights:**

- iOS SDK 6.2.1
- Android SDK 6.2.0

### 6.2.20
Release date **February 8, 2021**
Release type: Major / **Minor** / Hotfix
Expand Down
28 changes: 17 additions & 11 deletions docs/Guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,34 +243,40 @@ window.plugins.appsFlyer.handleOpenUrl(url);
Now you will get deep link information in the onAppOpenAttribution callback

#### If you are using Ionic+Capacitor or Ionic+Cordova:<br>
For plugin version **6.2.0** and up you need to add this to `didFinishLaunchingWithOptions`:
```
if (_AppsFlyerdelegate == nil) {
_AppsFlyerdelegate = [[AppsFlyerPlugin alloc] init];
}
[[AppsFlyerLib shared] setDelegate:_AppsFlyerdelegate]; //if you want to use onAppOpenAttribution listener (registerOnAppOpenAttribution())
//OR
[[AppsFlyerLib shared] setDeepLinkDelegate:_AppsFlyerdelegate]; //if you want to use DDL listener (registerDeepLink())
```
And `#import "AppsFlyerPlugin.h"` to `AppDelegate.m`
##### import:<br>
`#import "AppsFlyerPlugin.h"` to `AppDelegate.m`

For plugin version **6.1.30** and less:

For plugin version **6.1.30** and less, add `#import "AppsFlyerLib.h"` to `AppDelegate.m`
`#import "AppsFlyerLib.h"` to `AppDelegate.m`

In both cases, you need to add this code before the `@end` tag:<br>
```
// Deep linking
// Open URI-scheme for iOS 9 and above
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary *) options {
// version >= 6.2.30
[[AppsFlyerAttribution shared] handleOpenUrl:url options:options];
// version < 6.2.30
[[AppsFlyerLib shared] handleOpenUrl:url options:options];
return YES;
}
// Open URI-scheme for iOS 8 and below
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation {
// version >= 6.2.30
[[AppsFlyerAttribution shared] handleOpenURL:url sourceApplication:sourceApplication withAnnotation:annotation];
// version < 6.2.30
[[AppsFlyerLib shared] handleOpenURL:url sourceApplication:sourceApplication withAnnotation:annotation];
return YES;
}
// Open Universal Links
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler {
// version >= 6.2.30
[[AppsFlyerAttribution shared] continueUserActivity:userActivity restorationHandler:restorationHandler];
//version < 6.2.30
[[AppsFlyerLib shared] continueUserActivity:userActivity restorationHandler:restorationHandler];
return YES;
}
Expand Down
295 changes: 0 additions & 295 deletions docs/RELEASENOTES.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-appsflyer-sdk",
"version": "6.2.20",
"version": "6.2.30",
"description": "Cordova AppsFlyer SDK Plugin",
"cordova": {
"id": "cordova-plugin-appsflyer-sdk",
Expand Down
Loading

0 comments on commit 64795dc

Please sign in to comment.