We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b333d87 commit d8f77e2Copy full SHA for d8f77e2
messaging/testapp/AndroidManifest.xml
@@ -52,6 +52,7 @@
52
android:exported="false" >
53
</service>
54
<service android:name="com.google.firebase.messaging.MessageForwardingService"
55
+ android:permission="android.permission.BIND_JOB_SERVICE"
56
57
58
messaging/testapp/src/android/java/com/google/firebase/example/TestappNativeActivity.java
@@ -54,7 +54,7 @@ protected void onNewIntent(Intent intent) {
message.setAction(MessageForwardingService.ACTION_REMOTE_INTENT);
message.putExtras(intent);
message.setData(intent.getData());
- startService(message);
+ MessageForwardingService.enqueueWork(this, message);
}
59
setIntent(intent);
60
0 commit comments