Some tutorials recommend don“t save a key in GitHub
for security reasons, they to keep the file in .gitignore
but for example some Social Networks like Facebook
or Linkedin
create a key in Info.plist
file.
The Info.plist
contains many others settings of the app and must be commit.
How can I keep in safe my key and commit the Info.plist
normally.
Example of Info.plist
(CFBundleURLSchemes
and FacebookAppID
)
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb355414950742780</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>355414950742780</string>