-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build your first app Angular uses deprecated cameraPhoto object #1609
Comments
Thanks for the issue, it was fixed long ago. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am new here, but I believe I found the following issue while working through the "Build your first app" excercise with Angular:
The "Saving Photos to the Filesystem" instructs the user to use the CameraPhoto object in
private async savePicture(cameraPhoto: CameraPhoto) { }
Looking through
@capacitor
's Camera definitions.d.ts file it seems that CameraPhoto is deprecated, and that Photo should be used instead. This would however result in a name conflict with the previous step, where the user declares an interface with the same name:export interface Photo { filepath: string; webviewPath: string; }
I would be happy to submit a pull request for this, but I was unable to find the code responsible for that webpage in this repository.
The text was updated successfully, but these errors were encountered: