Skip to content

Commit

Permalink
updated instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mul1sh committed Mar 22, 2017
1 parent a611305 commit 35664ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ For ionic 2/ typescript users, add the plugin with above command, then define an
//do some error handling

});
....
});
}

Expand Down
17 changes: 0 additions & 17 deletions src/android/CorewiseFingerprintAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,20 @@
import android.util.Log;
import android.view.KeyEvent;


import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.json.JSONArray;
import org.json.JSONException;




public class CorewiseFingerprintAuth extends CordovaPlugin{


//protected MyApplication application;
private HandlerThread handlerThread;
private ProgressDialog progressDialog;
private AsyncFingerprint asyncFingerprint;
private CallbackContext callbackContext = null;



@Override
public boolean execute(String action, JSONArray args, CallbackContext cbCtx) throws JSONException {

Expand All @@ -55,7 +47,6 @@ public void run() {
return true;

}

@Override
public void initialize(CordovaInterface cordova, CordovaWebView webView) {
super.initialize(cordova, webView);
Expand All @@ -66,7 +57,6 @@ public void initialize(CordovaInterface cordova, CordovaWebView webView) {
initData();
}


private Handler mHandler = new Handler() {

@Override
Expand Down Expand Up @@ -114,14 +104,8 @@ public void handleMessage(Message msg) {
private void initData() {

asyncFingerprint = new AsyncFingerprint(handlerThread.getLooper(),mHandler);


asyncFingerprint.setFingerprintType(FingerprintAPI.BIG_FINGERPRINT_SIZE);
}




private void showProgressDialog(String msg) {
progressDialog = new ProgressDialog(webView.getContext());
progressDialog.setMessage(msg);
Expand Down Expand Up @@ -185,5 +169,4 @@ public void onPause(boolean multitasking) {
}



}

0 comments on commit 35664ed

Please sign in to comment.