Moves Firebase notifications to a "google" build flavor and adds an "fdroid" flavor that uses polling for notifications.

Also, adds a few missing license notices.
This commit is contained in:
Vavassor 2017-04-27 23:29:42 -04:00
commit 5f6fab2b70
20 changed files with 653 additions and 373 deletions

View file

@ -15,7 +15,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:name=".TuskyApplication">
<meta-data android:name="firebase_analytics_collection_enabled" android:value="false" />
<activity android:name=".SplashActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -72,18 +72,6 @@
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:theme="@style/Base.Theme.AppCompat" />
<service android:name=".MyFirebaseInstanceIdService" android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
<service android:name=".MyFirebaseMessagingService" android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<receiver android:name=".NotificationClearBroadcastReceiver" />
<service