I'm using phonegap for creating android apps. I created successfully a notification on the android's notification bar with the plugin localnotification here: https://github.com/phonegap/phonegap-plugins/tree/master/Android/LocalNotification
Now I want to create a alarm (a kind of seeting alarm in clock), I see some .java file in this plugin has the titles with [alarm...], I think I can do something with this plugin. But I cannot find the examples for this.
Please give me some examples for this kind.
Thanks guys.
After searching on google, I see that phonegap doesnot support for notification/alarm. And the plugin [localnotification] for android just supports for showing the notification on notification bar. That's it.
Maybe to show an alarm, we need to write an other plugin with some java codes, and using the tutorial how to create a plugin with phonegap at here: http://docs.phonegap.com/en/2.1.0/guide_plugin-development_android_index.md.html#Developing%20a%20Plugin%20on%20Android
Related
I want it to appear in the background service I wrote when I receive notifications from any application with Flutter or native Android.
I looked at different solutions made before, but it didn't work out exactly what I wanted.
What is the best way to do this?
flutter local notification package :- https://pub.dev/packages/flutter_local_notifications
Example of onDidReceiveNotificationResponse
https://i.stack.imgur.com/ihhR6.png
Use flutter_local_notification and write your code in onDidReceiveNotificationResponse property.
So I am trying to update contacts upon change notification. I was unable to find any flutter plugins that did so(If you do know any plugins that does so please let me know!! ). I decided to implement the notifications and send a call to do a functionfrom native to flutter. How do you do that? I am really confused.
So, I found this really nice plugin recently. It was hidden when I was searching for it.
https://github.com/Ben-Baert/flutter_listentocontacts
Good Luck,
Ronny McNamara
EddyVerbruggen/Calendar-PhoneGap-Plugin will not support modify events in android is there any other way to do so, or any other plugin that can i use to update android native calendar events from my app
I am using Codrova ionic
Please help me regarding this
Thank u
I am trying to implement pushnotifications for phonegap using PushWoosh but I am actually not cleared with the documentation (Guide) , I am facing problem in the 4TH step unable to find the specified function in PushPlugin .....May I please know where to search for this function for modifications ?
If anyone has implemented PushNotification using pushwoosh please let me know in the comments below.
This guide is based on PushPlugin example:
https://github.com/phonegap-build/PushPlugin/tree/master/Example/www
In particular this file:
https://github.com/phonegap-build/PushPlugin/blob/master/Example/www/index.html
Additionaly I would recommend using Pushwoosh Phonegap (Build) Plugin rather than Generic PushPlugin as Pushwoosh plugin provides much more features and flexibility!
I am developing a Cordova 3.0.0 application which needs to periodically show notifications to the user. They need to be the kind of notifications that live in the notification center on iOS; modal popups aren't good enough as the app may be running in the background at the time.
The built-in Notification plugin only provides modal popups: http://docs.phonegap.com/en/3.0.0/cordova_notification_notification.md.html
I have seen 3rd party plugins, such as this: https://github.com/DrewDahlman/Phonegap-LocalNotification
- however, they are developed for much older versions of Cordova/PhoneGap.
Is it possible to use any of these with Cordova 3; or is there a better way to do it (device-independently if at all possible, as I need to have similar behaviour on Android as well as iOS); or would my best option be to downgrade to an older version of Cordova?
Thanks
Drew Dalhman's Plugin still has some Issues. For example cancel() and background callback do not work.
This one, from Sebastián Katzer is updated and works with Cordova 3+ :
https://github.com/katzer/cordova-plugin-local-notifications
for iOS, Android and WP8
According to the issues for Drew Dalhman's plugin some people have had some success using that plugin in Cordova 3.0.6:
https://github.com/DrewDahlman/Phonegap-LocalNotification/issues/18
Rather than downgrading to an earlier version I'd look to see if a pull request can be created for the plugin. This will help everyone and will allow you to take advantage of Cordova improvements.
I was actually researching this same issue earlier for Android. Not implemented anything yet, but this tutorial seems to have some useful information (Part 3 is most relevant to showing notifications):
http://red-folder.blogspot.co.uk/2012/09/phonegap-service-tutorial-part-1.html
I googled but couldn't find anything.
My suggestion would be that you write your own plugins/extensions for Android and IOS respectively. It isn't difficult. The problem with writing your own IOS plugin is that you need to have a mac and iphone/ipad. Also, try the Phonegap-LocalNotification plugin you mention, it could possibly work.