google_map_dynamic_key 1.0.1 copy "google_map_dynamic_key: ^1.0.1" to clipboard
google_map_dynamic_key: ^1.0.1 copied to clipboard

Add Google Maps API key dynamically

Google Map Dynamic Key #

Instead of hard coding, Google maps API key in AndroidManifest.xml and AppDelegate.swift. We can change the Google Maps key dynamically anytime.

We can store the Google Maps key on the server and can get using the rest API. Map key can change the key at runtime after getting from the server.

Examples #

Here are small examples that show you how to use Google Map Dynamic Key.

Coding #

Flutter Dart Code Implementation #

final _googleMapDynamicKeyPlugin = GoogleMapDynamicKey();
await _googleMapDynamicKeyPlugin
        .setGoogleApiKey("Your API KEY")
        .then((value) {
      setState(() {
        isLoading = false;
      });
    });

Developer #

Made by Um Kithya Senior Flutter Developer with ❤️

4
likes
125
points
142
downloads

Publisher

unverified uploader

Weekly Downloads

Add Google Maps API key dynamically

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on google_map_dynamic_key