diff --git a/src/android/startApp.java b/src/android/startApp.java index a696d8c..3aaf2f3 100644 --- a/src/android/startApp.java +++ b/src/android/startApp.java @@ -164,7 +164,7 @@ public void start(JSONArray args, CallbackContext callback) { LaunchIntent = new Intent(); if(params.has("intent")) { ComponentName ci = new ComponentName(cordova.getActivity().getPackageName(), params.getString("intent")); - it.setComponent(ci); + LaunchIntent.setComponent(ci); } }