Here's a screenshot of the warnings I receive whenever I try building a .apk or .aab bundle:
Here's what I've tried so far: Inside build.gradle file, I've upgraded my targetSdkVersion to 33 & compileSdkVersion to 33 but the warnings/errors still appear after upgrading.
And here's my pubspec.yaml file:
dependencies:
camera: ^0.10.0 4
CodePudding user response:
You are not receiving errors but warnings, these warnings are just saying that the current method used in the package is deprecated.
You shouldn't worry about it, the maintainer of the package probably know about it and will update the package to fix those warning.
Your code should still work with those warnings.