Closed quetool closed 8 months ago
Added Redirect validation during Web3Wallet and Web3App initialization
Possible errors that the wallet or dapp developer would see in the console log if something wrong is happening with the Redirect value:
CFBundleURLTypes key is missing from Info.plist (screenshot is wrong by saying CFBundleURLSchemes, it was already changed to CFBundleURLTypes)
CFBundleURLTypes
CFBundleURLSchemes
The whole Redirect object is missing from PairingMetada
Redirect
PairingMetada
Only native option from Redirect object is missing
native
native option on Redirect object is set but not included in CFBundleURLTypes key
Example for Web3Wallet are given but the same will happen for Web3App
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage 0.0% Duplication on New Code
See analysis details on SonarCloud
Description
Added Redirect validation during Web3Wallet and Web3App initialization
Possible errors that the wallet or dapp developer would see in the console log if something wrong is happening with the Redirect value:
CFBundleURLTypes
key is missing from Info.plist (screenshot is wrong by sayingCFBundleURLSchemes
, it was already changed toCFBundleURLTypes
)The whole
Redirect
object is missing fromPairingMetada
Only
native
option fromRedirect
object is missingnative
option onRedirect
object is set but not included inCFBundleURLTypes
keyExample for Web3Wallet are given but the same will happen for Web3App
Due Dilligence