From b14dd6b85257aa424d84da0d01ced21bebb12cfa Mon Sep 17 00:00:00 2001 From: Boris Timofeev Date: Wed, 15 Mar 2017 12:23:36 +0300 Subject: [PATCH] Removed Firebase --- app/build.gradle | 2 - app/google-services.json | 53 ------------------- app/src/main/AndroidManifest.xml | 6 --- .../unipatcher/ui/activity/MainActivity.java | 8 --- build.gradle | 1 - 5 files changed, 70 deletions(-) delete mode 100644 app/google-services.json diff --git a/app/build.gradle b/app/build.gradle index d63e037..9869ba9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -123,5 +123,3 @@ dependencies { compile 'com.afollestad.material-dialogs:core:0.9.3.0' compile 'com.android.support:support-v13:25.2.0' // TODO remove this line after update material-dialogs } - -apply plugin: 'com.google.gms.google-services' diff --git a/app/google-services.json b/app/google-services.json deleted file mode 100644 index bf05229..0000000 --- a/app/google-services.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "project_info": { - "project_number": "32713218397", - "firebase_url": "https://unipatcher-897b3.firebaseio.com", - "project_id": "unipatcher-897b3", - "storage_bucket": "unipatcher-897b3.appspot.com" - }, - "client": [ - { - "client_info": { - "mobilesdk_app_id": "1:32713218397:android:4b0afdca1aa174e1", - "android_client_info": { - "package_name": "org.emunix.unipatcher" - } - }, - "oauth_client": [ - { - "client_id": "32713218397-h8ptc6lelg9l871v10pgq11ni8ejaavg.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "org.emunix.unipatcher", - "certificate_hash": "C31CB23D974F426B38D7AF0848A6F1066FCF1FD9" - } - }, - { - "client_id": "32713218397-bhgevevp6i5coukhnkti1g9cecnujuav.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyD_8JprF21wL7wpRV7JymLzlbHR-jUBZKI" - } - ], - "services": { - "analytics_service": { - "status": 2, - "analytics_property": { - "tracking_id": "UA-77394676-1" - } - }, - "appinvite_service": { - "status": 1, - "other_platform_oauth_client": [] - }, - "ads_service": { - "status": 2 - } - } - } - ], - "configuration_version": "1" -} \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9262751..e89dffa 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -6,8 +6,6 @@ - - - - \ No newline at end of file diff --git a/app/src/main/java/org/emunix/unipatcher/ui/activity/MainActivity.java b/app/src/main/java/org/emunix/unipatcher/ui/activity/MainActivity.java index e521667..b232a28 100644 --- a/app/src/main/java/org/emunix/unipatcher/ui/activity/MainActivity.java +++ b/app/src/main/java/org/emunix/unipatcher/ui/activity/MainActivity.java @@ -39,8 +39,6 @@ import android.util.Log; import android.view.MenuItem; import android.view.View; -import com.google.firebase.analytics.FirebaseAnalytics; - import org.emunix.unipatcher.BuildConfig; import org.emunix.unipatcher.Globals; import org.emunix.unipatcher.R; @@ -57,18 +55,12 @@ public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { private static final String LOG_TAG = "org.emunix.unipatcher"; - private FirebaseAnalytics firebaseAnalytics; - @Override protected void onCreate(Bundle savedInstanceState) { setTheme(); super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); - firebaseAnalytics = FirebaseAnalytics.getInstance(this); - if (BuildConfig.DEBUG) - firebaseAnalytics.setAnalyticsCollectionEnabled(false); - Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); diff --git a/build.gradle b/build.gradle index 4ad0a72..3f806cd 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,6 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.3.0' - classpath 'com.google.gms:google-services:3.0.0' } }