Skip to content

Commit

Permalink
UPDATE: Added new token for crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
opticod committed Dec 22, 2016
1 parent 8b20518 commit 17151c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
8 changes: 3 additions & 5 deletions source-code/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ repositories {
maven { url 'https://maven.fabric.io/public' }
}


android {
signingConfigs {
config {
Expand Down Expand Up @@ -51,14 +50,13 @@ android {
}

dependencies {
compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
transitive = true;
}
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile('com.crashlytics.sdk.android:crashlytics:2.3.1@aar') {
transitive = true;
}

compile files('libs/zipsigner-lib-1.17.jar')
compile files('libs/zipsigner-lib-optional-1.16.jar')
compile files('libs/kellinwood-logging-android-1.4.jar')
Expand Down
9 changes: 4 additions & 5 deletions source-code/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@
android:configChanges="orientation|screenSize"
android:label="@string/title_activity_template_editor"
android:theme="@style/AppTheme.NoActionBar"></activity>

<meta-data
android:name="io.fabric.ApiKey"
android:value="c1d33469d628f14f5b248cb6d6dcf6de726ef5e3" />

<activity
android:name=".activity.FirstRunActivity"
android:label="@string/app_name"
Expand Down Expand Up @@ -95,6 +90,10 @@
<category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
</intent-filter>
</activity>

<meta-data
android:name="io.fabric.ApiKey"
android:value="1132ca7df3eff20168030d5099ebd5b81bbfa805" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import io.fabric.sdk.android.Fabric;


/**
* @brief Shown on application first launch.
*/
Expand All @@ -34,9 +35,8 @@ public class FirstRunActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Fabric.with(this, new Crashlytics());
prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());

Fabric.with(this, new Crashlytics());
if (prefs.getBoolean(FIRST_RUN, false)) {
startActivity(new Intent(getApplicationContext(), HomeActivity.class));
finish();
Expand Down

0 comments on commit 17151c7

Please sign in to comment.