Honorable StackOverflow members,
- I am building a Food Supply App in React Native (v0.71.13) for Android and iOS.
- I am using
react-native-webviewpackage for WebView. - In the app I want to embed google maps for tracking using following approaches (just an example)
Let,
start_point = (23.7910155,90.4028301)
updated_start_point = (23.7874425,90.4151925)
end_point = (23.7695368,90.4302122)
I will get the below image if I set the below code:
const MyWebComponent = () => {
return <WebView
source={{ uri: 'https://www.google.com/maps/dir/23.7910155,90.4028301/23.7695368,90.4302122/@23.7910155,90.4028301,18z/data=!3m1!4b1!4m2!4m1!3e2?hl=en' }}
style={{ flex: 1 }} />;
}
If I set the updated_start_point, then I will get the below image:
const MyWebComponent = () => {
return <WebView
source={{ uri: 'https://www.google.com/maps/dir/23.7874425,90.4151925/23.7695368,90.4302122/@23.7874425,90.4151925,18z/data=!3m1!4b1!4m2!4m1!3e2?hl=en' }}
style={{ flex: 1 }} />;
}
If I follow the above approach then is it possible to get rejected from Google or Apple app stores? I want some suggestions.
Thanks in advance.
N.B.: I have prepaid credit card and Google cloud accepts only postpaid cards. So that, I want to try mentioned approach.




