Cordova-plugin-googlemaps: Allow installation without API keys

Created on 10 Oct 2018  路  7Comments  路  Source: mapsplugin/cordova-plugin-googlemaps

Please tell us your new feature idea
Allow plugin installation without API keys, currently if no API is provided the installation fails with an error.

Why do you need it?
Not all installation is manual. For example, when adding cordova platform this plugin fails to install and prevents all other plugins in the project from installing as well.

How helps other people?
Allows plugin installation to be automated by cordova and prevents hard to track errors when automated installation fails.

All 7 comments

nop.

Why? The current behavior is poor and does not work with cordova.

Cordova provides only one way to define a node in AndroidManifest.xml is to define plugin.xml.
There is no other solution.

https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/v2.4.6/plugin.xml#L236-L240

If you find alternative way (but not using cordova hook script, because cloud builds do not support it), please send a pull request.

It is possible. The same edit-config and config-file nodes available in plugin.xml also work in config.xml

@cpamp, can you change as needed and send a pull request please?

馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

splitice picture splitice  路  5Comments

cedrickbae picture cedrickbae  路  4Comments

melkir picture melkir  路  5Comments

BTW18 picture BTW18  路  3Comments

wf9a5m75 picture wf9a5m75  路  5Comments