package com.oliviafil.cam;

import org.apache.cordova.*;
import org.json.JSONArray;
import org.json.JSONException;

public class facedetect extends CordovaPlugin {

    @Override
    public boolean execute(String action, JSONArray data, CallbackContext callbackContext) throws JSONException {

        if (action.equals("startfacedetect")) {

            String name = data.getString(0);
            String message = "Hello, " + name;
            callbackContext.success(message);

            return true;

        } else {
            
            return false;

        }
    }
}

@@ -7,23 +7,31 @@
 e co
-m.oliviafil.cam
+rdova-plugin-facedetect
 ;%0A%0Ai
@@ -526,28 +526,16 @@
  else %7B%0A
-            
 %0A       

Update facedetect.java