Skip to content

Commit

Permalink
Merge pull request #2 from cutmail/separate-fabric-key
Browse files Browse the repository at this point in the history
Fabricのキーを外部ファイル化
  • Loading branch information
cutmail authored Oct 29, 2016
2 parents 19ef1c6 + e592d29 commit b64e4b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .circle/setup-fabric-properties.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
echo "apiSecret=$FABRIC_API_SECRET" >> app/fabric.properties
echo "apiKey=$FABRIC_API_KEY" >> app/fabric.properties
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ gen/
out/

local.properties
.envrc

# Eclipse project files
.classpath
Expand All @@ -36,6 +37,7 @@ local.properties
res/values/com_crashlytics_export_strings.xml
app/src/main/res/values/com_crashlytics_export_strings.xml
app/src/main/assets/crashlytics-build.properties
app/fabric.properties
build/

# Google
Expand Down
4 changes: 0 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
</intent-filter>
</activity>

<meta-data
android:name="com.crashlytics.ApiKey"
android:value="7d0f3ef6938723ac69b416c2f9d0cfa7f9ae7437" />

<activity
android:name=".activity.EntryDetailActivity"
android:label="@string/title_activity_entry_detail" />
Expand Down
1 change: 1 addition & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ machine:
checkout:
post:
- cp .circle/google-services.json app/google-services.json
- .circle/setup-fabric-properties.sh

dependencies:
pre:
Expand Down

0 comments on commit b64e4b6

Please sign in to comment.