Flutterwave / AndroidSDK

Rave's Android Drop In UI
7 stars 8 forks source link

Push notification dialog takes too long to disappear. #275

Open ma-za-kpe opened 3 years ago

ma-za-kpe commented 3 years ago

Describe the Bug

Screenshot_20210810-140805

Push notification dialog with a message (attached image above), takes too long to disappear. Even after successful payment of money.

This is really bad in terms of UX, and it breaks the flow of the app.

I noticed that the styles were finally updated, thank you, but then the black background doesn't clearly show the phone number the user enters. This happens with or without customs themes set. As shown below.

`private fun subscribe(amount: String, txref: String) { // proceed with payout RaveUiManager(this) .setAmount(amount.toDouble()) .setCountry("UG") .setCurrency("UGX") .acceptUgMobileMoneyPayments(true) .setNarration("Payment for subscription") .setEmail(email) .setfName(name) .setPhoneNumber(phone) .setPublicKey(BuildConfig.PUBLIC_KEY) .setEncryptionKey(BuildConfig.ENCRYPTION_KEY) .setTxRef(txref) .onStagingEnv(false) // .withTheme(R.style.MyCustomTheme) .initialize()

}`

System Information

Additional Context

This link provides the log cat data while the dialog is still displaying. Logcat output