anayltics works kinda

1.2-legacy
geeksville 2020-01-22 09:28:59 -08:00
rodzic 8bcd652802
commit 7818e6ccd9
5 zmienionych plików z 72 dodań i 2 usunięć

Wyświetl plik

@ -1,8 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 29
@ -55,5 +54,10 @@ dependencies {
implementation 'androidx.ui:ui-layout:0.1.0-dev02'
implementation 'androidx.ui:ui-material:0.1.0-dev02'
// add the Firebase SDK for Google Analytics
// add SDKs for any other desired Firebase products
// https://firebase.google.com/docs/android/setup#available-libraries
implementation project(':geeksville-androidlib')
}

Wyświetl plik

@ -0,0 +1,40 @@
{
"project_info": {
"project_number": "484268767777",
"firebase_url": "https://meshutil.firebaseio.com",
"project_id": "meshutil",
"storage_bucket": "meshutil.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:484268767777:android:341f38a29ecbe9b0334160",
"android_client_info": {
"package_name": "com.geeksville.meshutil"
}
},
"oauth_client": [
{
"client_id": "484268767777-hqiigdj947ih0otlcs4snj347g4hhgbj.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDP5YQqMCXx08xLFm3sIK9kDcIxI7qwL-c"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "484268767777-hqiigdj947ih0otlcs4snj347g4hhgbj.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

Wyświetl plik

@ -12,11 +12,26 @@
<uses-permission android:name="android.permission.WAKE_LOCK" /> <!-- for job intent service -->
<!--
This permission is required to allow the application to send
events and properties to Mixpanel.
-->
<uses-permission
android:name="android.permission.INTERNET" />
<!--
This permission is optional but recommended so we can be smart
about when to send data.
-->
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-feature
android:name="android.hardware.bluetooth_le"
android:required="true" />
<application
android:name=".MeshUtilApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@ -24,6 +39,9 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<meta-data android:name="com.mixpanel.android.MPConfig.DisableViewCrawler"
android:value="true" />
<!-- we need bind job service for oreo -->
<service
android:name=".SoftwareUpdateService"

Wyświetl plik

@ -0,0 +1,6 @@
package com.geeksville.meshutil
import com.geeksville.android.GeeksvilleApplication
class MeshUtilApplication : GeeksvilleApplication(null, "58e72ccc361883ea502510baa46580e3") {
}

Wyświetl plik

@ -12,6 +12,8 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.2'
}
}