eclipsesource / tabris-plugin-firebase

A firebase plugin for Tabris.js
https://tabrisjs.com
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Fix 'plugin with id not found' error #72

Closed elshadsm closed 2 years ago

elshadsm commented 2 years ago

When we build a Tabris.js app with the 'tabris-plugin-firebase' plugin, the build fails with the error "Plugin with id 'com.google.gms.google-services' not found.".

The change uses the class name GoogleServicesPlugin instead of id(string) to be able to apply the plugin from the non-root gradle file, which solves the issue. Additionally, the change applies the plugin if the googleServices is not added to cdvPluginPostBuildExtras somewhere else.

Fixes #71