-
Notifications
You must be signed in to change notification settings - Fork 559
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
Embedding Android WebView doc looks broken #884
Comments
ref: |
@martinhorvath commented in apache/cordova-android#494 (comment):
A pull request would be really appreciated. |
I had to find out that I really messed up the conventions of the commit and didn't want to create an even bigger mess with a pull request. Should I? |
I honestly don't understand how you were able to commit to this repo and where this commit actually "lives". How did you do that @martinhorvath? Which branch did you commit to? |
@janpio The commit is in his fork, it's just a GitHub URL/UI thing that makes it appear like it's in apache/cordova-docs. |
It indeed is... I thought "lets see what happens if I suggest an edit using the url from the offical docs". So.... what shall I do? :-) |
@martinhorvath a pull request would be much easier for us to track and comment on than a loose commit. While we would prefer the proposed commits to be cleaner your proposed commit would be better than nothing. |
Got it: martinhorvath@6dc8836 |
You can just create a Pull Request into this repository from your |
And we can always use |
Ok let's see if I can fix this... |
The documentation of embedding cordova in native apps is outdated and this updated is considered as a quick update.
PR done, I tried my best to follow the contribution guidelines. Would appreciate if you let me know what I missed to do. |
Applied suggested formatting changes
Issue Type
[x] Bug
[ ] Feature Request
Priority
[ ] Minor
[x] Major
[ ] Critical
[ ] Blocker
Environment
Description
In https://cordova.apache.org/docs/en/latest/guide/platforms/android/webview.html:
Sample code seems to use a
Config
object class.The one place where I see a Config class documented is in: https://developer.android.com/reference/android/util/Config
where I see no
init
method documented.As a general rule the document should never assume the user implicitly knows that s/he has to import a class from a package somewhere.
This looks broken to me, hoping to see an explanation and solution someday soon.
P.S. android.util.Config class looks deprecated according to https://developer.android.com/reference/android/util/Config.
The text was updated successfully, but these errors were encountered: