Closed kristiyanP closed 11 months ago
Hi @kristiyanP
Thank you for your contribution, it is highly appreciated. 🎉 Due to our internal development and release flow & checks, we can't merge your PR directly. You can be sure that the fix will be released with our next major update.
Description When I add the cordova push plugin on cordova 10&11 the plugin breaks reflection code. Steps to reproduce: Create class
Invoke test method in MainActivity extends CordovaActivity
Expected behavior That everything works.
Current behavior java.lang.AssertionError: Built-in class kotlin.Any is not found
Environment
Other From my debug it looks like that applying the plugin with afterEvaluate breaks the kotlin reflection https://github.com/HMS-Core/hms-cordova-plugin/blob/master/cordova-plugin-hms-push/src/android/build-extras.gradle#L41-L49 In fact if you modify it as the capacitor way it works.