I am writing a C++ app based on NativeActivity. I have various functions implemented in java using JNI. At API 33 I need to invoke a request to allow posting of notifications, as described in Request runtime permissions. But this requires my app to extend AppCompatActivity, rather than Activity.I am using NativeActivity which extends Activity, not AppCompatActivity. Is there any way to do this, or is NativeActivity broken and unusable for API 33?
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/dd0f0509-abee-4b17-8028-0ad200f9022fn%40googlegroups.com.