BlinkID / blinkid-cordova

ID scanning for cross-platform apps built with Cordova and Phonegap.
48 stars 34 forks source link

fix package id and plugin hooks #67

Closed jkylehumphrey closed 5 years ago

jkylehumphrey commented 6 years ago

The package id's were not valid and did not match the plugin name so using cordova prepare will fail.

Also, attempting to add the plugin to an existing project or running cordova prepare on a newly cloned project will fail because the hook was set to run initIOSFramework.sh after platforms are added but the prepare sequence adds platforms before installing plugins. This resulted in a missing file error for MicroBlink.bundle.

I'm not sure how the corrupted project.pbxproj file is related, but these changes have also made that go away.