Craig Patik
Results
5
comments of
Craig Patik
Any update for this issue now that 0.15 is out?
@leonardocroda's solution with `AppState.addEventListener` worked, however it only asked for permission after the state changed (i.e. put the app in the background, then back to the foreground). To make it...
> Where do you import AppStateStatus from ? ```jsx import { AppStateStatus } from 'react-native' ```
It is still an issue for me. When I use `tsc` to lint my code, I get this error: ```sh $ tsc --jsx react-jsxdev --noEmit ../node_modules/rooks/dist/types/index.d.ts:4:47 - error TS2307: Cannot...