Beta 25 breaks ionic/pwa-elements camera modal
See original GitHub issueDescription of the problem:
It seems capacitor beta.25 breaks the camera plugin using ionic/pwa-elements with an ionic/angular project. When I update to beta 25 I receive the following error:
TypeError: cameraModal.present is not a function error.
If i revert to beta.24 it works again as expected.
Affected platform
- Android
- iOS
- electron
- [ X ] web
OS of the development machine
- Windows
- [ X ] macOS
- linux
Other information: I am using the implementation described below. https://stenciljs.com/docs/angular/
Capacitor version: Beta 25 node version: v10.15.3 npm version: 6.9.0
Steps to reproduce:
Install Camera plugin on ionic/angular 4.4.0 project.
Integrate ionic/pwa-elements.
Call the Camera.getPhoto() function.
Get error.
TypeError: cameraModal.present is not a function error.
Downgrade to beta.24 and it all works.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:16 (10 by maintainers)
Top GitHub Comments
Looks like you have the docs cached. The angular instructions in that link are
Angular
main.ts:
So exactly what you did
The animation thing is temporary and will be coming back