Add facebook analytics

This commit is contained in:
Alexander Sytnyk 2018-03-19 16:00:07 +02:00
parent 8333eaf17f
commit 389ae9c476
3 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,10 @@
android:icon="@mipmap/icon_free"
android:label="@string/app_name_free"
tools:replace="android:icon, android:label">
<meta-data android:name="com.facebook.sdk.ApplicationId" android:resource="@string/facebook_app_id"/>
<activity android:name="com.facebook.FacebookActivity"/>
<activity
android:name="net.osmand.plus.activities.MapActivity"
android:theme="@style/FirstSplashScreenFree"

View file

@ -380,7 +380,7 @@ dependencies {
if (analytics) {
compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-config:9.8.0'
implementation 'com.facebook.android:facebook-android-sdk:[4,5)'
}
// compile project(':eclipse-compile:design')
// compile project(':eclipse-compile:cardview')

View file

@ -5,6 +5,7 @@
<!-- string name="app_version_suffix"></string -->
<!-- Not translatable -->
<string name="facebook_app_id">2057524931189530</string>
<string name="full_version_price">€7,99</string>
<string name="osm_live">OsmAnd Live</string>
<string name="ga_api_key">UA-28342846-2</string>