[native] Update height calculations for SIWEPanel
Summary:
Two changes here:
- I updated the manually-determined offsets we use for the WalletConnect modal height. I did this by playing around with the modal and picking numbers that made it look good.
- I added some consideration for the keyboard height, since it's possible to search the WalletConnect modal. To achieve this, I had to introduce a new useKeyboardHeight hook.
Depends on D9436
Test Plan:
I tested the WalletConnect modal:
- Tested iOS and Android physical devices
- Tested in a public staging environment (comm.domains)
- Tested the QR code scan feature on web
- Tested expanding to see "All wallets"
- Tested selecting a wallet (Rainbow)
- Tested searching for a wallet by typing a query
Some videos of the testing can be seen in the final diff in the stack.
Reviewers: rohan, atul, ginsu
Reviewed By: ginsu
Subscribers: tomek, wyilio
Differential Revision: https://phab.comm.dev/D9437