Skip to content

Commit

Permalink
Merge pull request #1486 from cmgustavo/bug/coinbase-android-connect-01
Browse files Browse the repository at this point in the history
Fix: connect to Coinbase (redirect) on Android
  • Loading branch information
JohnathanWhite authored Dec 4, 2024
2 parents 3e60927 + 38bf5a3 commit 9e8f5b9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/api/coinbase/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Coinbase API
import axios from 'axios';
import {Platform} from 'react-native';

import {
CoinbaseAccountsProps,
Expand All @@ -24,10 +23,7 @@ import {
} from './coinbase.constants';

// Redirect URI
const COINBASE_REDIRECT_URI =
Platform.OS !== 'android'
? COINBASE_CONFIG_API.redirect_uri.mobile
: 'https://bitpay.com/oauth/coinbase/redirect';
const COINBASE_REDIRECT_URI = COINBASE_CONFIG_API.redirect_uri.mobile;

// OAuth
let oauthStateCode: string = ''; // Random
Expand Down

0 comments on commit 9e8f5b9

Please sign in to comment.