Closed JuanValeraDev closed 4 months ago
Hi @JuanValeraDev!
These errors are normal if you don't have / unzip the SDK. You absolutely need it to work with Google Wallet.
Why can't you get an authorized google account? You will need one to publish an app with such a feature. Don't hesitate to ask your manager for it.
Hello, I'm trying to run this Swan project integrated with React Native but I've encountered a problem related to the TapAndPay SDK. I can't get it and without it, it doesn't work for me. Here are the steps I've followed in my attempt:
I clone the github repository with "git clone https://github.com/swan-io/swan-partner-mobile.git"
I install the dependencies with the "yarn" command in root and in /server. I don't run "pod install" in ios/ because I'm not going to use ios, only android.
I skip the Google Pay part because I can't get an authorized google account and therefore I can't download the TapAndPay SDK:
I copy the content of .env.example into .env changing "PARTNER_API_URL="https://api.swan.io/live-partner/graphql"" to "PARTNER_API_URL="https://api.swan.io/sandbox-partner/graphql" because I'm using sandbox.
I also copy the content of server/.env.example into server/.env modifying the values of OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET and SESSION_TOKEN_PASSWORD to be the ones that appear in my Swan Dashboard and "PARTNER_API_URL="https://api.swan.io/live-partner/graphql" " to "PARTNER_API_URL="https://api.swan.io/sandbox-partner/graphql"
"
I add my AUTH_REDIRECT_URI, which is "http://localhost:8103/auth/callback" to my Dashboard -> Redirect URIS.
I run an android emulator.
Then I run "yarn dev" in server/
And then "yarn android" in the root.
Once Metro has started, I press "a" to run the "run on Android" option
When the application is compiling, errors related to the TapAndPay SDK jump out. Here are some examples:
Thank you very much for the help.