Giveth / giveth-dapps-v2

This project is the aggregation of GIVeconomy and Giveth.io DApps in a single repo
https://staging.giveth.io
GNU General Public License v3.0
64 stars 33 forks source link

WC Testing: Android/Chrome MOBILE | Trust Wallet MOBILE #3329

Open divine-comedian opened 1 year ago

divine-comedian commented 1 year ago

The following test cases should be completed and successful:

maryjaf commented 3 months ago

I don't have android phone to check this issue.

LatifatAbdullahi commented 3 months ago

@divine-comedian

When Users attempt recurring donation with Optimism Sepolia

Screenshot_20240803_173548_Trust Wallet

Screenshot_20240803_173555_Chrome

Also with other networks except Gnosis/Polygon

image

divine-comedian commented 3 months ago

@MohammadPCh - perhaps we need to add Trust wallet into the wallet adapter plug-in we use for Solana connections

Trust Wallet doesn't support most test networks out of the box, you need to set them up as custom networks, let's make sure they are configured properly inside your Trsut wallet app @LatifatAbdullahi.

Recurring Donations also won't work unless we are sure Optimism Sepolia network config has been set correctly inside of Trust Wallet.

I tested recurring donations on android on OP Sepolia with Trust Wallet and it appears to be working for me.

LatifatAbdullahi commented 3 months ago

@divine-comedian @divine-comedian

I tried importing with same details you used @divine-comedian, but it showed "Chain already exists", meaning it was configured properly in trust wallet.

Screenshot_20240804_214136_Trust Wallet

I also got same error when I attempted to donate again.

image

mohammadranjbarz commented 3 months ago

Thanks @LatifatAbdullahi but I think these things are just related to to test chain networks, not our application, so I dont know how we can handle it, @divine-comedian WDYT?

LatifatAbdullahi commented 3 months ago

@mohammadranjbarz @divine-comedian

I tested donation(Recurring Donation)using Optimism also Onte-time donation with Arbitrum one on Production and it was successful. I was also able to modify the recurring dnation.

Therefore, the issue on stage is probably with the Test networks.

Screenshot_20240806_170528_Chrome

LatifatAbdullahi commented 3 months ago

@divine-comedian @mohammadranjbarz

After donating on Prod(Recurring donation), I attempted to deposit stream and also end a recurring donation, both failed and threw the errors below.

End Recurring donation Screenshot_20240806_172807_Chrome

Deposit streams Screenshot_20240806_173104_Chrome

Also couldnt connect to Solana

kkatusic commented 3 months ago

@mohammadranjbarz, cc @LatifatAbdullahi, maybe you can add Trust Wallet Adapter here maybe that help to login with Solana Trust Address: https://github.com/Giveth/giveth-dapps-v2/blob/b8633878fbaa24cd43da0c155632a7dda001dce0/src/providers/solanaWalletProvider.tsx#L28

divine-comedian commented 3 months ago

Thanks @LatifatAbdullahi - @kkatusic maybe you can check out adding trust wallet to solana wallet adapter.

kkatusic commented 3 months ago

Thanks @LatifatAbdullahi - @kkatusic maybe you can check out adding trust wallet to solana wallet adapter.

@divine-comedian, cc @LatifatAbdullahi sdded adapter in PR, waiting to someone review it