Skip to content

Commit

Permalink
Merge pull request #14 from apptentive/plugin-nuget
Browse files Browse the repository at this point in the history
Plugin nuget
  • Loading branch information
LuqKhan authored May 30, 2024
2 parents cfbc429 + 7cffd96 commit d2700e3
Show file tree
Hide file tree
Showing 16 changed files with 121 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveCore</id>
<title>ApptentiveCore for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -17,5 +17,7 @@
</metadata>
<files>
<file src="../ApptentiveCore/bin/Release/net8.0-android/ApptentiveCore.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveCore/bin/Release/net8.0-android/ApptentiveCore.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveCore/bin/Release/net8.0-android/apptentive-core-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveCoreUI</id>
<title>ApptentiveCoreUI for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -12,10 +12,14 @@
<license type="expression">BSD-3-Clause</license>
<iconUrl>https://raw.githubusercontent.com/apptentive/apptentive-maui/main/icon.png</iconUrl>
<dependencies>
<group targetFramework="net8.0-android34.0"></group>
<group targetFramework="net8.0-android34.0">
<dependency id="Xamarin.AndroidX.AppCompat" version="1.6.1.7"/>
</group>
</dependencies>
</metadata>
<files>
<file src="../ApptentiveCoreUI/bin/Release/net8.0-android/ApptentiveCoreUI.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveCoreUI/bin/Release/net8.0-android/ApptentiveCoreUI.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveCoreUI/bin/Release/net8.0-android/apptentive-core-ui-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveEnjoymentDialog</id>
<title>ApptentiveEnjoymentDialog for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -12,10 +12,14 @@
<license type="expression">BSD-3-Clause</license>
<iconUrl>https://raw.githubusercontent.com/apptentive/apptentive-maui/main/icon.png</iconUrl>
<dependencies>
<group targetFramework="net8.0-android34.0"></group>
<group targetFramework="net8.0-android34.0">
<dependency id="Xamarin.AndroidX.AppCompat" version="1.6.1.7"/>
</group>
</dependencies>
</metadata>
<files>
<file src="../ApptentiveEnjoymentDialog/bin/Release/net8.0-android/ApptentiveEnjoymentDialog.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveEnjoymentDialog/bin/Release/net8.0-android/ApptentiveEnjoymentDialog.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveEnjoymentDialog/bin/Release/net8.0-android/apptentive-enjoyment-dialog-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>6.7.1</Version>
</PropertyGroup>
<ItemGroup>
<None Remove="Additions\" />
Expand All @@ -24,41 +25,21 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Xamarin.AndroidX.Fragment" Version="1.6.2.2" />
<PackageReference Include="Xamarin.Google.Android.Play.Review" Version="2.0.1.7" />
<PackageReference Include ="Xamarin.Google.Android.Play.Review.Ktx" Version="2.0.1.7"/>
<PackageReference Include="Xamarin.Google.Android.Play.Review.Ktx" Version="2.0.1.7"/>
<PackageReference Include="ApptentiveMessageCenter" Version="6.7.1"/>
<PackageReference Include="ApptentiveRatings" Version="6.7.1"/>
<PackageReference Include="ApptentiveNotes" Version="6.7.1"/>
<PackageReference Include="ApptentiveSurvey" Version="6.7.1"/>
<PackageReference Include="ApptentiveEnjoymentDialog" Version="6.7.1"/>
<PackageReference Include="ApptentiveNavigateToLink" Version="6.7.1"/>
<PackageReference Include="ApptentiveInAppReview" Version="6.7.1"/>
<PackageReference Include="ApptentiveCoreUI" Version="6.7.1"/>
<PackageReference Include="ApptentiveCore" Version="6.7.1"/>
</ItemGroup>
<ItemGroup>
<AndroidLibrary Update="apptentive-feedback-6.7.0.aar">
<Bind>true</Bind>
<Pack>true</Pack>
</AndroidLibrary>
</ItemGroup>
<ItemGroup>
<Reference Include="ApptentiveCore">
<HintPath>..\..\ApptentiveCore\ApptentiveCore\bin\Release\net8.0-android\ApptentiveCore.dll</HintPath>
</Reference>
<Reference Include="ApptentiveCoreUI">
<HintPath>..\..\ApptentiveCoreUI\ApptentiveCoreUI\bin\Release\net8.0-android\ApptentiveCoreUI.dll</HintPath>
</Reference>
<Reference Include="ApptentiveEnjoymentDialog">
<HintPath>..\..\ApptentiveEnjoymentDialog\ApptentiveEnjoymentDialog\bin\Release\net8.0-android\ApptentiveEnjoymentDialog.dll</HintPath>
</Reference>
<Reference Include="ApptentiveInAppReview">
<HintPath>..\..\ApptentiveInAppReview\ApptentiveInAppReview\bin\Release\net8.0-android\ApptentiveInAppReview.dll</HintPath>
</Reference>
<Reference Include="ApptentiveMessageCenter">
<HintPath>..\..\ApptentiveMessageCenter\ApptentiveMessageCenter\bin\Release\net8.0-android\ApptentiveMessageCenter.dll</HintPath>
</Reference>
<Reference Include="ApptentiveNavigateToLink">
<HintPath>..\..\ApptentiveNavigateToLink\ApptentiveNavigateToLink\bin\Release\net8.0-android\ApptentiveNavigateToLink.dll</HintPath>
</Reference>
<Reference Include="ApptentiveNotes">
<HintPath>..\..\ApptentiveNotes\ApptentiveNotes\bin\Release\net8.0-android\ApptentiveNotes.dll</HintPath>
</Reference>
<Reference Include="ApptentiveRatings">
<HintPath>..\..\ApptentiveRatings\ApptentiveRatings\bin\Release\net8.0-android\ApptentiveRatings.dll</HintPath>
</Reference>
<Reference Include="ApptentiveSurvey">
<HintPath>..\..\ApptentiveSurvey\ApptentiveSurvey\bin\Release\net8.0-android\ApptentiveSurvey.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveFeedback</id>
<title>ApptentiveFeedback for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -26,19 +26,21 @@
<dependency id="Xamarin.AndroidX.Fragment" version="1.6.2.2" />
<dependency id="Xamarin.Google.Android.Play.Review" version="2.0.1.7" />
<dependency id ="Xamarin.Google.Android.Play.Review.Ktx" version="2.0.1.7"/>
<dependency id="ApptentiveCore" version="6.7.0" />
<dependency id="ApptentiveCoreUI" version="6.7.0" />
<dependency id="ApptentiveInAppReview" version="6.7.0" />
<dependency id="ApptentiveNavigateToLink" version="6.7.0" />
<dependency id="ApptentiveEnjoymentDialog" version="6.7.0" />
<dependency id="ApptentiveSurvey" version="6.7.0" />
<dependency id="ApptentiveNotes" version="6.7.0" />
<dependency id="ApptentiveRatings" version="6.7.0" />
<dependency id="ApptentiveMessageCenter" version="6.7.0" />
<dependency id="ApptentiveCore" version="6.7.1" />
<dependency id="ApptentiveCoreUI" version="6.7.1" />
<dependency id="ApptentiveInAppReview" version="6.7.1" />
<dependency id="ApptentiveNavigateToLink" version="6.7.1" />
<dependency id="ApptentiveEnjoymentDialog" version="6.7.1" />
<dependency id="ApptentiveSurvey" version="6.7.1" />
<dependency id="ApptentiveNotes" version="6.7.1" />
<dependency id="ApptentiveRatings" version="6.7.1" />
<dependency id="ApptentiveMessageCenter" version="6.7.1" />
</group>
</dependencies>
</metadata>
<files>
<file src="../ApptentiveFeedback/bin/Release/net8.0-android/apptentive-feedback-6.7.0.aar" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveFeedback/bin/Release/net8.0-android/ApptentiveFeedback.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveFeedback/bin/Release/net8.0-android/ApptentiveFeedback.dll" target="lib/net8.0-android34.0/"/>
</files>
</package>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveInAppReview</id>
<title>ApptentiveInAppReview for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -12,10 +12,14 @@
<license type="expression">BSD-3-Clause</license>
<iconUrl>https://raw.githubusercontent.com/apptentive/apptentive-maui/main/icon.png</iconUrl>
<dependencies>
<group targetFramework="net8.0-android34.0"></group>
<group targetFramework="net8.0-android34.0">
<dependency id="Xamarin.AndroidX.ConstraintLayout" version="2.1.4.10"/>
</group>
</dependencies>
</metadata>
<files>
<file src="../ApptentiveInAppReview/bin/Release/net8.0-android/ApptentiveInAppReview.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveInAppReview/bin/Release/net8.0-android/ApptentiveInAppReview.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveInAppReview/bin/Release/net8.0-android/apptentive-in-app-review-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveMessageCenter</id>
<title>ApptentiveMessageCenter for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -12,10 +12,14 @@
<license type="expression">BSD-3-Clause</license>
<iconUrl>https://raw.githubusercontent.com/apptentive/apptentive-maui/main/icon.png</iconUrl>
<dependencies>
<group targetFramework="net8.0-android34.0"></group>
<group targetFramework="net8.0-android34.0">
<dependency id="Xamarin.AndroidX.AppCompat" version="1.6.1.7"/>
</group>
</dependencies>
</metadata>
<files>
<file src="../ApptentiveMessageCenter/bin/Release/net8.0-android/ApptentiveMessageCenter.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveMessageCenter/bin/Release/net8.0-android/ApptentiveMessageCenter.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveMessageCenter/bin/Release/net8.0-android/apptentive-message-center-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveNavigateToLink</id>
<title>ApptentiveNavigateToLink for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -17,5 +17,7 @@
</metadata>
<files>
<file src="../ApptentiveNavigateToLink/bin/Release/net8.0-android/ApptentiveNavigateToLink.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveNavigateToLink/bin/Release/net8.0-android/ApptentiveNavigateToLink.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveNavigateToLink/bin/Release/net8.0-android/apptentive-navigate-to-link-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveNotes</id>
<title>ApptentiveNotes for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -19,5 +19,7 @@
</metadata>
<files>
<file src="../ApptentiveNotes/bin/Release/net8.0-android/ApptentiveNotes.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveNotes/bin/Release/net8.0-android/ApptentiveNotes.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveNotes/bin/Release/net8.0-android/apptentive-notes-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveRatings</id>
<title>ApptentiveRatings for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -19,5 +19,7 @@
</metadata>
<files>
<file src="../ApptentiveRatings/bin/Release/net8.0-android/ApptentiveRatings.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveRatings/bin/Release/net8.0-android/ApptentiveRatings.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveRatings/bin/Release/net8.0-android/apptentive-ratings-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<metadata>
<id>ApptentiveSurvey</id>
<title>ApptentiveSurvey for Maui Android</title>
<version>6.7.0</version>
<version>6.7.1</version>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -19,5 +19,7 @@
</metadata>
<files>
<file src="../ApptentiveSurvey/bin/Release/net8.0-android/ApptentiveSurvey.dll" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveSurvey/bin/Release/net8.0-android/ApptentiveSurvey.xml" target="lib/net8.0-android34.0/"/>
<file src="../ApptentiveSurvey/bin/Release/net8.0-android/apptentive-survey-6.7.0.aar" target="lib/net8.0-android34.0/"/>
</files>
</package>
7 changes: 6 additions & 1 deletion ApptentiveKit.iOS/ApptentiveKit.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
<NativeReference Include="Externals\ApptentiveKit.xcframework">
<Kind>Framework</Kind>
<SmartLink>False</SmartLink>
<ForceLoad>True</ForceLoad>
</NativeReference>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0-ios' ">
<None Include="ApptentiveKit.iOS.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
8 changes: 5 additions & 3 deletions ApptentiveKit.iOS/ApptentiveKit.iOS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>Apptentive.iOS</id>
<version>6.7.0</version>
<version>6.7.2</version>
<title>ApptentiveKit iOS wrapper for Maui plugin</title>
<authors>Apptentive</authors>
<owners>Apptentive</owners>
Expand All @@ -13,11 +13,13 @@
<license type="expression">BSD-3-Clause</license>
<icon>images\icon.png</icon>
<dependencies>
<group targetFramework="net8.0-ios17.0"></group>
<group targetFramework="net8.0-ios17.2"></group>
</dependencies>
</metadata>
<files>
<file src="bin/Release/net8.0-ios/ApptentiveKit.iOS.dll" target="lib/net8.0-ios17.0/"/>
<file src="bin/Release/net8.0-ios/ApptentiveKit.iOS.dll" target="lib/net8.0-ios17.2/"/>
<file src="bin/Release/net8.0-ios/ApptentiveKit.iOS.resources/**" target="content/Apptentive.iOS.resources" />
<file src="..\icon.png" target="images\" />
<file src="ApptentiveKit.iOS.targets" target="build/Apptentive.iOS.targets" />
</files>
</package>
14 changes: 14 additions & 0 deletions ApptentiveKit.iOS/ApptentiveKit.iOS.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="BeforeCompile">
<ItemGroup>
<BindingResources Include="$(MSBuildThisFileDirectory)../content/Apptentive.iOS.resources/**/*.*" />
</ItemGroup>
<Copy SourceFiles="@(BindingResources)" DestinationFolder="$(TargetDir)/Apptentive.iOS.resources/%(RecursiveDir)" ContinueOnError="false" />
<ItemGroup>
<NativeReference Include="$(TargetDir)/Apptentive.iOS.resources/ApptentiveKit.xcframework">
<Kind>Framework</Kind>
<SmartLink>False</SmartLink>
</NativeReference>
</ItemGroup>
</Target>
</Project>
10 changes: 3 additions & 7 deletions Plugin.Maui.Apptentive/Plugin.Maui.Apptentive.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>Library</OutputType>

<Authors>Alchemer Digital Team</Authors>
<Version>6.7.0</Version>
<Version>6.7.2</Version>
<Copyright>Copyright © 2024 Alchemer LLC and contributors</Copyright>
<IsPackable>True</IsPackable>
<RepositoryUrl>https://github.com/apptentive/apptentive-maui</RepositoryUrl>
Expand All @@ -35,10 +35,6 @@
<None Include="**\*.ios.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
<Compile Remove="**\ios\**\*.cs" />
<None Include="**\ios\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
<Compile Remove="**\*.macios.cs" />
<None Include="**\*.macios.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
<Compile Remove="**\macios\**\*.cs" />
<None Include="**\macios\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
</ItemGroup>
<!-- Android -->
<ItemGroup Condition="$(TargetFramework.StartsWith('net')) == true AND $(TargetFramework.Contains('-android')) != true">
Expand All @@ -49,13 +45,13 @@
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0-ios' ">
<PackageReference Include="Apptentive.iOS" Version="6.7.0" />
<PackageReference Include="Apptentive.iOS" Version="6.7.2" />
<!-- For development:
<ProjectReference Include="..\ApptentiveKit.iOS\ApptentiveKit.iOS.csproj" /> -->
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
<PackageReference Include="ApptentiveFeedback" Version="6.7.0" />
<PackageReference Include="ApptentiveFeedback" Version="6.7.1" />
<!-- For development:
<ProjectReference Include="..\ApptentiveKit.Android\ApptentiveCore\ApptentiveCore\ApptentiveCore.csproj" />
<ProjectReference Include="..\ApptentiveKit.Android\ApptentiveCoreUI\ApptentiveCoreUI\ApptentiveCoreUI.csproj" />
Expand Down
Loading

0 comments on commit d2700e3

Please sign in to comment.