Mobile Payments SDK for React Native supports the following SDK versions:
Before getting started, please review the Requirements and Limitations and Device Compatibility sections to ensure that the SDK can be used in your project:
- Android: Requirements and Limitations, Device Compatibility
- iOS: Requirements and Limitations, Device Compatibility
npm install mobile-payments-sdk-react-native
or
yarn add mobile-payments-sdk-react-native
For usage and in-detail documentation, visit our documentation section.
If you need more assistance, contact Developer and App Marketplace Support or ask for help in the Developer Forums.
Donut Counter is a sample application included in the example
folder of this repository. It is built using React Native 0.75 and designed to help developers utilize the Square Mobile Payments SDK. This application serves as a practical guide for integrating and leveraging the SDK's capabilities within your own projects. It demonstrates essential functions such as initializing and authorizing the SDK, using mock readers, and processing a $1.00 payment.
Copyright 2025 Square Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
See the contributing guide to learn how to contribute to the repository and the development workflow.