getCurrentActivity().get() is null when requesting permission

I’m having an issue requesting audio recording permissions where FragmentOverlay::open() gets invoked, and the call on CallObjectMethod has a null argument from getCurrentActivity().get(). My code is not managed by projucer, but I’m attaching the thread and calling initialiseJUCE() correctly. What could cause this call to be null?

1 Like