File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed
packages/scaffold/src/views/w3m-connecting-social-view Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @reown/appkit-scaffold-react-native ' : patch
3+ ' @reown/appkit-ethers5-react-native ' : patch
4+ ' @reown/appkit-ethers-react-native ' : patch
5+ ' @reown/appkit-wagmi-react-native ' : patch
6+ ' @reown/appkit-auth-ethers-react-native ' : patch
7+ ' @reown/appkit-auth-wagmi-react-native ' : patch
8+ ' @reown/appkit-coinbase-ethers-react-native ' : patch
9+ ' @reown/appkit-coinbase-wagmi-react-native ' : patch
10+ ' @reown/appkit-common-react-native ' : patch
11+ ' @reown/appkit-core-react-native ' : patch
12+ ' @reown/appkit-scaffold-utils-react-native ' : patch
13+ ' @reown/appkit-siwe-react-native ' : patch
14+ ' @reown/appkit-ui-react-native ' : patch
15+ ' @reown/appkit-wallet-react-native ' : patch
16+ ---
17+
18+ fix: solved issue with apple login on iOS
Original file line number Diff line number Diff line change 11import { useSnapshot } from 'valtio' ;
22import { useCallback , useEffect , useState } from 'react' ;
3- import { Platform } from 'react-native' ;
43import {
54 ConnectionController ,
65 ConnectorController ,
@@ -35,12 +34,9 @@ export function ConnectingSocialView() {
3534 const { uri } = await provider . getSocialRedirectUri ( {
3635 provider : ConnectionController . state . selectedSocialProvider
3736 } ) ;
38- WebviewController . setWebviewUrl ( uri ) ;
39-
40- const isNativeApple =
41- ConnectionController . state . selectedSocialProvider === 'apple' && Platform . OS === 'ios' ;
4237
43- WebviewController . setWebviewVisible ( ! isNativeApple ) ;
38+ WebviewController . setWebviewUrl ( uri ) ;
39+ WebviewController . setWebviewVisible ( true ) ;
4440 WebviewController . setConnecting ( true ) ;
4541 WebviewController . setConnectingProvider ( ConnectionController . state . selectedSocialProvider ) ;
4642 }
You can’t perform that action at this time.
0 commit comments