Closed joe-at-startupmedia closed 9 months ago
@joe-at-startupmedia We apologize for the delay in addressing this issue. We experienced some difficulties with our GitHub integration, and as a result, some tickets including this one were overlooked.
Could you please confirm whether this issue is still occurring for you?
@joe-at-startupmedia We apologize for the delay in addressing this issue. We experienced some difficulties with our GitHub integration, and as a result, some tickets including this one were overlooked.
Could you please confirm whether this issue is still occurring for you?
Hello, based on the solution I provided above, it's no longer an issue for me. With that being said, others may experience the same issue without following the steps I've provided above. You can try to replicate the issue by following the steps as I've documented. Feel free to close this issue as it's been so long since I've encountered it that I've since moved on to other things.
@joe-at-startupmedia, thank you for your answer. We've checked it and found out the root cause of this issue. We should update the pushwoosh-location
plugin to fix it, and this will be done soon. Appreciate your cooperation!
We've bumped max com.google.android.gms:play-services-location
dependency version to 21.0.99, so you can now use the plugin with the latest Google library version. However, we cannot affect your local Cordova project settings from the plugin, so you'll still have to change "IS_GRADLE_PLUGIN_GOOGLE_SERVICES_ENABLED"
parameter value manually.
Also, it's quite strange that you had to manually add googleServices.disableVersionCheck = true
line to your build.gradle, as the plugin should already do that. However, if it does not happen, it seems that your solution should still work.
This is an error I'm getting in the log and here is how I resolved it.
After research I found that it's related to cordova config setting in the project
cdv-gradle-config.json
fileWhen I change this to
true
I get the following build error:That's because the resolved version from
Results in resolving to 21.0.1 (the current latest version) which is greater than 20.0.99.
So now If I manually specify the version in project setting and build.gradle: 20.0.0 (which as a security vulnerability: CVE-2022-2390) https://mvnrepository.com/artifact/com.google.android.gms/play-services-location/20.0.0
I get the following error:
Next I modified by app/build.gradle file from
to
This resulted in the FcmRegistrarWorker successfully registering the token.