When urgent on a button, the app crashes in TestFlight and it says it’s calling out to a block. It doesn’t crash in Expo.
I attempted altering button to the touch opacity from pressable.I attempted closing popover it was in first after which linking to url. See code beneath:
<Pressable
onPress={() => {
changePopover2(key2);
if (appChild.kind === 'BKM') {
if (appChild.url.contains('https://')) { Linking.openURL(appChild.url) }
else { Linking.openURL(`https://sso/${appChild.url}?access_token=${accessTokenActual}`) }
}
else { Linking.openURL(`https://sso/${appChild.applicationId}?access_token=${accessTokenActual}`) }
}}
>