Add messaging

This commit is contained in:
vjrj 2018-06-13 12:02:08 +02:00
parent 345b54bec3
commit 4fecc291a4
9 changed files with 81 additions and 5 deletions

View file

@ -48,4 +48,8 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
compile 'com.google.firebase:firebase-core:15.0.2'
// google recommends 16 but fails because location flutter package deps in 15
}
apply plugin: 'com.google.gms.google-services'

View file

@ -0,0 +1,45 @@
{
"project_info": {
"project_number": "",
"firebase_url": "",
"project_id": "",
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "",
"android_client_info": {
"package_name": "",
}
},
"oauth_client": [
{
"client_id": "",
"client_type": 3
},
{
"client_id": "",
"client_type": 3
}
],
"api_key": [
{
"current_key": "",
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}

View file

@ -18,8 +18,6 @@
android:name="io.flutter.app.FlutterApplication"
android:label="All Against The Fire!"
android:icon="@mipmap/launch_image">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="PUT_YOUR_API_HERE"/>
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
@ -37,9 +35,9 @@
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name="com.apptreesoftware.mapview.MapActivity"
android:theme="@style/Theme.AppCompat.Light.DarkActionBar"/>
</application>
</manifest>

View file

@ -6,6 +6,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:4.0.0'
}
}