PieterVanPoyer / cordova-plugin-testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plugin-testing-apps

Setup a plugin testing app

Go to the root folder of the git repo

npx cordova create file-plugin-testing com.pvpoyer.fileplugintesting FilePluginTesting

cd file-plugin-testing
npm i

npx cordova platform add ios
npx cordova platform add android

Copy the npm commands over from another plugin testing folder.

npm run cordova-prepare
npm run build-for-android
npm run emulate-for-android

The app should open inside the emulator.

When you take a picture and confirm the picture, the image should be visible on the webview.

You can click the buttons to test with and without saveToPhotoAlbum

Installing another plugin from a feature branche in a fork.

npx cordova plugin remove cordova-plugin-camera
npx cordova plugin add https://github.com/PieterVanPoyer/cordova-plugin-camera/#bugfix/issue-665-save-instance-restore-bug

Reproduction UI

About


Languages

Language:Java 86.9%Language:JavaScript 5.1%Language:CSS 4.6%Language:HTML 3.4%