mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
REF: Allow reports on dev mode (#7314)
Bug reports help in some scenarios (especially with extensions like watchOS app)
This commit is contained in:
parent
95ab408605
commit
01ec605c51
@ -12,8 +12,7 @@ const BlueApp = BlueAppClass.getInstance();
|
|||||||
*/
|
*/
|
||||||
let userHasOptedOut: boolean = false;
|
let userHasOptedOut: boolean = false;
|
||||||
|
|
||||||
if (process.env.NODE_ENV !== 'development') {
|
(async () => {
|
||||||
(async () => {
|
|
||||||
const uniqueID = await getUniqueId();
|
const uniqueID = await getUniqueId();
|
||||||
const doNotTrack = await BlueApp.isDoNotTrackEnabled();
|
const doNotTrack = await BlueApp.isDoNotTrackEnabled();
|
||||||
|
|
||||||
@ -30,8 +29,7 @@ if (process.env.NODE_ENV !== 'development') {
|
|||||||
return !userHasOptedOut;
|
return !userHasOptedOut;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
}
|
|
||||||
|
|
||||||
const A = async (event: string) => {};
|
const A = async (event: string) => {};
|
||||||
|
|
||||||
|
@ -207,8 +207,6 @@ const About: React.FC = () => {
|
|||||||
<BlueTextCentered>
|
<BlueTextCentered>
|
||||||
w, h = {width}, {height}
|
w, h = {width}, {height}
|
||||||
</BlueTextCentered>
|
</BlueTextCentered>
|
||||||
{process.env.NODE_ENV !== 'development' && (
|
|
||||||
<>
|
|
||||||
<BlueTextCentered>Unique ID: {getUniqueIdSync()}</BlueTextCentered>
|
<BlueTextCentered>Unique ID: {getUniqueIdSync()}</BlueTextCentered>
|
||||||
<View style={styles.copyToClipboard}>
|
<View style={styles.copyToClipboard}>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
@ -222,8 +220,6 @@ const About: React.FC = () => {
|
|||||||
<Text style={styles.copyToClipboardText}>{loc.transactions.details_copy}</Text>
|
<Text style={styles.copyToClipboardText}>{loc.transactions.details_copy}</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
</>
|
|
||||||
)}
|
|
||||||
<BlueSpacing20 />
|
<BlueSpacing20 />
|
||||||
<BlueSpacing20 />
|
<BlueSpacing20 />
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
Loading…
Reference in New Issue
Block a user