[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation changes
[ ] Other... Please describe:
PR Checklist
For bug fixes/features, please check if your PR fulfills the following requirements:
[x] Testing has been carried out for the changes have been added
[x] Regression testing has been carried out for existing functionality
[x] Docs have been added/updated
What is the purpose of this PR?
Fixes #249
Does this PR introduce a breaking change?
[ ] Yes
[x] No
What testing has been done on the changes in the PR?
What testing has been done on existing functionality?
We modified in an existing working project that uses this plugin to use the new setApiKey function rather than passing it through config.xml in the variable.
All navigation-related features are working as before. Testing was done on both android and iOS.
… access to google API key
PR Type
What kind of change does this PR introduce?
PR Checklist
For bug fixes/features, please check if your PR fulfills the following requirements:
What is the purpose of this PR?
Fixes #249
Does this PR introduce a breaking change?
What testing has been done on the changes in the PR?
What testing has been done on existing functionality?
We modified in an existing working project that uses this plugin to use the new setApiKey function rather than passing it through config.xml in the variable. All navigation-related features are working as before. Testing was done on both android and iOS.
Other information
The setApiKey function is useful when the Google API key is retrieved through API or stored in the encrypted www folder(https://www.npmjs.com/package/cordova-plugin-mfp).