-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notificationChannelName defaults to TSLocationManager instead of app name #22
Comments
Yes, I’m aware. There’s something about a Flutter app that prevents the lib from reading the app name from the Manifest.xml so I had to default it to TSLocationManager. The React Native / Cordova / NativeScript versions do not have this problem. |
Thanks for clarifying, @christocracy. Not a big prob, but perhaps might be good for the docs to mention it. |
It was one of the first bumps I ran into while porting the Flutter version back in September. I quickly leapt over it in favor of implementing the core functionality. It will be revisited soon. |
I have a more major version of the issue. the Gradle build directly throws
This is for both 0.3.4 and 1.0.0-beta.4 |
Read carefully the Android setup docs. |
Specifically, this |
Thank you. And sorry for my negligence. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open. |
Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you. |
I've discovered a minor bug and/or documentation discrepancy. The
notificationChannelName
property is documented as:In actuality, though, leaving this property unset makes it default to TSLocationManager, which I assume is an internal class name from the Android plugin. (See the screenshot further below.)
Setting an explicit value for the property works fine, but forgetting to set a value will produce the aforementioned surprise.
Your Environment
flutter doctor
): Flutter (Channel beta, v1.0.0, on Mac OS X 10.14.3 18D42, locale en-US)Expected Behavior
The notification channel name should default to the app name, as documented.
Actual Behavior
The notification channel name defaults to "TSLocationManager".
Steps to Reproduce
Context
N/A
Debug logs
N/A
The text was updated successfully, but these errors were encountered: