breautek opened a new pull request, #914:
URL: https://github.com/apache/cordova-plugin-camera/pull/914

   <!--
   Please make sure the checklist boxes are all checked before submitting the 
PR. The checklist is intended as a quick reference, for complete details please 
see our Contributor Guidelines:
   
   http://cordova.apache.org/contribute/contribute_guidelines.html
   
   Thanks!
   -->
   
   ### Platforms affected
   
   All
   
   ### Motivation and Context
   <!-- Why is this change required? What problem does it solve? -->
   <!-- If it fixes an open issue, please link to the issue here. -->
   
   Deprecate allowEdit. It's already known and documented that on Android that 
it's unreliable and unsafe to use for reasons outside of our control. While it 
might be stable enough for iOS, I don't think we can ever provide the same 
capability for Android without grossly entering scope creep for the plugin 
responsibilities.
   
   Generally speaking we should refrain from having platform-specific features. 
Therefore I propose to formally deprecate it in v8.0.0 so that we can indicate 
that we don't intend to support issues arising form using `allowEdit`, either 
on iOS or on android.
   
   Note: While I have language indicating that it will be removed v9.0.0, that 
will obviously depend on who decides to make that release in the future, so 
don't consider have to consider it as a promise, but it should serve as a 
sufficient warning that in v9 or any future release the feature can disappear.
   
   ### Description
   <!-- Describe your changes in detail -->
   
   Adds a deprecation warning in the JS console, if `getPicture` is used with 
`allowEdit === true`
   
   ### Testing
   <!-- Please describe in detail how you tested your changes. -->
   
   `npm test`
   
   ### Checklist
   
   - [x] I've run the tests to see all new and existing tests pass
   - [x] I added automated test coverage as appropriate for this change
   - [x] Commit is prefixed with `(platform)` if this change only applies to 
one platform (e.g. `(android)`)
   - [x] If this Pull Request resolves an issue, I linked to the issue in the 
text above (and used the correct [keyword to close issues using 
keywords](https://help.github.com/articles/closing-issues-using-keywords/))
   - [x] I've updated the documentation if necessary
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to