PTKDMobile App Security
Knowledge base / PTKD-REVIEW-THIN-WRAPPER
high M8 MASVS-CODE-1 static analysis PTKD-REVIEW-THIN-WRAPPER

App loads a live website (web shell)

The Capacitor or Cordova configuration points the app's WebView at a live https:// site instead of bundled code. App Review rejects these as repackaged websites (Guideline 4.2), and content that can change after review risks 2.5.2.

How it's exploited

The Capacitor or Cordova config points the WebView at a live website. App Review rejects repackaged websites under Guideline 4.2, and content that can change after approval risks 2.5.2.

Why it matters

Rejection, often repeated until the app ships real native functionality.

How to fix it

  1. Bundle the web build into the app: remove server.url (Capacitor) or the remote <content src> (Cordova).
  2. Add capabilities a website can't offer: offline use, push notifications, device features.
capacitor.config.json
{
  "appId": "com.example.app",
  "webDir": "dist"
}

References