Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Test Push notification is not shown #23

Description

@sahilpma

I am using Unity 2022.1.14f1 with flurry 6.0.0 version. I have followed the steps as per github docs.
I am receiving FCM message, but notification is not shown.

image

image

Here is my manifest file

`

<!-- Unity Main Activity -->
<activity android:name="com.google.firebase.MessagingUnityPlayerActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
  <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
  </intent-filter>
  <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
  <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>

<!-- Flurry Agent settings; please update -->
<meta-data android:name="flurry_apikey" android:value="VVXB429474W45G35MHKS" />
<meta-data android:name="flurry_with_crash_reporting" android:value="true" />
<meta-data android:name="flurry_with_continue_session_millis" android:value="10000L" />
<meta-data android:name="flurry_with_include_background_sessions_in_metrics" android:value="true" />
<meta-data android:name="flurry_with_log_enabled" android:value="true" />
<meta-data android:name="flurry_with_log_level" android:value="2" />
<meta-data android:name="flurry_with_messaging" android:value="true" />

<!-- Flurry Messaging services; do not modify -->
<service android:name="com.flurry.android.marketing.messaging.FCM.FlurryMessageListenerService">
  <intent-filter>
    <action android:name="com.google.firebase.MESSAGING_EVENT" />
  </intent-filter>
</service>

<service android:name="com.flurry.android.marketing.messaging.FCM.FlurryInstanceIDListenerService">
  <intent-filter>
    <action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
  </intent-filter>
</service>

<receiver
        android:name="com.flurry.android.marketing.messaging.notification.NotificationCancelledReceiver"
        android:enabled="true"
        android:exported="false">
</receiver>

<receiver
        android:name="com.flurry.android.marketing.messaging.notification.NotificationClickedReceiver"
        android:enabled="true"
        android:exported="false">
</receiver>

<service android:name="com.google.firebase.messaging.MessageForwardingService"
         android:permission="android.permission.BIND_JOB_SERVICE"
         android:exported="false" >
</service>

`

image

Please assist me in this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions