Social popup not working in Native apps

I am having trouble getting social popup to work on iOS, for both Facebook and Twitter. It worked for me a few years ago, and all I see is old threads on this, so opening a new one.

I am getting false for native.canShowPopup, and then if I force a try anyway, it errors out. Both Facebook and Twitter are installed on my test phone.

My code is identical to what I used years ago, and an edited copy of the code in the documentation.

Plugin is in build.settings. It is a Corona plugin, so I assume it should work.

I build the app as a native app to use Apple Health. Is there anything special I have to do for Native apps?