@dubsdotapp/expo 0.2.23 → 0.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dubsdotapp/expo",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "React Native SDK for the Dubs betting platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -4,7 +4,6 @@ import { MwaWalletAdapter } from './wallet/mwa-adapter';
4
4
  import { PhantomDeeplinkAdapter } from './wallet/phantom-deeplink';
5
5
  import type { PhantomSession } from './wallet/phantom-deeplink';
6
6
  import type { WalletAdapter } from './wallet/types';
7
- import { isSolanaSeeker } from './utils/device';
8
7
  import { ConnectWalletScreen } from './ui/ConnectWalletScreen';
9
8
  import type { ConnectWalletScreenProps } from './ui/ConnectWalletScreen';
10
9
  import type { TokenStorage } from './storage';
@@ -96,12 +95,11 @@ export function ManagedWalletProvider({
96
95
  const [error, setError] = useState<string | null>(null);
97
96
 
98
97
  // Determine which adapter to use:
99
- // - Solana Seeker (Android) → MWA (native Mobile Wallet Adapter support)
100
- // - Everything else (iOS + regular Android) Phantom deeplinks
101
- const seeker = Platform.OS === 'android' && isSolanaSeeker();
102
- const usePhantom = !seeker && !!redirectUri;
98
+ // - Android (all devices) → MWA (Phantom + other wallets support Mobile Wallet Adapter natively)
99
+ // - iOS Phantom deeplinks (MWA not available on iOS)
100
+ const usePhantom = Platform.OS === 'ios' && !!redirectUri;
103
101
 
104
- console.log(TAG, `Platform: ${Platform.OS}, seeker: ${seeker}, redirectUri: ${redirectUri ? 'provided' : 'not set'}, usePhantom: ${usePhantom}`);
102
+ console.log(TAG, `Platform: ${Platform.OS}, redirectUri: ${redirectUri ? 'provided' : 'not set'}, usePhantom: ${usePhantom}`);
105
103
 
106
104
  const adapterRef = useRef<WalletAdapter | null>(null);
107
105
  const transactRef = useRef<any>(null);