From a791742117647028e44edb9762fa887f9e23a9cb Mon Sep 17 00:00:00 2001 From: Mygod Date: Sun, 10 Jun 2018 19:27:36 +0800 Subject: [PATCH] You might as well worry about every car on the road would kill you --- README.md | 1 - build.gradle | 5 ++++ mobile/build.gradle | 3 +++ mobile/google-services.json | 46 +++++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 mobile/google-services.json diff --git a/README.md b/README.md index 1570b1f2..a30ed234 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ Connecting things to your VPN made simple. Share your VPN connection over hotspot or repeater. (**root required**) - or XDA Labs This app is useful for: diff --git a/build.gradle b/build.gradle index 0db1b1fc..59f68bab 100644 --- a/build.gradle +++ b/build.gradle @@ -12,10 +12,15 @@ buildscript { repositories { google() jcenter() + maven { + url 'https://maven.fabric.io/public' + } } dependencies { classpath "com.android.tools.build:gradle:$androidPluginVersion" classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' + classpath 'com.google.gms:google-services:4.0.1' + classpath 'io.fabric.tools:gradle:1.25.4' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } diff --git a/mobile/build.gradle b/mobile/build.gradle index 95ae4cbf..fa18d22b 100644 --- a/mobile/build.gradle +++ b/mobile/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.application' +apply plugin: 'io.fabric' apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' @@ -34,6 +35,7 @@ dependencies { implementation "com.android.support:design:$supportLibraryVersion" implementation "com.android.support:preference-v14:$supportLibraryVersion" implementation 'com.android.support.constraint:constraint-layout:1.1.1' + implementation 'com.crashlytics.sdk.android:crashlytics:2.9.3' implementation 'com.github.luongvo:BadgeView:1.1.5' implementation 'com.linkedin.dexmaker:dexmaker-mockito:2.16.0' implementation "com.takisoft.fix:preference-v7:$takisoftFixVersion" @@ -44,3 +46,4 @@ dependencies { } kapt.generateStubs = true +apply plugin: 'com.google.gms.google-services' diff --git a/mobile/google-services.json b/mobile/google-services.json new file mode 100644 index 00000000..3d515800 --- /dev/null +++ b/mobile/google-services.json @@ -0,0 +1,46 @@ +{ + "project_info": { + "project_number": "13108846109", + "firebase_url": "https://mygod-vpnhotspot.firebaseio.com", + "project_id": "mygod-vpnhotspot", + "storage_bucket": "mygod-vpnhotspot.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:13108846109:android:63120dcb2e900ed0", + "android_client_info": { + "package_name": "be.mygod.vpnhotspot" + } + }, + "oauth_client": [ + { + "client_id": "13108846109-5iemp5pbapg7n5epbk0mv96007m9bhmg.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "13108846109-5iemp5pbapg7n5epbk0mv96007m9bhmg.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyADp0gTf25H6H3KxDRKwvp0EaWq_XvYUmg" + } + ], + "services": { + "analytics_service": { + "status": 1 + }, + "appinvite_service": { + "status": 1, + "other_platform_oauth_client": [] + }, + "ads_service": { + "status": 2 + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file