Home IOS Development android – Do playstores rejects if I embed google maps inside webview?

android – Do playstores rejects if I embed google maps inside webview?

0
android – Do playstores rejects if I embed google maps inside webview?

[ad_1]

Honorable StackOverflow members,

  1. I’m constructing a Meals Provide App in React Native (v0.71.13) for Android and iOS.
  2. I’m utilizing react-native-webview bundle for WebView.
  3. Within the app I need to embed google maps for monitoring utilizing following approaches (simply an instance)

Let,

start_point = (23.7910155,90.4028301)

updated_start_point = (23.7874425,90.4151925)

end_point = (23.7695368,90.4302122)

I’ll get the beneath picture if I set the beneath code:

map01

const MyWebComponent = () => {
return <WebView 
supply={{ uri: 'https://www.google.com/maps/dir/23.7910155,90.4028301/23.7695368,90.4302122/@23.7910155,90.4028301,18z/knowledge=!3m1!4b1!4m2!4m1!3e2?hl=en' }} 
type={{ flex: 1 }} />;
}

If I set the updated_start_point, then I’ll get the beneath picture:

map02

const MyWebComponent = () => {
return <WebView 
supply={{ uri: 'https://www.google.com/maps/dir/23.7874425,90.4151925/23.7695368,90.4302122/@23.7874425,90.4151925,18z/knowledge=!3m1!4b1!4m2!4m1!3e2?hl=en' }} 
type={{ flex: 1 }} />;
}

I need to know if I observe the above method then is it doable to get rejected from Google or Apple app shops?

Thanks prematurely.

N.B.: I’ve pay as you go bank card and Google cloud accepts solely postpaid playing cards. In order that, I need to attempt talked about method.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here