Marcel Coelho

Results 7 comments of Marcel Coelho

Nova Launcher works around this by changing screen timeout to 5 seconds, showing a black screen and preventing touch interacting while screen is on. When screen locks, the screen timeout...

@AChep could you do something like: ```java // pseudocode if (userPref.respectSecurityPolicy) { android.provider.Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, 5); ui.beBlack(); onDeviceTimeout( android.provider.Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, default); ); } else { // from source MainActivity.java 227 DevicePolicyManager...

How many messages did you send? and how fast did you send them?

Alguma coisa mudou desde a ultima resposta? Talvez escrever um arquivo de _types_ pro [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) pra ultima versão da API seja uma boa... É uma tarefa razoavelmente extensa, mas depois...

So, I managed to make it work by just addind the `lazy` flag onto the WSLink options: ```typescript const wsLink = new WebSocketLink({ uri: GRAPHQL_URI.replace(/^http/, 'ws'), options: { reconnect: true,...

I was having the same issue with version `5.3.10`, got it to work with the following workaround: ```typescript // setupFilesAfterEnv jest.mock("styled-components", () => jest.requireActual("styled-components/dist/styled-components.browser.cjs.js"), ) ```

~~shameless plug~~ I've written a babel plugin that solves this. It's based on the transform @zebulonj mentioned, but re-written for babel v6 and v7. Plus a few customization options :wink:...