This Gulp plugin was designed to automate the process of uploading application files to the now-defunct build.phonegap.com service and triggering cloud builds. While the package itself is available on npm at version 0.1.5, the core service it integrates with, Adobe PhoneGap Build, was officially discontinued by Adobe on October 1, 2020. This renders the plugin non-functional for its original purpose. The project was in 'BETA' and under 'active development' at the time of its last update, forking from `grunt-phonegap-build` to provide similar functionality for Gulp users. Its key differentiators were its direct integration with Gulp streams and the ability to configure various PhoneGap Build parameters like app ID, user credentials, target platforms, and signing keys directly within a `gulpfile.js`.
npm install gulp-phonegap-buildVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to define a Gulp task using `gulp-phonegap-build` to upload files, trigger a build for specific platforms, and download the resulting app binaries, configured with a token for authentication. Note that this code will no longer function due to the PhoneGap Build service shutdown.
Migrate to alternative cross-platform development solutions like Apache Cordova (for local builds), Ionic Appflow, React Native, Flutter, or Progressive Web Apps.
Always specify `platforms: ['ios', 'android']` (or other relevant platforms) in the plugin configuration to ensure builds are triggered. (This is now moot due to service shutdown.)
Ensure `gulp.src('path/to/files/**/*', {dot: true})` is used to include all necessary files, including dotfiles. (This is now moot due to service shutdown.)This error, particularly after October 2020, likely indicates that the `build.phonegap.com` service is no longer operational. The plugin cannot recover from this, and the underlying service is permanently offline.
Prior to the shutdown, verify `user` and `appId` configurations. After October 2020, this error confirms the service is defunct, and the plugin is no longer usable.