Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add this block of code before the application tag closing<service

Code Block
languagexml
  ...
  <service 
    android:name=".LocalFirebaseMessagingService"

...


    android:exported="false">

...


    <intent-filter>

...


      <action android:name="com.google.firebase.MESSAGING_EVENT" />

...


    </intent-filter>
  </service>
</application>

</service>

  • Finally, add the notificationColor hex to the specific brand/market colors.xml

intl-whitelabel-app/workspaces/frontend/native-assets/{brand}/{market}/android/app/src/main/res/values/colors.xml

Add the hex color after splashBGColor

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>

...


<resources>
    <color name="splashBGColor">#F78224</color>

...


    <color name="notificationBGColor">{Hexadecimal Color}</color>

...


</resources>