Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDK-2316] Updated native SDK and exposed new methods #164

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -395,4 +395,12 @@ FodyWeavers.xsd
*.msp

# JetBrains Rider
*.sln.iml
*.sln.iml
BranchSDK.AndroidBinding/.DS_Store
BranchSDK.iOSBinding/.DS_Store
BranchSDK/.DS_Store
Timber/.DS_Store
Timber/Platforms/.DS_Store
.DS_Store
.vscode/launch.json
Timber/nuget.config
26 changes: 13 additions & 13 deletions Branch-Xamarin-SDK.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<id>Branch-Xamarin-Linking-SDK</id>
<title>Branch Xamarin SDK</title>
<summary>Hosted deep links for your Xamarin-based Android or iOS app by Branch</summary>
<version>9.0.1</version>
<version>10.0.0</version>
<authors>Branch Metrics, Inc.</authors>
<owners>Branch Metrics, Inc.</owners>
<projectUrl>https://github.com/BranchMetrics/xamarin-branch-deep-linking-attribution</projectUrl>
Expand All @@ -13,14 +13,14 @@
<copyright>Copyright 2020 Branch Metrics, Inc.</copyright>
<tags>Xamarin Branch deep linking tracking measurement iOS Android sharing referral invite analytics</tags>
<dependencies>
<group targetFramework="net6.0" >
<group targetFramework="net7.0" >
<dependency id="Newtonsoft.Json" version="13.0.3" />
</group>
<group targetFramework="net6.0-android33" >
<group targetFramework="net7.0-android33" >
<dependency id="Newtonsoft.Json" version="13.0.3" />
<dependency id="Xamarin.Android.Binding.InstallReferrer" version="2.2.0" />
</group>
<group targetFramework="net6.0-ios11.0" >
<group targetFramework="net7.0-ios11.0" >
<dependency id="Newtonsoft.Json" version="13.0.3" />
</group>
</dependencies>
Expand All @@ -32,19 +32,19 @@
<file src="branch_icon.png" target="" />

<!-- Android Binding -->
<file src="BranchSDK.AndroidBinding/bin/Release/net6.0-android/BranchSDK.AndroidBinding.dll" target="lib/net6.0-android33" />
<file src="BranchSDK.AndroidBinding/bin/Release/net6.0-android/BranchSDK.AndroidBinding.xml" target="lib/net6.0-android33" />
<file src="BranchSDK.AndroidBinding/bin/Release/net6.0-android/BranchSDK.AndroidBinding.aar" target="lib/net6.0-android33" />
<file src="BranchSDK.AndroidBinding/bin/Release/net7.0-android/BranchSDK.AndroidBinding.dll" target="lib/net7.0-android33" />
<file src="BranchSDK.AndroidBinding/bin/Release/net7.0-android/BranchSDK.AndroidBinding.xml" target="lib/net7.0-android33" />
<file src="BranchSDK.AndroidBinding/bin/Release/net7.0-android/BranchSDK.AndroidBinding.aar" target="lib/net7.0-android33" />

<!-- iOS Binding -->
<file src="BranchSDK.iOSBinding/bin/Release/net6.0-ios/BranchSDK.iOSBinding.dll" target="lib/net6.0-iOS11.0" />
<file src="BranchSDK.iOSBinding/bin/Release/net6.0-ios/BranchSDK.iOSBinding.resources.zip" target="lib/net6.0-iOS11.0" />
<file src="BranchSDK.iOSBinding/bin/Release/net7.0-ios/BranchSDK.iOSBinding.dll" target="lib/net7.0-iOS11.0" />
<file src="BranchSDK.iOSBinding/bin/Release/net7.0-ios/BranchSDK.iOSBinding.resources.zip" target="lib/net7.0-iOS11.0" />

<!-- Branch SDK -->
<file src="BranchSDK/bin/Release/net6.0-android/BranchSDK.dll" target="lib/net6.0-android33" />
<file src="BranchSDK/bin/Release/net6.0-android/BranchSDK.xml" target="lib/net6.0-android33" />
<file src="BranchSDK/bin/Release/net6.0-ios/BranchSDK.dll" target="lib/net6.0-ios11.0" />
<file src="BranchSDK/bin/Release/net6.0/BranchSDK.dll" target="lib/net6.0" />
<file src="BranchSDK/bin/Release/net7.0-android/BranchSDK.dll" target="lib/net7.0-android33" />
<file src="BranchSDK/bin/Release/net7.0-android/BranchSDK.xml" target="lib/net7.0-android33" />
<file src="BranchSDK/bin/Release/net7.0-ios/BranchSDK.dll" target="lib/net7.0-ios11.0" />
<file src="BranchSDK/bin/Release/net7.0/BranchSDK.dll" target="lib/net7.0" />

</files>
</package>
2 changes: 1 addition & 1 deletion BranchSDK.AndroidBinding/BranchSDK.AndroidBinding.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-android</TargetFramework>
<TargetFramework>net7.0-android</TargetFramework>
<SupportedOSPlatformVersion>24</SupportedOSPlatformVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
Binary file added BranchSDK.AndroidBinding/Jars/Branch-5.12.4.jar
Binary file not shown.
Binary file removed BranchSDK.AndroidBinding/Jars/Branch-5.4.0.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions BranchSDK.AndroidBinding/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@
<attr path="/api/package[@name='io.branch.referral']/class[@name='GAdsPrefetchTask']/method[@name='doInBackground' and count(parameter)=1 and parameter[1][@type='java.lang.Void...']]" name="managedReturn">Java.Lang.Object</attr>
<attr path="/api/package[@name='io.branch.referral']/class[@name='HuaweiOAIDFetchTask']/method[@name='doInBackground' and count(parameter)=1 and parameter[1][@type='java.lang.Void...']]/parameter[1]" name="managedType">Java.Lang.Object[]</attr>
<attr path="/api/package[@name='io.branch.referral']/class[@name='HuaweiOAIDFetchTask']/method[@name='doInBackground' and count(parameter)=1 and parameter[1][@type='java.lang.Void...']]" name="managedReturn">Java.Lang.Object</attr>
<attr path="/api/package[@name='io.branch.referral']/interface[@name='Branch.BranchLinkShareListener']/method[@name='onChannelSelected' and @jni-signature='(Ljava/lang/String;)V']" name="managedName">OnChannelSelected</attr>
<attr path="/api/package[@name='io.branch.referral']/interface[@name='Branch.BranchNativeLinkShareListener']/method[@name='onChannelSelected' and @jni-signature='(Ljava/lang/String;)V']" name="managedName">OnChannelSelectedBranchNativeLinkShareListener</attr>
<attr path="/api/package[@name='io.branch.referral']/interface[@name='Branch.ExtendedBranchLinkShareListener']/method[@name='onChannelSelected' and @jni-signature='(Ljava/lang/String;Lio/branch/indexing/BranchUniversalObject;Lio/branch/referral/util/LinkProperties;)Z']" name="managedName">OnChannelSelectedExtendedBranchLinkShareListener</attr>
<attr path="/api/package[@name='io.branch.referral']/interface[@name='Branch.BranchLinkShareListener']/method[@name='onLinkShareResponse' and @jni-signature='(Ljava/lang/String;Ljava/lang/String;Lio/branch/referral/BranchError;)V']" name="managedName">OnLinkShareResponse</attr>
<attr path="/api/package[@name='io.branch.referral']/interface[@name='Branch.BranchNativeLinkShareListener']/method[@name='onLinkShareResponse' and @jni-signature='(Ljava/lang/String;Lio/branch/referral/BranchError;)V']" name="managedName">OnLinkShareResponseBranchNativeLinkShareListener</attr>
</metadata>
Loading