Skip to content

Commit

Permalink
Upgraded Android SDK to 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanellis committed Feb 25, 2022
1 parent 3016710 commit 2e7a7df
Show file tree
Hide file tree
Showing 4 changed files with 245 additions and 229 deletions.
2 changes: 1 addition & 1 deletion Example/AndroidExample/AndroidExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.0.0.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
<PackageReference Include="iProov.Android">
<Version>7.1.0</Version>
<Version>7.2.0</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version>
Expand Down
6 changes: 5 additions & 1 deletion Example/AndroidExample/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ protected override void OnCreate(Bundle savedInstanceState)
AssuranceType.GenuinePresence, // Choose between GenuinePresence or Liveness
ClaimType.Enrol, // Choose between Enrol or Verify
userId); // Pass the User ID
IProov.Launch(this, Credentials.BASE_URL, token, new IProov.Options());

var options = new IProov.Options();
options.Ui.FloatingPromptEnabled = true;

IProov.Launch(this, Credentials.BASE_URL, token, options);
};
}

Expand Down
Loading

0 comments on commit 2e7a7df

Please sign in to comment.