diff --git a/App/Components/QRCodeModal.tsx b/App/Components/QRCodeModal.tsx index 11e4bf69b..39776a857 100644 --- a/App/Components/QRCodeModal.tsx +++ b/App/Components/QRCodeModal.tsx @@ -6,7 +6,8 @@ import { View, Text, TouchableOpacity, - KeyboardAvoidingView + KeyboardAvoidingView, + Platform } from 'react-native' import QRCode from 'react-native-qrcode' import Modal from 'react-native-modal' @@ -32,6 +33,10 @@ interface ScreenProps { class QRCodeModal extends React.Component { getLink (link: string): string { + if (Platform.OS === 'android') { + // issues with Android link getting stolen by chrome... so just going to URL it now + return link + } return link.replace('https://', `${Config.RN_URL_SCHEME}://`) } @@ -55,7 +60,7 @@ class QRCodeModal extends React.Component { {this.props.invite && { } render () { + // flexGrow allows android to scroll, however https://github.com/facebook/react-native/issues/19434 is still an issue return ( diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 2171baa98..932dfefba 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -35,7 +35,9 @@ + +