Skip to content

Commit 3265ad9

Browse files
authoredAug 22, 2017
No Bug - Add the Pocket API key via Buddybuild prebuild script. (#3068)
1 parent 267d2ed commit 3265ad9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎Client/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<string>$(LEANPLUM_KEY)</string>
1717
<key>AppIdentifierPrefix</key>
1818
<string>$(APP_IDENTIFIER_PREFIX)</string>
19+
<key>PocketEnvironmentAPIKey</key>
20+
<string>$(POCKET_API_KEY)</string>
1921
<key>MozWhatsNewTopic</key>
2022
<string></string>
2123
<key>CFBundleDevelopmentRegion</key>

‎buddybuild_prebuild.sh

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ echo "Setting Leanplum environment to PRODUCTION for $BUDDYBUILD_SCHEME"
3333
/usr/libexec/PlistBuddy -c "Set LeanplumEnvironment production" "Client/Info.plist"
3434
/usr/libexec/PlistBuddy -c "Set LeanplumKey $LEANPLUM_KEY_PRODUCTION" "Client/Info.plist"
3535

36+
echo "Setting up Pocket Stories API Key"
37+
/usr/libexec/PlistBuddy -c "Set PocketEnvironmentAPIKey $POCKET_API_KEY" "Client/Info.plist"
38+
39+
3640
#
3741
# Setup Sentry. We have different DSNs for Beta and Production.
3842
#

0 commit comments

Comments
 (0)
Please sign in to comment.