notifications
Android O reporting notification not posted to channel – but it is
I think I have learned a couple things that all add up to an answer: I was using an emulator device, with an image that did not include the Play Store. The version of Google Play Services on the image was not the latest, so I should have been getting a notification telling me I … Read more
iphone local notification in simulator
Yes, local notifications work with the simulator. However, make sure you are implementing application:didreceiveLocalNotification in your app delegate if you want to see the notification while your app is in the foreground: – (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification { UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@”MyAlertView” message:notification.alertBody delegate:self cancelButtonTitle:@”OK” otherButtonTitles:nil]; [alertView show]; if (alertView) { [alertView release]; … Read more
Disable default alert sound for Firefox web notifications
On OS X, go to System Preferences, then Notifications. Choose Firefox and uncheck Play sound for notifications to get rid of the sound.
How to set the app icon as the notification icon in the notification drawer
I know its bit late to answer here and also its already been answered, but I came here looking for an easy fix using firebase notifications. Someone like me visiting here can do the solution by recommended and easy way of firebase notification, which is simply adding meta-data in manifest. Reference <!– Set custom default … Read more
When is didRegisterForRemoteNotificationsWithDeviceToken called?
The application delegate will call the method upon successful registration of remote notification after you call this method in your UIApplication: (void)registerForRemoteNotificationTypes:(UIRemoteNotificationType)types According to: http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIApplication_Class/Reference/Reference.html When you send this message, the device initiates the registration process with Apple Push Service. If it succeeds, the application delegate receives a device token in the application:didRegisterForRemoteNotificationsWithDeviceToken: method; if … Read more
Push Notifications when app is closed
Yes, it is possible ‘to receive notifications from google cloud message when the application is fully closed’. Infact, A broadcast receiver is the mechanism GCM uses to deliver messages. You need to have implement a BroadcastReceiver and declare it in the AndroidManifest.xml. Please refer to the following code snippet. AndroidManifest.xml <receiver android:name=”.GcmBroadcastReceiver” android:permission=”com.google.android.c2dm.permission.SEND” > <intent-filter> … Read more
Database Schema For Notification System Similar to Facebooks
Here is how I ended up solving this problem. I decided to use a dictionary to store data that is unique to each notification type. I then serialize that dictionary object into a binary string and store that in the database along with each notification. I have a template assigned to each notification type that … Read more
Android Notification buttons not showing up
Let me tell you something which is really awkward. If you have anything in your Ongoing Notification, You wont see the buttons. Typically it happens when you have phone connected to PC via USB. Hope this solves your problem
How would you create a notification system like on SO or Facebook in RoR?
So the general gist: 1) Notifications would be a polymorphic association in that comments can have many notifications, users can have many notifications, a ‘following’ can have many notifications etc. 2) You can have Model Observers, where you can “observe” certain events, such as when a new comment is created. This is would be your … Read more