{"_id":"@brushfire/mobile-payments-sdk-react-native","_rev":"3-472b6520dd391fc42429c15f30b210c5","name":"@brushfire/mobile-payments-sdk-react-native","dist-tags":{"latest":"2025.9.30"},"versions":{"2025.2.2":{"name":"@brushfire/mobile-payments-sdk-react-native","version":"2025.2.2","keywords":["react-native","ios","android","square","mobile-payments-sdk","payments"],"author":{"url":"https://github.com/square/","name":"Block, Inc","email":"mpx@squareup.com"},"license":"Apache-2.0","_id":"@brushfire/mobile-payments-sdk-react-native@2025.2.2","maintainers":[{"name":"brushfire","email":"apps@brushfire.com"}],"homepage":"https://github.com/square/mobile-payments-sdk-react-native#readme","bugs":{"url":"https://developer.squareup.com/forums/"},"dist":{"shasum":"2207a2739526da69275446b1d5439e7cb13336d8","tarball":"https://registry.npmjs.org/@brushfire/mobile-payments-sdk-react-native/-/mobile-payments-sdk-react-native-2025.2.2.tgz","fileCount":102,"integrity":"sha512-hedMDq13nCbZPR8fNi4GGrOKsE91Q6Tm+PqYX0C2dbds+3e8DKo75OVIPALXGcJCE8SowYP4ZBE28SoqlDoAIg==","signatures":[{"sig":"MEUCIA4t5XsSdKe3ND/nHylurWHqMfVgDQcxYLg3DimJU3r4AiEAqhuAYUsaMlMXf/hjnZTxdRsy2awoXzjJlaBenfZPKqo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307574},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.js","module":"./lib/module/index.js","source":"./src/index.tsx","exports":{".":{"import":{"types":"./lib/typescript/module/src/index.d.ts","default":"./lib/module/index.js"},"require":{"types":"./lib/typescript/commonjs/src/index.d.ts","default":"./lib/commonjs/index.js"}}},"gitHead":"a9adf374dd58b1ce3b8ee7560c34650574c1e6e3","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace mobile-payments-sdk-react-native-example","prepare":"bob build","release":"release-it","typecheck":"tsc"},"_npmUser":{"name":"brushfire","email":"apps@brushfire.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/square/mobile-payments-sdk-react-native.git","type":"git"},"workspaces":["example"],"_npmVersion":"10.7.0","description":"Mobile Payments SDK plug-in for React Native. Enables developers to build secure in-person payment solutions.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.3.1","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.75.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.30.2","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/mobile-payments-sdk-react-native_2025.2.2_1748614337048_0.8194333741091591","host":"s3://npm-registry-packages-npm-production"},"mobilePaymentsSdkVersion":"2.1.0","react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"esm":true,"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"module-legacy","version":"0.41.2","languages":"kotlin-swift"}},"2025.2.3":{"name":"@brushfire/mobile-payments-sdk-react-native","version":"2025.2.3","keywords":["react-native","ios","android","square","mobile-payments-sdk","payments"],"author":{"url":"https://github.com/square/","name":"Block, Inc","email":"mpx@squareup.com"},"license":"Apache-2.0","_id":"@brushfire/mobile-payments-sdk-react-native@2025.2.3","maintainers":[{"name":"brushfire","email":"apps@brushfire.com"}],"homepage":"https://github.com/square/mobile-payments-sdk-react-native#readme","bugs":{"url":"https://developer.squareup.com/forums/"},"dist":{"shasum":"0c7d75d1fcab0688e6ed40a02458b39c8daaaeca","tarball":"https://registry.npmjs.org/@brushfire/mobile-payments-sdk-react-native/-/mobile-payments-sdk-react-native-2025.2.3.tgz","fileCount":102,"integrity":"sha512-4EqquZ5m8VWtVj4b62OWWObArPPgiJZUmGYGcgME75H9FJCrFd0YEYhftqJw1Hi1JD40ygWEzOD1n7+k1kj0+w==","signatures":[{"sig":"MEYCIQCaNtsDsH2qN43FCXR64rDCElimqunF9CkIN+s6HmULeQIhANWu/VIstsclr10UItkFdpFtagiy8XrENYUWASlDFd6z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307590},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"./lib/commonjs/index.js","module":"./lib/module/index.js","source":"./src/index.tsx","exports":{".":{"import":{"types":"./lib/typescript/module/src/index.d.ts","default":"./lib/module/index.js"},"require":{"types":"./lib/typescript/commonjs/src/index.d.ts","default":"./lib/commonjs/index.js"}}},"gitHead":"6770c176777246795d585c2a1c7c8e052ee6bfa5","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace mobile-payments-sdk-react-native-example","prepare":"bob build","release":"release-it","typecheck":"tsc"},"_npmUser":{"name":"brushfire","email":"apps@brushfire.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/square/mobile-payments-sdk-react-native.git","type":"git"},"workspaces":["example"],"_npmVersion":"10.7.0","description":"Mobile Payments SDK plug-in for React Native. Enables developers to build secure in-person payment solutions.","directories":{},"resolutions":{"@types/react":"^18.2.44"},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}],"react/react-in-jsx-scope":"off"},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^29.7.0","react":"18.3.1","turbo":"^1.10.7","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/react":"^18.2.44","react-native":"0.75.3","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","react-native-builder-bob":"^0.30.2","@react-native/eslint-config":"^0.73.1","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/mobile-payments-sdk-react-native_2025.2.3_1749063737937_0.5921058853138772","host":"s3://npm-registry-packages-npm-production"},"mobilePaymentsSdkVersion":"2.2.3","react-native-builder-bob":{"output":"lib","source":"src","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"esm":true,"project":"tsconfig.build.json"}]]},"create-react-native-library":{"type":"module-legacy","version":"0.41.2","languages":"kotlin-swift"}},"2025.9.30":{"name":"@brushfire/mobile-payments-sdk-react-native","version":"2025.9.30","description":"Mobile Payments SDK plug-in for React Native. Enables developers to build secure in-person payment solutions.","source":"./src/index.tsx","main":"./lib/commonjs/index.js","module":"./lib/module/index.js","exports":{".":{"import":{"types":"./lib/typescript/module/src/index.d.ts","default":"./lib/module/index.js"},"require":{"types":"./lib/typescript/commonjs/src/index.d.ts","default":"./lib/commonjs/index.js"}}},"scripts":{"example":"yarn workspace mobile-payments-sdk-react-native-example","test":"jest","typecheck":"tsc","lint":"eslint \"**/*.{js,ts,tsx}\"","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","prepare":"bob build","release":"release-it"},"keywords":["react-native","ios","android","square","mobile-payments-sdk","payments"],"repository":{"type":"git","url":"git+https://github.com/square/mobile-payments-sdk-react-native.git"},"author":{"name":"Block, Inc","email":"mpx@squareup.com","url":"https://github.com/square/"},"license":"Apache-2.0","bugs":{"url":"https://developer.squareup.com/forums/"},"homepage":"https://github.com/square/mobile-payments-sdk-react-native#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.5.0","@react-native/eslint-config":"^0.73.1","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^29.5.5","@types/react":"^18.2.44","commitlint":"^17.0.2","del-cli":"^5.1.0","eslint":"^8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","prettier":"^3.0.3","react":"18.3.1","react-native":"0.75.3","react-native-builder-bob":"^0.30.2","release-it":"^15.0.0","turbo":"^1.10.7","typescript":"^5.2.2"},"resolutions":{"@types/react":"^18.2.44"},"peerDependencies":{"react":"*","react-native":"*"},"workspaces":["example"],"packageManager":"yarn@3.6.1","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native","prettier"],"rules":{"react/react-in-jsx-scope":"off","prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":[["commonjs",{"esm":true}],["module",{"esm":true}],["typescript",{"project":"tsconfig.build.json","esm":true}]]},"create-react-native-library":{"type":"module-legacy","languages":"kotlin-swift","version":"0.41.2"},"_id":"@brushfire/mobile-payments-sdk-react-native@2025.9.30","gitHead":"9b2a5526dc4c8920ca1ccab4b1ba3c0801787e7d","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-poTKZF7KPHKt9DWpOAIdrVQmosNHWnS2mYb+W0B/pz9hlfklgxetDQNQ6FYyqqerw8eZT0Wn0dmcRLdx0QtsmQ==","shasum":"a5d1787532a65d6fb004e3b2a76235e30334a286","tarball":"https://registry.npmjs.org/@brushfire/mobile-payments-sdk-react-native/-/mobile-payments-sdk-react-native-2025.9.30.tgz","fileCount":102,"unpackedSize":320566,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEymxwE/T7rNfVgCTdiNgpxXEKMfeYXeLSmIzW2r+0S5AiEA0zTXdPqFaC2HcCcgoBh7iAPqQ9vQSZLXSdFPKAEBl7I="}]},"_npmUser":{"name":"brushfire","email":"apps@brushfire.com"},"directories":{},"maintainers":[{"name":"brushfire","email":"apps@brushfire.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mobile-payments-sdk-react-native_2025.9.30_1759259168044_0.418829127859218"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-30T14:12:16.967Z","modified":"2025-09-30T19:06:09.068Z","2025.2.2":"2025-05-30T14:12:17.263Z","2025.2.3":"2025-06-04T19:02:18.121Z","2025.9.30":"2025-09-30T19:06:08.235Z"},"bugs":{"url":"https://developer.squareup.com/forums/"},"author":{"name":"Block, Inc","email":"mpx@squareup.com","url":"https://github.com/square/"},"license":"Apache-2.0","homepage":"https://github.com/square/mobile-payments-sdk-react-native#readme","keywords":["react-native","ios","android","square","mobile-payments-sdk","payments"],"repository":{"type":"git","url":"git+https://github.com/square/mobile-payments-sdk-react-native.git"},"description":"Mobile Payments SDK plug-in for React Native. Enables developers to build secure in-person payment solutions.","maintainers":[{"name":"brushfire","email":"apps@brushfire.com"}],"readme":"# React Native plug-in for Mobile Payments SDK\n\n[![npm version](https://badge.fury.io/js/mobile-payments-sdk-react-native.svg)](https://badge.fury.io/js/mobile-payments-sdk-react-native)\n\nMobile Payments SDK for React Native supports the following SDK versions:\n\n  * [iOS](https://developer.squareup.com/docs/mobile-payments-sdk/ios#1-install-the-sdk-and-dependencies): 2.2.3 and above\n  * [Android](https://developer.squareup.com/docs/mobile-payments-sdk/android#1-install-the-sdk-and-dependencies): 2.3.0 and above\n\n## Review requirements\nBefore getting started, please review the Requirements and Limitations and Device Compatibility sections to ensure that the SDK can be used in your project:\n* Android: [Requirements and Limitations](https://developer.squareup.com/docs/mobile-payments-sdk/android#requirements-and-limitations), [Device Compatibility](https://developer.squareup.com/docs/mobile-payments-sdk/android#device-permissions)\n* iOS: [Requirements and Limitations](https://developer.squareup.com/docs/mobile-payments-sdk/ios#requirements-and-limitations), [Device Compatibility](https://developer.squareup.com/docs/mobile-payments-sdk/ios#device-permissions)\n\n## Installation\n```sh\nnpm install mobile-payments-sdk-react-native\nor\nyarn add mobile-payments-sdk-react-native\n```\n\nFor usage and in-detail documentation, visit our [documentation](docs/) section.\n\n## Documentation\n* [Mobile Payments SDK Overview](https://developer.squareup.com/docs/mobile-payments-sdk)\n* [iOS Tech Reference](https://developer.squareup.com/docs/sdk/mobile-payments/ios)\n* [Android Tech Reference](https://developer.squareup.com/docs/sdk/mobile-payments/android)\n\nIf you need more assistance, contact [Developer and App Marketplace Support](https://squareup.com/help/us/en/contact?panel=BF53A9C8EF68) or ask for help in the [Developer Forums](https://developer.squareup.com/forums/).\n\n## Mobile Payments SDK Sample App\n<img src=\"./Images/donut-counter-home.png\" width=\"300\"/> <img src=\"./Images/donut-counter-take-payment.png\" width=\"300\"/>\n\n[Donut Counter](example/) 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.\n\n## License\n\n```\nCopyright 2025 Square Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n","readmeFilename":"README.md"}