Skip to content

Commit

Permalink
Merge pull request #858 from smart-village-solutions/fix/BBNAV-321-re…
Browse files Browse the repository at this point in the history
…solve-the-error-preventing-the-bbnavi-website-from-opening

fix: resolve the error preventing the bbnavi website from opening
  • Loading branch information
ardasnturk committed Jun 27, 2023
2 parents ac84794 + 051c46c commit 88f1355
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/screens/WebScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export const WebScreen = ({ route }) => {
// https://github.com/react-native-webview/react-native-webview/blob/19980d888d66554875f3ac64b3e8a35bd7ad998b/src/WebViewTypes.ts#L378-L389
decelerationRate="normal"
// https://github.com/react-native-webview/react-native-webview/blob/master/docs/Reference.md#applicationnameforuseragent
applicationNameForUserAgent={appJson.expo.scheme}
applicationNameForUserAgent={
!webUrl.includes('bbnavi.de') ? appJson.expo.scheme : undefined
}
/>
</SafeAreaViewFlex>
);
Expand Down

0 comments on commit 88f1355

Please sign in to comment.