agestaun / meteor

Meteorid Game
1 stars 0 forks source link

Fix useOnInactive to detect blur event on Android #15

Open agestaun opened 1 year ago

agestaun commented 1 year ago

Need to detect when the app goes inactive while the user is playing. That's the purpose of the useOnInactive hook, but the blur event is not detected on Android, need to figure out why and find a solution.