Add new activity and data for facebook analytics

This commit is contained in:
alex 2018-03-22 14:52:34 +02:00
parent 9404f08d93
commit 7ec7401efe
2 changed files with 18 additions and 2 deletions

View file

@ -7,8 +7,23 @@
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"/>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:resource="@string/facebook_app_id"/>
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name_free"/>
<activity
android:name="com.facebook.CustomTabActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="@string/fb_login_protocol_scheme"/>
</intent-filter>
</activity>
<activity
android:name="net.osmand.plus.activities.MapActivity"

View file

@ -6,6 +6,7 @@
<!-- Not translatable -->
<string name="facebook_app_id">2057524931189530</string>
<string name="fb_login_protocol_scheme">fb2057524931189530</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>