Google places sdk web - remove scr script#94
Google places sdk web - remove scr script#94anggaaryas wants to merge 2 commits intomatanshukry:masterfrom
Conversation
remove src Signed-off-by: Angga Arya Saputra <36914072+anggaaryas@users.noreply.github.com>
Signed-off-by: Angga Arya Saputra <36914072+anggaaryas@users.noreply.github.com>
|
@anggaaryas I don't follow; Why would we want the user to do it instead of us? what is the advantage? |
|
because we want to use other library too. For example: google maps + Google places, the script will be: we can not have multiple google api sdk script like this issue: #93 |
|
@anggaaryas I don't think we should remove this script like that, it's useful for many people. Instead:
In your specific case / for a quick solution, can you just create your own script with id = That should make the initialize code skip the script element creation. |
|
Even google_maps_flutter_web does not add script. And I am sure Google thought about it a lot. |
rather than we include the src in the library, we can tell user to add the script by himself. So we can add another google maps api.