Skip to content

Commit ef5f19b

Browse files
author
Alejandro Caicedo
committed
feat: add dummy Firebase configuration for CI environment
1 parent 847e64e commit ef5f19b

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/ios-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
cd ios
4343
pod install
4444
45+
- name: Setup Firebase config for CI
46+
run: |
47+
# Use dummy GoogleService-Info.plist if real one doesn't exist
48+
if [ ! -f ios/GoogleService-Info.plist ]; then
49+
cp ios/GoogleService-Info-Dummy.plist ios/GoogleService-Info.plist
50+
fi
51+
4552
- name: Build iOS (simulator only)
4653
run: |
4754
xcodebuild \

ios/GoogleService-Info-Dummy.plist

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>API_KEY</key>
6+
<string>DUMMY_API_KEY</string>
7+
<key>GCM_SENDER_ID</key>
8+
<string>123456789</string>
9+
<key>PLIST_VERSION</key>
10+
<string>1</string>
11+
<key>BUNDLE_ID</key>
12+
<string>com.alejandrotechnology.rncatemplate</string>
13+
<key>PROJECT_ID</key>
14+
<string>dummy-project</string>
15+
<key>STORAGE_BUCKET</key>
16+
<string>dummy-project.appspot.com</string>
17+
<key>IS_ADS_ENABLED</key>
18+
<false/>
19+
<key>IS_ANALYTICS_ENABLED</key>
20+
<false/>
21+
<key>IS_APPINVITE_ENABLED</key>
22+
<true/>
23+
<key>IS_GCM_ENABLED</key>
24+
<true/>
25+
<key>IS_SIGNIN_ENABLED</key>
26+
<true/>
27+
<key>GOOGLE_APP_ID</key>
28+
<string>1:123456789:ios:abcdef123456</string>
29+
</dict>
30+
</plist>

0 commit comments

Comments
 (0)