Skip to content
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

Android Oreo NotificationChannel support #97

Open
m1ga opened this issue Dec 29, 2017 · 8 comments
Open

Android Oreo NotificationChannel support #97

m1ga opened this issue Dec 29, 2017 · 8 comments

Comments

@m1ga
Copy link
Contributor

m1ga commented Dec 29, 2017

In Ti-Slack someone mentioned, that there could be problems with push under Oreo: missing NotificationChannel. It is related to this SO thread:
https://stackoverflow.com/questions/45711925/failed-to-post-notification-on-channel-null-target-api-is-26

Since I don't have an Oreo phone yet I can't prove this but it something that should be on the roadmap if the problem exists in Ti.Goosh too

@caioiglesias
Copy link

I have verified this, and it's indeed an issue. I've patched it for now, but the best thing would be to expose the full functionality of the channels.

@kopiro
Copy link
Contributor

kopiro commented Feb 12, 2018

How did you fix?

@caioiglesias
Copy link

I'll submit a PR so you can check it out, but It's not the optimal solution for the use of channels.

@slash-84
Copy link
Contributor

I added a (very :) ) little support for Oreo: #102

@caioiglesias
Copy link

That's pretty much how I did it @slash-84

@sandrolain
Copy link

Hello to all.
I'm having trouble with notifications on any Android 8.0 device that I've run my app with the version 4.1.0 of Ti.Goosh. On previous versions of Android it works without problems. I imagine both for the problem mentioned above. Is version 4.1.0 compatible with Android 8 in some way?

@sandrolain
Copy link

Hello
I downloaded and created the build of the module with the integration for Oreo channels.
But I still do not receive notifications. Should the channel also be specified when sending the server-side notification?
I currently send notifications from node servers using node-gcm module, which has no references for the channel.
https://github.com/ToothlessGear/node-gcm
Thank you

@psylus
Copy link

psylus commented Jul 12, 2018

Any plans for a new release to fully support Notifications channels any time soon? Starting August new apps submitted to PlayStore have to target SDK 26, so the module won't be usable any more. Thank you for your work so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants