mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
FIX: Android: 'Leave us a review' button becomes unresponsive #3577
This commit is contained in:
parent
7e06628871
commit
372d4bf35c
@ -375,7 +375,7 @@ PODS:
|
||||
- React-Core
|
||||
- RNDefaultPreference (1.4.3):
|
||||
- React
|
||||
- RNDeviceInfo (8.1.3):
|
||||
- RNDeviceInfo (8.1.4):
|
||||
- React-Core
|
||||
- RNFS (2.18.0):
|
||||
- React
|
||||
@ -778,7 +778,7 @@ SPEC CHECKSUMS:
|
||||
RNCMaskedView: f127cd9652acfa31b91dcff613e07ba18b774db6
|
||||
RNCPushNotificationIOS: 9b79f69199e9c721fcb2d9f1d99d0510f2e2356c
|
||||
RNDefaultPreference: 21816c0a6f61a2829ccc0cef034392e9b509ee5f
|
||||
RNDeviceInfo: 49f6d50f861c7810fac2dd9b71cfb56cc1940e14
|
||||
RNDeviceInfo: 4975ca642df085a3e5458be4be1de7b7f3d5f24f
|
||||
RNFS: 3ab21fa6c56d65566d1fb26c2228e2b6132e5e32
|
||||
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
|
||||
RNHandoff: d3b0754cca3a6bcd9b25f544f733f7f033ccf5fa
|
||||
|
@ -1,8 +1,8 @@
|
||||
import React from 'react';
|
||||
import { TouchableOpacity, ScrollView, Linking, Image, View, Text, StyleSheet, useWindowDimensions } from 'react-native';
|
||||
import { TouchableOpacity, ScrollView, Linking, Image, View, Text, StyleSheet, useWindowDimensions, Platform } from 'react-native';
|
||||
import { useNavigation, useTheme } from '@react-navigation/native';
|
||||
import { Icon } from 'react-native-elements';
|
||||
import { getApplicationName, getVersion, getBundleId, getBuildNumber, getUniqueId } from 'react-native-device-info';
|
||||
import { getApplicationName, getVersion, getBundleId, getBuildNumber, getUniqueId, hasGmsSync } from 'react-native-device-info';
|
||||
import Rate, { AndroidMarket } from 'react-native-rate';
|
||||
|
||||
import { BlueButton, BlueCard, BlueListItem, BlueSpacing20, BlueTextCentered } from '../../BlueComponents';
|
||||
@ -101,7 +101,7 @@ const About = () => {
|
||||
AppleAppID: '1376878040',
|
||||
GooglePackageName: 'io.bluewallet.bluewallet',
|
||||
preferredAndroidMarket: AndroidMarket.Google,
|
||||
preferInApp: true,
|
||||
preferInApp: Platform.OS !== 'android',
|
||||
openAppStoreIfInAppFails: true,
|
||||
fallbackPlatformURL: 'https://bluewallet.io',
|
||||
};
|
||||
@ -119,7 +119,7 @@ const About = () => {
|
||||
<Image style={styles.logo} source={require('../../img/bluebeast.png')} />
|
||||
<Text style={styles.textFree}>{loc.settings.about_free}</Text>
|
||||
<Text style={styles.textBackup}>{formatStringAddTwoWhiteSpaces(loc.settings.about_backup)}</Text>
|
||||
<BlueButton onPress={handleOnRatePress} title={loc.settings.about_review + ' ⭐🙏'} />
|
||||
{hasGmsSync() && <BlueButton onPress={handleOnRatePress} title={loc.settings.about_review + ' ⭐🙏'} />}
|
||||
</View>
|
||||
</BlueCard>
|
||||
<BlueListItem
|
||||
|
Loading…
Reference in New Issue
Block a user