Camera Plug-In doesn't work after PhoneGap Build

I’ve struggled a bit with the camera plug-in in my ionic project.

To test I used this GitHub project: https://github.com/driftyco/ionic-example-cordova-camera
When I build the app and run it on my device I can open the camera, no problem.

But I want to use PhoneGap Build, and if I build the app with that and run the exact same project, the camera plug-in doesn’t work anymore. It just won’t start.

Anyone knows why this is and how I can make it work with PGB?
Thanks in advance!

EDIT: I’ve done this for android