[native] Support rainbow url scheme for Android
Summary:
SIWE tries to redirect user to Rainbow which fails with a warning. To handle this we need to specify which apps we will interact with in the Android manifest.
More context:
ENG-2571
StackOverflow Post
Documentation
Test Plan:
In the logged-out-modal.react.js I replaced onPressSIWE with:
onPressSIWE = () => { const url = 'rainbow://open?_branch_referrer=H4sIAAAAAAAAA8soKSkottLXL8pLKk8sKNBLzs%2FVL08GAO6SbDcWAAAA&link_click_id=1136675358861894366'; Linking.canOpenURL(url).then(function (supported) { if (supported) { return Linking.openURL(url); } console.warn("Can't open url: ".concat(url)); return undefined; }); };
and checked if the Rainbow app opens correctly.
Reviewers: atul, tomek, ashoat
Reviewed By: tomek, ashoat
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D6090