-
Notifications
You must be signed in to change notification settings - Fork 10
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
Doc requirements for platform api expectations #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woo, awesome job. This is a fantastic start. I dropped like a million comments and I think there's a bit more work to do but we're definitely on the right track.
Other than my specific comments, a few overall nits:
- can we line up the reference API documentation so it is a bit more similar to, for example, the plugin API documentation? e.g. the Media plugin ref docs?
- can we ensure to backtick any code object references or plugin names?
- I would be down to move this into the README than keep it in a separate document. My two cents.
Thanks for taking this on @audreyso ! I think nailing this document will really reduce the barrier to entry to contributing to Cordova. Keep up the good work.
PlatformRequirements.md
Outdated
- bin/create.bat for windows | ||
- windows .bat file typically just calls bin/create with node | ||
|
||
bin/update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should remove this, as the update
script seems to be going away, e.g. https://issues.apache.org/jira/browse/CB-12948
PlatformRequirements.md
Outdated
- path to local repo of valid plugin: /my/cordova/repositories/cordova-plugin-globalization | ||
- The `removePlugin` method must return a promise either fulfilled or rejected with a CordovaError instance. | ||
|
||
- CLI work flow integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it is worth linking to / expanding on the two different kinds of workflows cordova supports? I.e. CLI-based workflow (supporting multiple platforms) or single-platform-based workflow that purely leverages the platform API. e.g. the top of the Android guide describes there are "platform centered shell tools" or "cross-platform Cordova CLI" workflows.
Another thing to note is that the tests that are in this repo could be used to verify the platformAPI for anyone attempting to implement it. |
ea28b27
to
839c321
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reading through the comments, I made a bunch of updates! Please let me know:
- if there's any comment that I misunderstood or missed
- if any links are not correct
- how the format looks and if anything needs to be changed there
Thanks so much! :)
839c321
to
0c0f950
Compare
0c0f950
to
9c434ee
Compare
This seems almost ready to merge. What about those last two comments @filmaj @purplecabbage @audreyso? Do you have suggestions what the text should be replaced with so this can be taken care of and merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
Went through the review comments and resolved the ones that were definitely taken care of before merging, left the ones that are not 100% explained or done yet and might need a new PR to fix. |
Ready for review!
Platforms affected
What does this PR do?
Document requirements for platform api expectations
What testing has been done on this change?
Checklist