message body
This commit is contained in:
1 parent
921ea4db20
commit
f0ee27f089
4 files changed
+7
-5
No files matched your search
@@ -10,8 +10,6 @@
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.App">
|
||||
|
||||
|
||||
<service android:name=".MyFirebaseMessagingService"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
@@ -26,5 +24,4 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -108,7 +108,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
buttonSend.setOnClickListener(v -> {
|
||||
TOPIC = "/topics/testForMDT"; //topic must match with what the receiver subscribed to
|
||||
NOTIFICATION_TITLE = "Test";
|
||||
NOTIFICATION_MESSAGE = "Hello World";
|
||||
NOTIFICATION_MESSAGE = "Gregor";
|
||||
|
||||
JSONObject notification = new JSONObject();
|
||||
JSONObject notifcationBody = new JSONObject();
|
||||
|
||||
@@ -6,5 +6,4 @@
|
||||
<item name="colorPrimaryDark">@color/purple700</item>
|
||||
<item name="colorAccent">@color/teal200</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in new issue
Block a user