Skip to content

Instantly share code, notes, and snippets.

@ThrowJojo
Created March 23, 2018 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThrowJojo/f83ebee41c53d974e168f16818974623 to your computer and use it in GitHub Desktop.
Save ThrowJojo/f83ebee41c53d974e168f16818974623 to your computer and use it in GitHub Desktop.
Example manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="testing.jobdispatcher">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Here is the TaskService declaration, make sure it's inside the application tags -->
<service
android:exported="false"
android:name=".TaskService">
<intent-filter>
<action android:name="com.firebase.jobdispatcher.ACTION_EXECUTE"/>
</intent-filter>
</service>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment