Android now recommends to use registerForActivityResult instead of onMainActivityResult & onMainRequestPermissionsResult but it looks like it is not possible to use registerForActivityResult as it requires Activity or Fragment
Is it possible to still use registerForActivityResult in GodotAndroidPlugin class. here is my code
Android now recommends to use
registerForActivityResult
instead ofonMainActivityResult
&onMainRequestPermissionsResult
but it looks like it is not possible to useregisterForActivityResult
as it requiresActivity
orFragment
Is it possible to still use
registerForActivityResult
inGodotAndroidPlugin
class. here is my code