flutter_dotenv icon indicating copy to clipboard operation
flutter_dotenv copied to clipboard

Using .env variables in Swift

Open ldemyanenko opened this issue 4 years ago • 5 comments

How can I use .env settings from Swift code? For example to user this plugin https://pub.dev/packages/google_maps_flutter I have to setup AppDelegate.swift adding GMSServices.provideAPIKey("YOUR KEY HERE") there

ldemyanenko avatar Sep 23 '21 08:09 ldemyanenko

i have the same question here i would like to hide sensitive api keys which is required to be inside .swift file or mainfest file in android how to hide them any answers found ? @ldemyanenko @java-james

mohadel92 avatar Jan 09 '22 08:01 mohadel92

@mohadel92 I'm also curious about it.

iCodePoet avatar Jan 12 '22 04:01 iCodePoet

I have the same need, for Swift/Kotlin

app-createur-pro avatar Mar 21 '22 08:03 app-createur-pro