Skip to content

Commit

Permalink
Merge pull request #22 from AppsFlyerSDK/releases/v6.4.0.1(RD-69467)
Browse files Browse the repository at this point in the history
Update SDK 6.4.0
  • Loading branch information
sokoloff06 authored Sep 30, 2021
2 parents 4ba2741 + 9a129b9 commit 917ea33
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<PackageId>AppsFlyerXamarinBindingAndroid</PackageId>
<PackageVersion>6.3.2.2</PackageVersion>
<PackageVersion>6.4.0.1</PackageVersion>
<Authors>AppsFlyer</Authors>
<Description>Xamaring binding for AppsFlyer Android SDK</Description>
<PackageLicenseUrl>https://www.appsflyer.com/terms-of-use/</PackageLicenseUrl>
<Owners>AppsFlyer</Owners>
<PackageProjectUrl>https://github.com/AppsFlyerSDK/XamarinAndroidBinding</PackageProjectUrl>
<PackageReleaseNotes>Android SDK 6.3.2</PackageReleaseNotes>
<PackageReleaseNotes>Android SDK 6.4.0</PackageReleaseNotes>
<Title>AppsFlyerXamarinBindingAndroid</Title>
<PackOnBuild>true</PackOnBuild>
</PropertyGroup>
Expand Down
Binary file modified AppsFlyerXamarinBindingAndroid/Jars/AF-Android-SDK.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions AppsFlyerXamarinBindingAndroid/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("6.3.2.2")]
[assembly: AssemblyFileVersion("6.3.2.2")]
[assembly: AssemblyVersion("6.4.0.1")]
[assembly: AssemblyFileVersion("6.4.0.1")]
20 changes: 10 additions & 10 deletions AppsFlyerXamarinBindingAndroid/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
This sample removes the method: android.support.v4.content.CursorLoader.loadInBackground:
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='CursorLoader']/method[@name='loadInBackground']" />
-->
<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='ae']"
name="obfuscated">false</attr>

<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='ak']"
name="obfuscated">false</attr>
<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='ak']/method[@name='AFKeystoreWrapper']"
name="visibility">public</attr>
<attr path="/api/package[@name='com.appsflyer']/class[@name='AFKeystoreWrapper']/field[@name='AFKeystoreWrapper']" name="managedName">AFKeystoreWrapperManaged</attr>

<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='ak']/method[@name='AFInAppEventType']"
name="visibility">public</attr>
<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='am']" name="obfuscated">false</attr>

<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='ak']/method[@name='AFInAppEventParameterName']"
name="visibility">public</attr>
<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='am']/method[@name='AFKeystoreWrapper' and count(parameter)=1 and parameter[1][@type='javax.net.ssl.HttpsURLConnection']]" name="visibility">public</attr>

<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='am']/method[@name='valueOf' and count(parameter)=0]" name="visibility">public</attr>

<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='am']/method[@name='values' and count(parameter)=0]" name="visibility">public</attr>

<attr path="/api/package[@name='com.appsflyer.internal']/class[@name='am']/method[@name='values' and count(parameter)=1 and parameter[1][@type='java.lang.String']]" name="visibility">public</attr>

</metadata>
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [6.4.0.1] - 2021-09-30

### Added

- [setSharingFilterForPartners](https://dev.appsflyer.com/hc/docs/android-sdk-reference-appsflyerlib#setsharingfilterforpartners)

### Changed

- Updated SDK to v6.4.0

### Deprecated

- [setSharingFilterForAllPartners](https://dev.appsflyer.com/hc/docs/android-sdk-reference-appsflyerlib#setsharingfilterforallpartners)
- [sharingFilter](https://dev.appsflyer.com/hc/docs/android-sdk-reference-appsflyerlib#sharingfilter)

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@


Xamarin Binding integration guide For Android
AppsFlyer Xamarin Binding version `v6.3.2.0`
Built with AppsFlyer Android SDK `v6.3.2`
AppsFlyer Xamarin Binding version `v6.4.0.1`
Built with AppsFlyer Android SDK `v6.4.0`

## <a id="v6-breaking-changes"> ❗ v6 Breaking Changes

Expand Down Expand Up @@ -79,7 +79,7 @@ https://www.nuget.org/packages/AppsFlyerXamarinBindingAndroid/

1. Go to Project > Add NuGet Packages...
2. Select the `AppsFlyerXamarinBindingAndroid`
3. Select under version - `6.3.2`
3. Select under version - `6.4.0.1`
4. Click `Add Package`


Expand Down
21 changes: 17 additions & 4 deletions XamarinSample/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using Android.App;
using Android.OS;
Expand All @@ -21,6 +21,19 @@ namespace XamarinSample
Android.Content.Intent.CategoryBrowsable
},
DataScheme = "sdktest")]
[IntentFilter(new[] { Android.Content.Intent.ActionView },
Categories = new[]
{
Android.Content.Intent.CategoryDefault,
Android.Content.Intent.CategoryBrowsable
},
DataScheme = "https",
DataHosts = new[]
{
"sdk-test.onelink.me",
"click.af-sup.com"
}
)]
public class MainActivity : AppCompatActivity
{
public AppCompatTextView gcdTextView;
Expand All @@ -44,7 +57,8 @@ protected override void OnCreate(Bundle savedInstanceState)
ConversionListener cl = new ConversionListener(this);
DeepLinkListener dl = new DeepLinkListener(this);
AppsFlyerLib.Instance.AddPushNotificationDeepLinkPath(new string[] { "key1", "key2" });
AppsFlyerLib.Instance.SetLogLevel(AFLogger.LogLevel.Verbose); // Enable verbose logs for debugging
AppsFlyerLib.Instance.SetDebugLog(true);
//AppsFlyerLib.Instance.SetLogLevel(AFLogger.LogLevel.Verbose); // Enable verbose logs for debugging
AppsFlyerLib.Instance.Init("4UGrDF4vFvPLbHq5bXtCza", cl, Application);
AppsFlyerLib.Instance.SetAppInviteOneLink("E2bM"); // Replace with OneLink ID from your AppsFlyer account
AppsFlyerLib.Instance.SetSharingFilter(new string[]{"test", "partner_int"});
Expand Down Expand Up @@ -128,5 +142,4 @@ public void OnResponseError(string p0)
Console.WriteLine(message);
}
}
}

}
2 changes: 1 addition & 1 deletion XamarinSample/XamarinSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<Version>122.0.0</Version>
</PackageReference>
<PackageReference Include="AppsFlyerXamarinBindingAndroid">
<Version>6.3.2.2</Version>
<Version>6.4.0.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Legacy.Support.Core.UI">
<Version>1.0.0.8</Version>
Expand Down

0 comments on commit 917ea33

Please sign in to comment.