Skip to content

HelloooJoe/MauiSquare.NativeLibraryInterop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

MauiSquare.NativeLibraryInterop

A .NET MAUI project demonstrating native library interoperability with the Square Mobile Payments SDK for Android and iOS. This repository provides a working example of integrating Square’s native Mobile Payments SDK into cross-platform .NET MAUI applications using bindings and P/Invoke.


🚀 Features

  • ✅ Native bindings for Square Mobile Payments SDK on Android (Java/Kotlin) and iOS (Objective-C/Swift)
  • ✅ End-to-end example of invoking Square payment workflows from a .NET MAUI app
  • ✅ Handles payments, card readers, and transaction flows through native SDK integration
  • ✅ Clean and reusable interop patterns for extending .NET MAUI apps with native functionality
  • ✅ Documentation and samples for secure, seamless, in-person payments

🎯 Purpose

Simplify and document the process of integrating Square’s Mobile Payments SDK into .NET MAUI apps by leveraging native library interop techniques.
Enable developers to deliver secure, cross-platform in-person payment solutions using Square hardware and services.


🛠️ Getting Started

Prerequisites

  • .NET MAUI (tested with .NET 9)
  • Visual Studio 2022 (17.8+) with MAUI workload
  • Android Studio (for Android bindings)
  • Xcode (for iOS bindings)
  • Square Developer Account
    ➡️ Sign up here

Clone the Repo

git clone https://github.com/yourusername/MauiSquare.NativeLibraryInterop.git

About

A .NET MAUI project demonstrating native library interoperability with the Square Mobile Payments SDK on Android and iOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors