File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed
java/com/firemaples/androidlocationremotecontrol Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ buildscript {
2+ repositories {
3+ maven { url ' https://maven.fabric.io/public' }
4+ }
5+
6+ dependencies {
7+ // noinspection GradleDynamicVersion
8+ classpath ' io.fabric.tools:gradle:1.+'
9+ }
10+ }
111apply plugin : ' com.android.application'
12+ apply plugin : ' io.fabric'
13+
14+ repositories {
15+ maven { url ' https://maven.fabric.io/public' }
16+ }
17+
218apply plugin : ' android-apt'
319
420apply from : ' ../../sign.gradle'
@@ -41,5 +57,8 @@ dependencies {
4157 compile ' org.apache.commons:commons-lang3:3.4'
4258// compile files('libs/Java-WebSocket-Library-1.2.1-SNAPSHOT.jar')
4359 compile ' org.java-websocket:Java-WebSocket:1.3.0'
60+ compile(' com.crashlytics.sdk.android:crashlytics:2.6.3@aar' ) {
61+ transitive = true ;
62+ }
4463}
4564
Original file line number Diff line number Diff line change 4141 android : name =" .RemoteListenerService"
4242 android : enabled =" true"
4343 android : exported =" true" />
44+ <meta-data
45+ android : name =" io.fabric.ApiKey"
46+ android : value =" 034212d0a941b036105ee0ffa8473d6a0cf260af" />
4447 </application >
4548
4649</manifest >
Original file line number Diff line number Diff line change 1717import android .view .View ;
1818import android .widget .TextView ;
1919
20+ import com .crashlytics .android .Crashlytics ;
2021import com .google .android .gms .maps .CameraUpdateFactory ;
2122import com .google .android .gms .maps .GoogleMap ;
2223import com .google .android .gms .maps .MapFragment ;
3334import java .net .UnknownHostException ;
3435import java .util .Locale ;
3536
37+ import io .fabric .sdk .android .Fabric ;
3638import permissions .dispatcher .NeedsPermission ;
3739import permissions .dispatcher .OnNeverAskAgain ;
3840import permissions .dispatcher .OnPermissionDenied ;
@@ -64,6 +66,7 @@ public void onClick(View v) {
6466 @ Override
6567 protected void onCreate (Bundle savedInstanceState ) {
6668 super .onCreate (savedInstanceState );
69+ Fabric .with (this , new Crashlytics ());
6770 setContentView (R .layout .activity_main );
6871
6972 setViews ();
You can’t perform that action at this time.
0 commit comments