socure-inc / socure-sigmadevice-sdk-android

Android library for the Socure Device Risk
1 stars 1 forks source link

SocureSigmaDeviceConfig limitation to use FragmentActivity #11

Closed DanilKuhta closed 1 year ago

DanilKuhta commented 1 year ago

Is there any chance to change parameters in SocureSigmaDeviceConfig to use Activity or at least ComponentActivity instead of FragmentActivity? Not all the apps are using FragmentActivity nowadays. Thank you in advance.

buraksocure commented 1 year ago

Hi @DanilKuhta Thanks for your feedback. We added "FragmentActivity" to support Cross-Platforms like Flutter. So you can use either "AppCompatActivity()" or "FragmentActivity()" which also extends ComponentActivity. Let us know if you have any specific reason that you need ComponentActivity through our dse@socure.com email.