mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
feat!: deprecate CordovaPlugin's method initialize
This commit is contained in:
parent
bb37da02b9
commit
d9f256aaf0
@ -64,7 +64,11 @@ public class CordovaPlugin {
|
||||
* 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) {
|
||||
}
|
||||
|
||||
@ -416,7 +420,7 @@ public class CordovaPlugin {
|
||||
* @param requestCode
|
||||
* @param permissions
|
||||
* @param grantResults
|
||||
*
|
||||
*
|
||||
* @deprecated Use {@link #onRequestPermissionsResult} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
|
Loading…
Reference in New Issue
Block a user