Any examples on how to integrate with Square Point of Sale App from a React Native App?











up vote
-1
down vote

favorite












I guess the Point of Sale API can be used, however I have not been able to find a specific example on how to do the integration.



I'm testing with the ReaderSDK but it's a little bit buggy. The "quick start app" shows a "deadlock" warning once it starts.. and also changing from debug to release in Xcode, fires an SDK linker problem, even though all linker, frameworks and library paths are ok..



So I figured it would be better to just call the Point of Sale API and open up the Square App itself to take care of the payment process and then return to my app.



Any ideas?



EDIT 01: Well, Im realizing I could probably use a Deep Link from the React Native App, same way I would do from Native code. It looks like React Native offers an interface for this. And I can probably implement the deep link as described here from the Square Documentation page.



Thanks










share|improve this question
























  • You can check if you are using “Legacy Build System” to build react native project. github.com/square/react-native-square-reader-sdk/blob/master/…
    – sjosey
    Nov 12 at 18:27










  • Reader SDK is the recommended way of integrating with the React Native framework. I wasn't able to replicate the issue you described with the quick start app. Many react native apps have integrated Reader SDK react native plugin successfully, so you should be able to use Reader SDK with React Native plugin. If you have any problems, I recommend you reach out to the Square support team and they will help you to solve the issue. You can join squ.re/2Hks3YE to talk to Square support.
    – sjosey
    Nov 12 at 18:27

















up vote
-1
down vote

favorite












I guess the Point of Sale API can be used, however I have not been able to find a specific example on how to do the integration.



I'm testing with the ReaderSDK but it's a little bit buggy. The "quick start app" shows a "deadlock" warning once it starts.. and also changing from debug to release in Xcode, fires an SDK linker problem, even though all linker, frameworks and library paths are ok..



So I figured it would be better to just call the Point of Sale API and open up the Square App itself to take care of the payment process and then return to my app.



Any ideas?



EDIT 01: Well, Im realizing I could probably use a Deep Link from the React Native App, same way I would do from Native code. It looks like React Native offers an interface for this. And I can probably implement the deep link as described here from the Square Documentation page.



Thanks










share|improve this question
























  • You can check if you are using “Legacy Build System” to build react native project. github.com/square/react-native-square-reader-sdk/blob/master/…
    – sjosey
    Nov 12 at 18:27










  • Reader SDK is the recommended way of integrating with the React Native framework. I wasn't able to replicate the issue you described with the quick start app. Many react native apps have integrated Reader SDK react native plugin successfully, so you should be able to use Reader SDK with React Native plugin. If you have any problems, I recommend you reach out to the Square support team and they will help you to solve the issue. You can join squ.re/2Hks3YE to talk to Square support.
    – sjosey
    Nov 12 at 18:27















up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I guess the Point of Sale API can be used, however I have not been able to find a specific example on how to do the integration.



I'm testing with the ReaderSDK but it's a little bit buggy. The "quick start app" shows a "deadlock" warning once it starts.. and also changing from debug to release in Xcode, fires an SDK linker problem, even though all linker, frameworks and library paths are ok..



So I figured it would be better to just call the Point of Sale API and open up the Square App itself to take care of the payment process and then return to my app.



Any ideas?



EDIT 01: Well, Im realizing I could probably use a Deep Link from the React Native App, same way I would do from Native code. It looks like React Native offers an interface for this. And I can probably implement the deep link as described here from the Square Documentation page.



Thanks










share|improve this question















I guess the Point of Sale API can be used, however I have not been able to find a specific example on how to do the integration.



I'm testing with the ReaderSDK but it's a little bit buggy. The "quick start app" shows a "deadlock" warning once it starts.. and also changing from debug to release in Xcode, fires an SDK linker problem, even though all linker, frameworks and library paths are ok..



So I figured it would be better to just call the Point of Sale API and open up the Square App itself to take care of the payment process and then return to my app.



Any ideas?



EDIT 01: Well, Im realizing I could probably use a Deep Link from the React Native App, same way I would do from Native code. It looks like React Native offers an interface for this. And I can probably implement the deep link as described here from the Square Documentation page.



Thanks







react-native square






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 10 at 19:38

























asked Nov 10 at 19:23









Rod Navarro

173




173












  • You can check if you are using “Legacy Build System” to build react native project. github.com/square/react-native-square-reader-sdk/blob/master/…
    – sjosey
    Nov 12 at 18:27










  • Reader SDK is the recommended way of integrating with the React Native framework. I wasn't able to replicate the issue you described with the quick start app. Many react native apps have integrated Reader SDK react native plugin successfully, so you should be able to use Reader SDK with React Native plugin. If you have any problems, I recommend you reach out to the Square support team and they will help you to solve the issue. You can join squ.re/2Hks3YE to talk to Square support.
    – sjosey
    Nov 12 at 18:27




















  • You can check if you are using “Legacy Build System” to build react native project. github.com/square/react-native-square-reader-sdk/blob/master/…
    – sjosey
    Nov 12 at 18:27










  • Reader SDK is the recommended way of integrating with the React Native framework. I wasn't able to replicate the issue you described with the quick start app. Many react native apps have integrated Reader SDK react native plugin successfully, so you should be able to use Reader SDK with React Native plugin. If you have any problems, I recommend you reach out to the Square support team and they will help you to solve the issue. You can join squ.re/2Hks3YE to talk to Square support.
    – sjosey
    Nov 12 at 18:27


















You can check if you are using “Legacy Build System” to build react native project. github.com/square/react-native-square-reader-sdk/blob/master/…
– sjosey
Nov 12 at 18:27




You can check if you are using “Legacy Build System” to build react native project. github.com/square/react-native-square-reader-sdk/blob/master/…
– sjosey
Nov 12 at 18:27












Reader SDK is the recommended way of integrating with the React Native framework. I wasn't able to replicate the issue you described with the quick start app. Many react native apps have integrated Reader SDK react native plugin successfully, so you should be able to use Reader SDK with React Native plugin. If you have any problems, I recommend you reach out to the Square support team and they will help you to solve the issue. You can join squ.re/2Hks3YE to talk to Square support.
– sjosey
Nov 12 at 18:27






Reader SDK is the recommended way of integrating with the React Native framework. I wasn't able to replicate the issue you described with the quick start app. Many react native apps have integrated Reader SDK react native plugin successfully, so you should be able to use Reader SDK with React Native plugin. If you have any problems, I recommend you reach out to the Square support team and they will help you to solve the issue. You can join squ.re/2Hks3YE to talk to Square support.
– sjosey
Nov 12 at 18:27



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242603%2fany-examples-on-how-to-integrate-with-square-point-of-sale-app-from-a-react-nati%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242603%2fany-examples-on-how-to-integrate-with-square-point-of-sale-app-from-a-react-nati%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Guess what letter conforming each word

Port of Spain

Run scheduled task as local user group (not BUILTIN)