I have created app using WebViewer, but app is rejected by Google Play Store (StrictMode policy violation)

I have created app using WebViewer, but app is rejected by Google Play Store. There are several errors reported by Play store, under category of "StrictMode policy violation".

I have not used any other native function other than WebViewer. What could be the reason for the error? Any suggestion or pointers that can help in getting the app approved in App Store will be highly appreciated.

what is the exact error message?
see also

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

There are multiple errors under "StrictMode policy violation". The testing screenshot is showing app content being nevigated to Facebook, various news portals and other things due to few external links I included in the app. Memory consumption is going as high as 248MB, even though my web content is a light weight.

Here is the screenshot of one of the error message captured by Google Play store. If you observe, the webcontent within the in-app-browser (WebView) is going out of control. As I said earlier, App memory consumption in Mobile is also being shown as high as 248MB by Test app in App Store. WebView wrappers are not optimized to handle surfing through full internet. It is the job of system browser (Device's default browser). So solve this, I need to know how can configure the app to identify the difference between internal link vs external link and let the app open system browser in case of external links.

this is only a warning, you can ignore it at the moment

see also https://www.google.com/search?q=Strictmode+policy+violation+Non+Sdk+Api+used+Violation
and
https://stackoverflow.com/a/51989550/1545993

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

1 Like