Skip to content

Instantly share code, notes, and snippets.

@phpmaps
Created October 26, 2023 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpmaps/c1515f0af18cf15518b3d4d29f10000e to your computer and use it in GitHub Desktop.
Save phpmaps/c1515f0af18cf15518b3d4d29f10000e to your computer and use it in GitHub Desktop.
Cordova hide from UI
// Do this to test faceMatch non-UI API
cordova.exec(function(data) {
console.log("face match Success: "+data);
myObj = JSON.stringify(data);
finishOnboarding();
}, function(err) {
console.log("Error faceMatch: "+ err);
finishOnboarding();
}, "Cplugin", "faceMatch", []);
//Do this, comment this line in you existing app
finishOnboarding();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment