Skip to content

Commit

Permalink
Upgraded iOS SDK to 11.0.0 and Android SDK to 9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Miquel-Martinez committed Oct 30, 2023
1 parent 8908df5 commit 01aa56d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions Example/AndroidExample/AndroidExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
<AndroidUseAapt2>true</AndroidUseAapt2>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<AndroidSupportedAbis>armeabi-v7a;arm64-v8a</AndroidSupportedAbis>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand All @@ -36,7 +37,7 @@
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
<AndroidLinkMode>None</AndroidLinkMode>
<EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down Expand Up @@ -109,7 +110,7 @@
<Version>1.4.3</Version>
</PackageReference>
<PackageReference Include="iProov.Android">
<Version>8.3.1</Version>
<Version>9.0.1</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Example/AndroidExample/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ public void OnConnecting()
AndHUD.Shared.Dismiss();
}

public void OnCancelled(IProov.Canceller canceller)
public void OnCanceled(IProov.Canceler canceler)
{
var cancelledBy = canceller.Name();
var canceledBy = canceler.Name();
AndHUD.Shared.Dismiss(this);
}

Expand Down
2 changes: 1 addition & 1 deletion Example/iOSExample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</dict>
</dict>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
Expand Down
6 changes: 3 additions & 3 deletions Example/iOSExample/ViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public override void ViewDidLoad()

var options = new IPOptions();

IProov.LaunchWithStreamingURL(Credentials.BASE_URL, token, options,
IProov.LaunchWithStreamingURL(new NSUrl(Credentials.BASE_URL), token, options,
connecting: () =>
{
BTProgressHUD.Show("Connecting...", maskType: MaskType.Black);
Expand All @@ -54,9 +54,9 @@ public override void ViewDidLoad()
{
BTProgressHUD.ShowSuccessWithStatus("Success!", maskType: MaskType.Black);
},
cancelled: (canceller) =>
canceled: (canceler) =>
{
BTProgressHUD.ShowToast($"Cancelled by {canceller}", maskType: MaskType.Black);
BTProgressHUD.ShowToast($"Canceled by {canceler}", maskType: MaskType.Black);
},
failure: (result) =>
{
Expand Down
Binary file added NuGet Packages/iProov.Android.9.0.1.nupkg
Binary file not shown.
Binary file added NuGet Packages/iProov.iOS.11.0.0.nupkg
Binary file not shown.

0 comments on commit 01aa56d

Please sign in to comment.