Skip to content
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

feat!: deprecate CordovaPlugin's method initialize #1771

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion framework/src/org/apache/cordova/CordovaPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ public final void privateInitialize(String serviceName, CordovaInterface cordova
* Called after plugin construction and fields have been initialized.
* Prefer to use pluginInitialize instead since there is no value in
* having parameters on the initialize() function.
*
* @deprecated Use {@link #pluginInitialize()} instead. This method is no longer recommended
* and will be removed in future versions.
*/
@Deprecated
public void initialize(CordovaInterface cordova, CordovaWebView webView) {
}

Expand Down Expand Up @@ -416,7 +420,7 @@ public boolean hasPermisssion() {
* @param requestCode
* @param permissions
* @param grantResults
*
*
* @deprecated Use {@link #onRequestPermissionsResult} instead.
*/
@Deprecated
Expand Down
Loading