MethodgetCurrentActivityOrResolveWithError* Safely get and cast the current activity as an AppCompatActivity. If that fails, the promise
* provided will be resolved with an error message in
android/src/main/java/com/reactnativestripesdk/utils/StripeUIManager.kt:55