-
Notifications
You must be signed in to change notification settings - Fork 313
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
Compiling correctly but not working? #291
Comments
It's working as intended, I suppose. Android 8 introduced new logic to notifications, and considering the last commit was 2 years ago, it's impossible that the author of this plugin could have accounted for that.
https://developer.android.com/guide/topics/ui/notifiers/notifications |
Hi, of course no criticism to the developer or the plugin in itself but fact is that as per today it seems there is no working geofence plugin. So... is there any fork working (also) on Android 8 or any workaround to make this one working? |
I'm not sure, I stumbled upon this repository by accident and just thought I'd answer your question. There are 259 forks of this repository, one of them is bound to have accounted for notifications in Android 8. If not, you can make your own fork and fix it. It's relatively straight-forward: |
I have a fork that builds on Android 8 but not sure if it sends the notification yet. First order was to get it building. |
Thanks. Do you want me to give your fork a try? BTW: with the main repository I noticed a weird behavior on Android simulator (Android 7), it only issues notifications if Google Maps is open... |
Wouldn't hurt if somebody else tries out. I am currently fighting some other plugin and do not have time to test it myself. |
Ok: I was not sure if it was ready for testing. Now that you confirmed, I'm fine to test (likely tonight :-) ) Thanks! |
Still not wroking.... is there any fork that compile and works properly on Android 8? Thanks |
@luigi37 Try mine if you want to: https://github.com/gemigkaka/cordova-plugin-geofence |
Thank you so much! I was sure someone else (with better developer skills than me :-) ) could have had the same need but I was almost loosing hope! I will give it a try in the weekend! |
No problem :) Please tell if you find any issues. |
I'm getting this error: FAILURE: Build failed with an exception.
I'm using **cordova --version cordova platform |
It sounds like you're missing JDK 8 or the JAVA_HOME variable. Since cordova-android 6.3.0 JDK 8 is required. |
In effect I have: And would that work? |
Looks like the plugin compiles properly on Android but no notification.
I'm using Android 8.0 on Samsung... anyone had success in compiling an app and making the geofence work?
The text was updated successfully, but these errors were encountered: