Closed thoechtl closed 2 years ago
@thoechtl It seems to me that you are using 2 different versions of play services(15.0.1 and 17.0.0). There may be some other plugin which is using a different version than this. so, In this case, you need to mention the play services version explicitly.
You can change/add this preferences for this plugin.
<plugin name="cordova-plugin-sms-retriever-manager" spec="1.0.3">
<variable name="PLAY_SERVICES_VERSION" value="15.0.1" /> -- You can align play services version with other plugins which you have installed. (Play service must be same for all plugins which is using any play services)
</plugin>
I am using Capacitor and get the error below, unless I manually add a dependency to
'com.google.android.gms:play-services-auth:20.1.0
in my build.gradle. I don't use Cordova (anymore), but shouldn't this also be configured in the plugin.xml? The dependency is also mentioned in the Google Docs: https://developers.google.com/identity/sms-retriever/request?hl=enThanks for the great plugin :-)