Where are Flurry event logs? - flurry

Flurry docs say that I should check the Event log when testing events. Where is the event log? The events menu is the only one without a submenu.

If you have completed a Flurry session on a test device the event log should populate within an hour or so. Be sure to close the app with the home button or relaunch the app once more to guarantee the session is sent.
If the problem persists add these lines of code before you start the Flurry session:
Android
FlurryAgent.setLogEnabled(true) ;
FlurryAgent.setLogLevel(Log.VERBOSE) ;
iOS
[Flurry setDebugLogEnabled:YES];
[Flurry setLogLevel:FlurryLogLevelAll];
Look for a 200 response from our server when the session ends. Make sure you are using the latest SDK Android v5.5 or iOS v6.4

Related

How to turn off FCM's automatic notifications with code, when the App is in the background?

My app has an option to turn on/off FCM notifications.
I can not show FCM notification when the App in foreground.
But how to turn off the notification function of FCM when the App in background?
Turn off FCM functionality with code in Android Studio.
Firebase Cloud Messaging has two payload types in its messages:
Notification payloads, which is handled by the system itself if the app is not active, and can be handled by your code if the app is active.
Data payloads, which are always handled by your code. This code can then display a notification, but it can also do something else (or nothing at all) with the data.
If you send a Notification message and the app is not actively being used, that message is handled by the system and there's no way to prevent it from being displayed.
So you have two options:
Always send message with (only) a data payload, so that your own code can handle it - and display a notification if the user hasn't disabled that.
Don't send a message with a notification payload if the user has disabled receiving notifications.

Service stack server OnReconnect event is not fired when server reconnected successfully

I am working on the serviceStack and react-redux project.
I have to create functionality to detect that the user is connected to the network or not.
For that, I'm using SSE reconnect event to get the response,
what I did is:
I checked the response from the onReconnect event if it gives error then I consider I user is offline.
Which is working fine.
But once a user connected to the OnReconncted event doesn't fire.
Ps: I don't want to use onConnect event as it fires on page refresh also.
Thanks in advance for the help.

Make voip push notification work again on iOS 13

As per documentation from Apple (at WWDC session "Advances in App Background Execution"), "Repeatedly failing to report calls may prevent your app from receiving any more incoming call notifications." so in this case ,
1) How can we find out wether my app stop receiving any more incoming call notifications? is this data will present anywhere in console?
2) How can we do that work again?
One of my application stop receiving the voip notification from last week. Now i have updated my code base as per the documentation but still i am not getting any Voip notification.
You can follow this , we also had the same problem. The solution is here https://developer.apple.com/documentation/pushkit/responding_to_voip_notifications_from_pushkit

(How) Can a Chrome Extension listen for messages from my server?

My Chrome Extension's background page is set up as an event page, i.e., most of the time it is asleep unless some registered event listener wakes it up.
I'd like to be able to occasionally send messages from my server to the event page of an individual user of my extension. They should not necessarily show up as a desktop notification, it would rather be up to the background script to decide what to do with any incoming message. It might very well store some information in localstorage for example. If the user client was offline at the moment the message is being sent, it would ideally be delivered once it comes back online.
I'd like to avoid polling my server at regular intervals every time the background script is awake, though that would be an obvious solution.
My question is therefore if it is possible to register a special kind of event in my event page so that it wakes up and triggers some functionality once there's an incoming message from my server. Ideally, the server message would not be a general broadcast to all my users, but rather a targeted message to a specific user.
What options do I have?
I read about service workers and their Push API but it seems they are only slowly being rolled out to Chrome Extensions. I am not sure if they are ready for the browser's stable release yet and didn't find any documentation on how they work with extensions.
I also read a bit about Google Cloud Messaging but it is deprecated in favor of a new costly Firebase solution.
Service worker functions like a proxy server, allowing you to modify requests and responses, replace them with items from its own cache, and more. While Chrome has its own approach to caching/installing the resources need to display a Chrome Extension. Therefore, there will be an error when you will attempt to intercept the registration of a service worker to a Chrome Extension.
See for more information:
Introduction to service worker
Service Worker script errors if run in chrome extension
See related SO post:
Chrome Extensions with service worker receiving push notifications

teardown doesn't affect MediaRouteButton

In my Android sender I am doing the teardown exactly as described in Android Sender Developer's Guide. The receiver is released OK, reverts to Chromecast Home Screen, but the status of MediaRouteButton doesn't change: it shows that my App is still conected. I need to click Disconnect there before I can connect again. How can I make MediaRouter to re-check the connection status after the teardown?
Thanks.
Then you need to handle various things that the ActionProvider would do for you automatically. After making sure that you are disconnected, call mMediaRouter.selectRoute(mMediaRouter.getDefaultRoute()) and see if it does what you want.

Resources