Comments (20)
Thank you both. In that case I will escalate to our react native plugin team. I'll follow up once I have more info!
from react-native-square-reader-sdk.
@rahamin1
Sorry for misunderstanding, I meant that I do not use it.
Looking forward for fix
from react-native-square-reader-sdk.
@rahamin1 no I do not use in-app-payments-react-native-plugin.
So you might want to upgrade your react-native version as from 0.60.0 they have separated the WebView
https://github.com/facebook/react-native/releases/tag/v0.60.0
from react-native-square-reader-sdk.
As @gallifilo wrote above, the problem doesn't exist in newer react-native versions. I tested it in 0.62.2.
from react-native-square-reader-sdk.
Was just about to release an app with the SDK and got ITMS-90809 as well, is there a workaround to this?
UPDATE: App is still in review but it uploaded fine after upgrading SquareReaderSDK.framework to latest as well as react-native-square-reader-sdk to 1.3.1
I'm not using in-app-payments-react-native-plugin
from react-native-square-reader-sdk.
This should be resolved in the latest version of ReaderSDK - are you folks using the latest version?
Also, just to clarify, this definitely should not be happening with In-App Payments SDK
from react-native-square-reader-sdk.
- As I wrote above, the problem seems to be in both
react-native-square-reader-sdk
andin-app-payments-react-native-plugin
(see https://bit.ly/2XGuk7Y) - I am using version 1.3.1 of both packages
- Do you also use
in-app-payments-react-native-plugin
? - Which version of react-native are you using?
from react-native-square-reader-sdk.
In the script you have you're printing every package (echo $fname
), it seems, it does not mean it's in each package. It looks like the reference was removed in 1.3.7 for ReaderSDK (https://developer.squareup.com/docs/changelog/mobile-logs/2020-02-26), so you need to update to at least that version (although 1.3.8 is the latest).
from react-native-square-reader-sdk.
Thanks Stephen.
I will try the latest commits of both packages.
from react-native-square-reader-sdk.
The latest version in npm is 1.3.1 for both packages, so I have replaced the relevant lines in package.json with:
"react-native-square-in-app-payments": "git://github.com/square/in-app-payments-react-native-plugin.git#c4eebc7d65e3ba5f32cbfbdf5354e78c4f50df30",
"react-native-square-reader-sdk": "git://github.com/square/react-native-square-reader-sdk.git#d13aa44b55bcbf9c2f1ff21d580649278b9b571a",
I am still getting the same errors as in #120 (comment).
from react-native-square-reader-sdk.
Sorry, I think we're referring to different things. You're talking about the react native plugin version, I'm talking about the iOS ReaderSDK version - which the react native plugin uses. You should be installing the iOS SDK as per Step 5: https://github.com/square/react-native-square-reader-sdk/blob/master/docs/get-started.md#step-5-install-reader-sdk-for-ios, which will install the latest version. You can see further instructions for reinstalling the iOS SDK here: https://developer.squareup.com/docs/reader-sdk/upgrade-reader-sdk#install-a-new-version-of-the-framework
from react-native-square-reader-sdk.
Thanks Stephen.
I followed https://developer.squareup.com/docs/reader-sdk/upgrade-reader-sdk#install-a-new-version-of-the-framework and the command
ruby <(curl https://connect.squareup.com/readersdk-installer
) install --app-id {APP_ID} --repo-password {REPO_PASSWORD} —-version 1.3.8
Prints the installed version.
But the App Connect error remains:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
And
for framework in Frameworks/*.framework; do
fname=$(basename $framework .framework)
echo $fname
nm $framework/$fname | grep UIWeb
done
Still prints
CorePaymentCard
SquareCore
SquareInAppPaymentsSDK
SquareReader
SquareReaderSDK
from react-native-square-reader-sdk.
Same issue using:
react-native-square-reader-sdk 1.3.1
SQUARE SDK 1.3.8
from react-native-square-reader-sdk.
Since you are using this plugin I have two questions not related to the problem reported in this thread:
- Do you also use in-app-payments-react-native-plugin?
- Which version of react-native are you using?
from react-native-square-reader-sdk.
Do not use in-app-payments-react-native-plugin
react-native 0.62.2
from react-native-square-reader-sdk.
@rahamin1
The issue occurs even in the empty project with react-native-square-reader-sdk installed only
from react-native-square-reader-sdk.
Do not use in-app-payments-react-native-plugin
Why?
from react-native-square-reader-sdk.
For me it works and I was able to submit now by updating the iOS ReaderSDK from 1.3.1 to 1.3.8
with
react-native: 0.61.5
square-sdk-react-native: 1.3.1
square-sdk-ios: 1.3.8
from react-native-square-reader-sdk.
Thanks @gallifilo. Strange. I will try again (I am currently using 0.59.9 and I have other problems, so I am trying to migrate to 0.62.2 first, so it will take some time).
BTW, Do you also use in-app-payments-react-native-plugin?
I am asking since I am using it as well, and I have problem in iOS build.
from react-native-square-reader-sdk.
I confirm. Was able to push a build to test flight with:
{
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-square-reader-sdk": "^1.3.1"
}
and square-sdk-ios: 1.3.8
I do not use in-app-payments-react-native-plugin.
from react-native-square-reader-sdk.
Related Issues (20)
- Unable to compile a build for android - Unable to load Maven meta-data HOT 1
- IOS SDK Install Error HOT 5
- DebugSymbolsPath not found HOT 4
- [Android] BLUETOOTH_CONNECT permission required HOT 13
- Android Example Project Build Failed HOT 2
- [Android] java.lang.NoSuchMethodError: No static method createRuntimeMessageAdapter HOT 1
- Not able to payment using sdk HOT 1
- [iOS] '@import' error in AppDelegate.mm file HOT 2
- Use of undeclared identifier 'SQRDReaderSDK' HOT 2
- Blank "Square reader" screen after enabling bluetooth HOT 8
- How can I map the transaction made by SDK with square order? HOT 1
- Quickstart App Crashes on Startup on M2 MacBook and XCode 14.2 HOT 1
- Storage permissions not detected when using compileSdkVersion 33 or Android 13 HOT 11
- Android - Something went wrong. Please contact the developer of this application and provide them with this error code: reader_settings_unexpected HOT 5
- App crashes when trying to use the Square Stand HOT 4
- [Android] Usable with work-runtime-2.8.0? HOT 1
- Unable to resume activity - java.lang.SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts HOT 4
- Keeping SQUARE_READER_SDK_REPOSITORY_PASSWORD secret?
- Module 'SquareReaderSDK' not found in IOS (React Native)
- manual_card_entry is not shown in ios platform but shown in android side. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-square-reader-sdk.