breautek commented on issue #1325: URL: https://github.com/apache/cordova-android/issues/1325#issuecomment-912711019
[getActivity](https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaInterface.java#L58) interface has changed to return an `AppCompatActivity` instead of `Activity` type. This is an intentional change, `AppCompatActivity` is an `Activity` so I don't see how this could be a breaking change, perhaps you need to explicitly declare the type if you're storing the result in a variable: e.g.: ``` AppCompatActivity activity = this.cordova.getActivity(); ``` Let us know if this helps. If not, we may need to know more about the plugin regarding it's usage of the activity to provide further assistance. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
