Open nayefmazen opened 2 years ago
Hi @nayefmazen,
I am also just setting up the plugin. I discovered that a wrong notificationIcon
property caused my strings not being shown. Maybe the default icon that is set by the plugin is not present in your android folder?
@nayefmazen have u found solutions to this issue?
I faced a similar problem with foreground notifications not showing up in release builds, but I solved it by putting keep.xml in android/app/src/main/res. This was caused by Flutter deleting inside the drawable at build time.
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:keep="@drawable/*" />
related https://github.com/flutter/flutter/issues/102455 https://github.com/ryanheise/audio_service/issues/631
š Bug Report
I am passing a custom foreground config in locationSettings for android, basically I am changing the notification title and notification text. However, the notification title and text are not changing to the values being passed. Here is a code sample of what I am doing:
setting the location settings:
subscribing to the get position stream:
Expected behavior
expected behaviour is to update the notification title and text to the data being passed
Reproduction steps
GeoLocator.getPositionStream
and pass the location settings with custom foreground configConfiguration
I am testing on a samsung s21 FE with android 12 flutter details:
Version: 8.2.1
Platform: