Skip to content

Commit f2631c3

Browse files
Merge pull request #215 from phantom/add-webview-debug
added webview inspector information
2 parents f925476 + c031257 commit f2631c3

File tree

5 files changed

+36
-33
lines changed

5 files changed

+36
-33
lines changed
185 KB
Loading
42.5 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
### Mobile Web Debugging
3+
4+
<figure><img src="../.gitbook/assets/Developer Settings.png" alt=""><figcaption></figcaption></figure>
5+
6+
Developers can debug their mobile web dapps using PC browsers. To enable this in Phantom mobile go to Settings -> Developer Settings and toggle Web View Debugging on. Then follow the steps below for your platform.
7+
8+
## iOS
9+
1. Tether your iPhone to your computer via USB
10+
2. On your iPhone go to Settings -> Safari -> Advanced and enable "Web Inspector"
11+
3. On your computer open Safari, then from the menu bar Safari -> Settings -> Advanced tab -> enable "Show features for web developers"
12+
4. Open your web dapp in Phantom on your tethered device
13+
5. Back on your computer from the Safari menu bar go to Develop -> and Select your Device and Dapp name in Phantom.
14+
15+
## Android
16+
1. Tether your Android phone to your computer via USB
17+
2. Open your web dapp in Phantom on your tethered device
18+
3. On your computer open chrome://inspect/#devices on Chrome
19+
4. Select your device on the left and select "Inspect" on the Phantom dapp contents you'd like to inspect
20+
21+
See the [React Native Webview Docs](https://github.com/react-native-webview/react-native-webview/blob/master/docs/Debugging.md#debugging-webview-contents) for more info.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Testnet Mode
2+
3+
<figure><img src="../.gitbook/assets/Developer Settings.png" alt=""><figcaption></figcaption></figure>
4+
5+
6+
Developers can access test networks via Settings -> Developer Settings in Phantom. The following testnets are available:
7+
8+
* Solana
9+
* Solana Localnet (browser extension only)
10+
* Solana Testnet
11+
* Solana Devnet
12+
* Ethereum and Polygon
13+
* Ethereum Goerli
14+
* Ethereum Sepolia
15+
* Polygon Mumbai

introduction/developer-settings.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)