Skip to content

Commit

Permalink
Get rid of service code in AndroidManifest.xml
Browse files Browse the repository at this point in the history
Got rid of the service code in the manifest that was causing error when trying to build a
a release apk. The code below was not in a direct child of the application tag in the
manifest. Tested the app after removing this block and the app ran fine.

<service android:name=".MyFirebaseInstanceIDService">
        <intent-filter>
            <action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
        </intent-filter>
    </service>
    <service android:name=".MyFirebaseMessagingService">
        <intent-filter>
            <action android:name="com.google.firebase.MESSAGING_EVENT" />
        </intent-filter>
    </service>
    <service android:name=".FirebaseIDService">
        <intent-filter>
            <action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
        </intent-filter>
    </service>
  • Loading branch information
moralerr committed Apr 24, 2017
1 parent ee0882b commit 57eeaf8
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="edu.sc.cse">

<service android:name=".MyFirebaseInstanceIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
<service android:name=".MyFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name=".FirebaseIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>


<application
android:allowBackup="true"
Expand Down

0 comments on commit 57eeaf8

Please sign in to comment.