You might try creating a simple kotlin wrapper for the the tap and pay library and create bindings to this library.
Problems with binding Google's TapAndPay SDK on .NET MAUI
Has anyone had any luck integrating Google's TapAndPay SDK with .NET MAUI? I'm looking to support in-app card provisioning from my MAUI app to Google Pay
Following the standard project setup does not map the methods correctly. I've tried mapping the methods needed via Transforms/Metadata.xml with no luck.
The library provided by Google appears to be obfuscated so disassembling to inspect the internals is difficult.
I'm developing on a Mac -- pasted my env below
Architecture: Arm64
Microsoft.macOS.Sdk 13.1.1007; git-rev-head:8afca776a0a96613dfb7200e0917bb57f9ed5583; git-branch:release/7.0.1xx-xcode14.2
Roslyn (Language Service)
4.6.0-3.23180.6+99e956e42697a6dd886d1e12478ea2b27cceacfa
NuGet
Version: 6.4.0.117
.NET SDK (Arm64)
SDK: /usr/local/share/dotnet/sdk/8.0.204/Sdks
SDK Versions:
8.0.204
8.0.100
7.0.315
7.0.314
7.0.313
6.0.421
6.0.420
6.0.419
MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks
.NET Runtime (Arm64)
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
9.0.0-preview.6.24327.7
8.0.4
8.0.0
7.0.18
7.0.17
7.0.16
6.0.29
6.0.28
6.0.27
Xamarin.Profiler
Version: 1.8.0.49
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Version: 11
Xamarin.Android
Version: 13.2.2.0 (Visual Studio Community)
Commit: xamarin-android/d17-5/45b0e14
Android SDK: /Users/jaysidri/Documents/Dev/toolchains/android-sdk
Supported Android versions:
12.1 (API level 32)
10.0 (API level 29)
13.0 (API level 33)
SDK Command-line Tools Version: 7.0
SDK Platform Tools Version: 35.0.1
SDK Build Tools Version: 34.0.0
Build Information:
Mono: d9a6e87
Java.Interop: xamarin/java.interop/d17-5@149d70fe
SQLite: xamarin/sqlite/3.40.1@68c69d8
Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@ca1552d
Microsoft Build of OpenJDK
Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk
11.0.16.1
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Android SDK Manager
Version: 17.6.0.50
Hash: a715dca
Branch: HEAD
Build date: 2024-04-05 09:48:29 UTC
Android Device Manager
Version: 0.0.0.1309
Hash: 06e3e77
Branch: HEAD
Build date: 2024-04-05 09:48:29 UTC
Xamarin Designer
Version: 17.6.3.9
Hash: 2648399ae8
Branch: remotes/origin/d17-6
Build date: 2024-04-05 09:48:23 UTC
Apple Developer Tools
Xcode: 15.2 22503
Build: 15C500b
Xamarin.Mac
Not Installed
Xamarin.iOS
Version: 16.4.0.23 Visual Studio Community
Hash: 9defd91b3
Branch: xcode14.3
Build date: 2023-10-23 16:15:00-0400
Build Information
Release ID: 1706110400
Git revision: 5d3d895c30788d39f3fb9931002e2961d22b60fd
Build date: 2024-04-05 09:46:37+00
Build branch: release-17.6
Build lane: release-17.6
Operating System
Mac OS X 14.4.1
Darwin 23.4.0 Darwin Kernel Version 23.4.0
Fri Mar 15 00:12:49 PDT 2024
root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64
Developer technologies | .NET | .NET MAUI
1 answer
Sort by: Most helpful
-
Bruce (SqlWork.com) 82,061 Reputation points Volunteer Moderator
2025-01-20T17:32:23.36+00:00