Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
32b7d4f9
authored
Sep 01, 2016
by
Kunj Gupta
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
UOFLMA-65: Crashlytics is integrated.
parent
041c2d90
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
app/build.gradle
app/src/main/AndroidManifest.xml
app/src/main/java/com/vsoft/uoflservicenow/CatalogueApplication.java
app/build.gradle
View file @
32b7d4f9
buildscript
{
repositories
{
maven
{
url
'https://maven.fabric.io/public'
}
}
dependencies
{
classpath
'io.fabric.tools:gradle:1.+'
}
}
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
apply
plugin:
'io.fabric'
repositories
{
maven
{
url
'https://maven.fabric.io/public'
}
}
apply
plugin:
'android-apt'
apply
plugin:
'android-apt'
android
{
android
{
...
@@ -48,4 +63,7 @@ dependencies {
...
@@ -48,4 +63,7 @@ dependencies {
apt
'com.jakewharton:butterknife-compiler:8.2.1'
apt
'com.jakewharton:butterknife-compiler:8.2.1'
compile
'com.android.support:cardview-v7:24.1.1'
compile
'com.android.support:cardview-v7:24.1.1'
compile
'com.google.android.gms:play-services-analytics:9.2.0'
compile
'com.google.android.gms:play-services-analytics:9.2.0'
compile
(
'com.crashlytics.sdk.android:crashlytics:2.6.2@aar'
)
{
transitive
=
true
;
}
}
}
app/src/main/AndroidManifest.xml
View file @
32b7d4f9
...
@@ -81,5 +81,8 @@
...
@@ -81,5 +81,8 @@
<activity
<activity
android:name=
"com.vsoft.uoflservicenow.ui.MyIncidentScreen"
android:name=
"com.vsoft.uoflservicenow.ui.MyIncidentScreen"
android:screenOrientation=
"portrait"
/>
android:screenOrientation=
"portrait"
/>
<meta-data
android:name=
"io.fabric.ApiKey"
android:value=
"2b0a6e9db28d607fbcf71b8b25f1a0795e3f5b22"
/>
</application>
</application>
</manifest>
</manifest>
app/src/main/java/com/vsoft/uoflservicenow/CatalogueApplication.java
View file @
32b7d4f9
...
@@ -5,8 +5,10 @@ import android.content.Context;
...
@@ -5,8 +5,10 @@ import android.content.Context;
import
android.net.ConnectivityManager
;
import
android.net.ConnectivityManager
;
import
android.net.NetworkInfo
;
import
android.net.NetworkInfo
;
import
com.crashlytics.android.Crashlytics
;
import
com.google.android.gms.analytics.GoogleAnalytics
;
import
com.google.android.gms.analytics.GoogleAnalytics
;
import
com.google.android.gms.analytics.Tracker
;
import
com.google.android.gms.analytics.Tracker
;
import
io.fabric.sdk.android.Fabric
;
public
class
CatalogueApplication
extends
Application
{
public
class
CatalogueApplication
extends
Application
{
...
@@ -17,6 +19,7 @@ public class CatalogueApplication extends Application {
...
@@ -17,6 +19,7 @@ public class CatalogueApplication extends Application {
@Override
@Override
public
void
onCreate
()
{
public
void
onCreate
()
{
super
.
onCreate
();
super
.
onCreate
();
Fabric
.
with
(
this
,
new
Crashlytics
());
mContext
=
getApplicationContext
();
mContext
=
getApplicationContext
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment