mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2026-02-03 00:06:46 +08:00
- On iPadOS it was possible to configure a popover for setting the position, width and arrow position of the popover. The code used the deprecated `UIPopoverController`, which would have to be fixed. To keep the plugin also maintainable, this was removed. - The popover could repositioned with a `CameraPopoverHandle` on a `window.onorientationchange`. This was removed also. - Removed documentation for popover from `README.md`
iOS Tests for CDVCamera
You need to install node.js to pull in cordova-ios.
First install cordova-ios:
npm install
... in the current folder.
Testing from Xcode
- Launch the
CDVCameraTest.xcworkspacefile. - Choose "CDVCameraLibTests" from the scheme drop-down menu
- Click and hold on the
Playbutton, and choose theWrenchicon to run the tests
Testing from the command line
npm test