diff --git a/engine/src/flutter/shell/platform/android/org/domokit/sky/shell/SkyActivity.java b/engine/src/flutter/shell/platform/android/org/domokit/sky/shell/SkyActivity.java index 312083514d..74172f436b 100644 --- a/engine/src/flutter/shell/platform/android/org/domokit/sky/shell/SkyActivity.java +++ b/engine/src/flutter/shell/platform/android/org/domokit/sky/shell/SkyActivity.java @@ -134,7 +134,14 @@ public class SkyActivity extends Activity { String action = intent.getAction(); if (Intent.ACTION_RUN.equals(action)) { String route = intent.getStringExtra("route"); - mView.runFromBundle(intent.getDataString(), + String appBundlePath = intent.getDataString(); + if (appBundlePath == null) { + // Fall back to the installation path if no bundle path + // was specified. + appBundlePath = + FlutterMain.findAppBundlePath(getApplicationContext()); + } + mView.runFromBundle(appBundlePath, intent.getStringExtra("snapshot")); if (route != null) mView.pushRoute(route);