Skip to content

Commit 17151c7

Browse files
committed
UPDATE: Added new token for crashlytics
1 parent 8b20518 commit 17151c7

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

source-code/app/build.gradle

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ repositories {
1414
maven { url 'https://maven.fabric.io/public' }
1515
}
1616

17-
1817
android {
1918
signingConfigs {
2019
config {
@@ -51,14 +50,13 @@ android {
5150
}
5251

5352
dependencies {
53+
compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
54+
transitive = true;
55+
}
5456
compile 'com.android.support:appcompat-v7:23.4.0'
5557
compile 'com.android.support:cardview-v7:23.4.0'
5658
compile 'com.android.support:recyclerview-v7:23.4.0'
5759
compile 'com.android.support:design:23.4.0'
58-
compile('com.crashlytics.sdk.android:crashlytics:2.3.1@aar') {
59-
transitive = true;
60-
}
61-
6260
compile files('libs/zipsigner-lib-1.17.jar')
6361
compile files('libs/zipsigner-lib-optional-1.16.jar')
6462
compile files('libs/kellinwood-logging-android-1.4.jar')

source-code/app/src/main/AndroidManifest.xml

+4-5
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@
4242
android:configChanges="orientation|screenSize"
4343
android:label="@string/title_activity_template_editor"
4444
android:theme="@style/AppTheme.NoActionBar"></activity>
45-
46-
<meta-data
47-
android:name="io.fabric.ApiKey"
48-
android:value="c1d33469d628f14f5b248cb6d6dcf6de726ef5e3" />
49-
5045
<activity
5146
android:name=".activity.FirstRunActivity"
5247
android:label="@string/app_name"
@@ -95,6 +90,10 @@
9590
<category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
9691
</intent-filter>
9792
</activity>
93+
94+
<meta-data
95+
android:name="io.fabric.ApiKey"
96+
android:value="1132ca7df3eff20168030d5099ebd5b81bbfa805" />
9897
</application>
9998

10099
</manifest>

source-code/app/src/main/java/org/buildmlearn/toolkit/activity/FirstRunActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import io.fabric.sdk.android.Fabric;
2020

21+
2122
/**
2223
* @brief Shown on application first launch.
2324
*/
@@ -34,9 +35,8 @@ public class FirstRunActivity extends AppCompatActivity {
3435
@Override
3536
protected void onCreate(Bundle savedInstanceState) {
3637
super.onCreate(savedInstanceState);
37-
Fabric.with(this, new Crashlytics());
3838
prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
39-
39+
Fabric.with(this, new Crashlytics());
4040
if (prefs.getBoolean(FIRST_RUN, false)) {
4141
startActivity(new Intent(getApplicationContext(), HomeActivity.class));
4242
finish();

0 commit comments

Comments
 (0)