The basic app lifecycle is OnCreate -> OnStart -> OnResume -> OnPaused. I am trying to do my own event and lifecycle management.
While it is recommended to use:
SDL_SetEventFilter(EventFilter, nullptr);
I want to poll SDL for the respective app life cycle events. After launch none of these arrive in my event loop although nativeResume is called:
SDL_APP_WILLENTERFOREGROUND
SDL_APP_DIDENTERFOREGROUND
They do arrive after OnPause. Why is that so?
SDL_SetEventFilter(EventFilter, nullptr); does see these events as expected.