Notifications from the Messages app will appear then dismiss automatically on a Google Pixel

When receiving a text message, Messages app notification will briefly appear then send to be automatically dismissed without me touching anything. The phone will still make the sound and vibrate, but they are cut short as if I’ve swiped it away. The message is still unread and the notification can be found afterwards in the History.

What can I do to check what is auto dismissing these notifications?

This doesn’t seem to happen on other apps or notifications.

Any ideas?

Turning off the phone or restarting didn’t help.

The phone is a Pixel 4.

ChatBull Pro – PHP Live Chat Support with Desktop and Mobile App

Admin submitted a new resource:

ChatBull Pro – PHP Live Chat Support with Desktop and Mobile App – ChatBull Pro – PHP Live Chat Support with Desktop and Mobile App

View attachment 17309

Chatbull is complete Php, MySql and Angular based live chat support plugin that is provide quick suppot to your cutomers …

Read more


javascript – Memory leak when emitting an event after menu click in Electron app

I’m currently building a desktop application with Electron and React.

Right now I’m adding a menu feature which toggles the dark mode of the app. In my React app, I’m using a hook which toggles the dark mode for me. I want to trigger that React hook right after the user has clicked on the menu item.

This is what I’ve done so far:


buildDefaultTemplate() {
    const templateDefault = (
        label: '&File',
        submenu: (
            label: '&Open',
            accelerator: 'Ctrl+O',
            label: '&Toggle Dark Mode',
            accelerator: 'Ctrl+T',
            click: () => {
              this.mainWindow.webContents.send('toggle-dark-mode', {
                message: 'Toggle successful!',
            label: '&Close',
            accelerator: 'Ctrl+W',
            click: () => {


export default function Dashboard(): ReactElement {
  const { username } = os.userInfo();
  const { toggleColorMode } = useColorMode();

  useEffect(() => {
    ipcRenderer.on('toggle-dark-mode', (_event, _data) => {
  }, (toggleColorMode));

It works fine toggling it. But after repeating the operation a number of times, I get this warning: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 toggle-dark-mode listeners added to (EventEmitter). Use emitter.setMaxListeners() to increase limit

I’ve seen a similar post but the answer wasn’t satisfying. The suggestion there was to simply stop listening to events, which I think would be difficult in my case.

I’m looking for a way to unsubscribe to the event after the toggle has been successful.

in app purchase – how to make a withdrawal system which converts in app currency into real and then pays to the creator [Android]

hello I want to know that how can I build a system which converts the in-app currency the user has received into USD and transfer from my account (or an account which keeps the amount comes from a user who buys the in-app currency ) to the withdrawal preferred payment method

for eg:- TikTok has some in-app currency which user buys from real money and then they can give the app currency to a creator who is live-streaming, after a creator gets some in-app currency from other users while live streaming, TikTok takes up 50% share and then converts the remaining 50% into real and gives creator an option to withdraw the balance (TikTok’s pays the creator only in USD so it doesn’t require to manage currency conversion when paying )

I want to make a functionality exactly like TikTok where you buy a silver bar or gold bar(in-app currency) with real money and send gifts to a creator and then the creator get a different kind of in-app currency (let say a diamond currency for the creator)which is half the price of a silver bar and gold bar and then coverts in USD and pays the creator when they want to withdraw

xiaomi – Clear app default actions in Android 10

Mi App has silently taken over everything related to documents in my Gmail and printing in general in my phone. Whenever I do any action that is “an inch close to printing) then Mi App appears.

enter image description here

I cannot change it in the usual way because my Motorola Moto One / Android 10 (One) claims that Mi App has no defaults defined and so there is nothing to clear:

enter image description here

This is super-duper annoying because right now I am even not able to preview a .docx or .pdf attachment sent alongside some email, because each such tap instead of showing document preview, opens up Mi App claiming that there is no printer added.

How it is possible that some app is making some “silent” takeover of some action, without clearly showing this fact in Android’s or app’s configuration? Even more important — how to get rid of this and bring the default action (of documents previews) to my Gmail?

Can I create android app using google fit apis?

Can I create android app using google fit apis? – Android Enthusiasts Stack Exchange

usability – How should our app provide feedback on background jobs?

usability – How should our app provide feedback on background jobs? – User Experience Stack Exchange

meta tags – iOS Smart App Banner on a Squarespace website

Apple shows that adding this meta tag to the head element of a page on a website would make the Smart App Banner appear when that page is visited on an iOS mobile device:

<meta name="apple-itunes-app" content="app-id=myAppStoreID, app-argument=myURL">

(app-argument is optional)

I wasn’t sure if this would be possible with a Squarespace site but they do offer “code injection” into the header:

enter image description here

On Squarespace forums I saw the suggestion to format the meta tag in this fashion:

var meta = document.createElement('meta'); = 'apple-itunes-app';
meta.content = 'app-id=myAppStoreID, app-argument=';

If I look at the source of I can see this meta tag in there, but no banner appears when visiting the site on an iOS device.

Can you see anything that is wrong with my implementation here? Is Squarespace not actually injecting it into the right part of the page for it to work? I see a <div id="mobile-header"> in the page source…

Any help or guidance would be appreciated. Thanks!

mvc – The right place for “app logic” in MVVM context

In MVVM, the business logic is built into the Model. The ViewModel is there to bridge between the View and the Model, so it’s logic only pertains to driving the display and updating the model from user interactions with the View.

I think the disconnect you are having is trying to have an anemic model work for MVVM, and it can’t. By anemic model, I mean one that only holds data and has no logic. Even with MVC, the controller was only ever supposed to call the methods in the model layer. So your first point of what you think is right, does not in fact match the pattern.

The right approach is:

  • Models are rich: containing data and business logic
  • Views are strictly for drawing the UI
  • ViewModels hold the logic to bridge the gap from the View to the Model

Now, how you build out your model can make use of services and dumb data objects, but you should have a consistent API. Domain Driven Design helps put some structure to the concept. For example, it’s not uncommon to have Repositories and such to retrieve Models and update them.

To drive this home, if you have a Button in your View, it will be bound to a Command, which in turn is invoked in the ViewModel. The Command then in turn calls a method on your Model, like Save(), or if there are parameters will collect the values from the ViewModel before calling the method.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive New Proxy Lists Every Day Proxies123