Replies: 1 comment 2 replies
-
hey @jay3024 I checked this lib but its using veeery outdated packages. I would recommend you to use up-to-date dependencies by overriting the dependencies of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i have developed react dapp that connects with tron wallet using trsut wallet/ token pocket etc.
below is my code
import {
WalletConnectWallet,
WalletConnectChainID,
} from "@tronweb3/walletconnect-tron";
const [wallet, setWallet] = useState(null);
const [walletAddress, setWalletAddress] = useState("");
// ✅ Initialize WalletConnect (Only Once)
const initWallet = () => {
try {
if (wallet) return; // Prevent re-initialization
};
// ✅ Connect Wallet (Ensuring Initialization)
const connectWallet = async () => {
setLoader1(true);
};

this is code is working fine in android / pc , but in i Phone devices the wallet connect modal opens but only header part is appears.
as shown in screenshot.
and on other side in android it works well .
expected behavior in i phone devices:


wallet connect modal should open and in that wallet icons will shows(trust wallet/ token pocket etc).
the expected behavior is shown in second screenshot where wallet icons are there, you can select the wallet and connect the tron address with dapp.
i stuck in this . please give me solution whether it can be possible with @tronweb3/walletconnect-tron or need something diffrent package?.
@bkrem
@chris13524
@ganchoradkov
@quetool
@skibitsky
Beta Was this translation helpful? Give feedback.
All reactions