-
Notifications
You must be signed in to change notification settings - Fork 34
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
targetSdkVersion="26" Notifications not received on some android device #114
Comments
Same issue with receiving notifications in background on Android 8.
|
Same problem here... |
Has anyone figured out a solution for this? |
I highly recommend using this plugin: https://github.com/hansemannn/titanium-firebase-cloud-messaging It works perfectly and no crashes. |
Still no news on a fix for this? Play Store now demands that updates has targetSdkVersion=26 so this is important. |
Good news .... there is a new push whit the fix 👍 |
Let's hope that someone who can build a new release sees this (today) 🤞 |
We've merged that fix to try and make the module work with Android Oreo, but there are still things to do. As stated in this comment, there's been radical changes in the way Android handles services. You can find the details here: https://developer.android.com/about/versions/oreo/background. |
I have compiled the module ... |
The good news: This fix solves getting push when app is backgrounded. Bad news: The push does not show up when the app is dead. Furthermore our app stalls and eventually crashes when starting up from dead after having sent a push to the device. |
do you have ?
|
@furthurr So we need to subscribe to a topic now ? Can be anything ? |
I think so, I had the same problem that @andersdp says, so this way was solved xD. |
@furthurr It seems unlikely that subscribing to a topic solves the problem of creating a background service from a backgrounded app. |
I'm working on a fix (using JobScheduler) here: https://github.com/caffeinalab/ti.goosh/tree/hotfix/android-26-jobservice |
@Jei thx for looking into this :) Is there a build available ? |
this build have te last modification |
this project is compiled with the ti.goosh version that goes up |
@furthurr will integrate the build and keep you guyz updated. Thx :) |
Seems that build above doesn't have the latest changes. |
We've just released a new version of Ti.Goosh that should solve this problem. You can find it here. |
I tried the new version (4.2.0) and it worked just fine on Android 9. |
I was just waiting for some feedbacks. I think we can consider this issue solved. |
If the app target targetSdkVersion="26". Notifications wont be displayed on Android devices running android 8. I think this is due to how application in the background should handle notifications. Could you please check ?
The text was updated successfully, but these errors were encountered: