@havesource/cordova-plugin-push causes build failure

There’s an old thread from 2022 that talks about this problem but the OP never followed up: https://forum.volt.build/t/using-plugin-havesource-cordova-plugin-push-causes-build-failure/892/1

I’ve been having the same problem:

> Task :app:compileDebugKotlin
e: /platforms/android/app/src/main/java/com/adobe/phonegap/push/PushPlugin.kt: (476, 57): Unresolved reference: token
e: /platforms/android/app/src/main/java/com/adobe/phonegap/push/PushPlugin.kt: (645, 57): Unresolved reference: deleteToken

> Task :app:compileDebugKotlin FAILED
> Task :app:mergeExtDexDebug

FAILURE: Build failed with an exception.

Thoughts? Suggestions? Ideas? Rocket launches?

The plugin docs say to add this:

    <variable name="FCM_VERSION" value="18.+" />

the plugin itself requires 23+ - just removing that line solved the problem.