Skip to content

Commit e353b98

Browse files
committed
2 parents bbcfec5 + 5f6e3e5 commit e353b98

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Set the public key, private key and other required parameters. The `RavePayManag
8787
| onStagingEnv(boolean) | Set to `true` if you want your transactions to run in the staging environment otherwise set to `false`. Defaults to false | `boolean` | Not Required
8888
| allowSaveCardFeature(boolean) | Set to `true` if you want your users to be able to save their cards for later reuse otherwise set to `false` | `boolean` | Required
8989
| setMeta(`List<Meta>`) | Pass in any other custom data you wish to pass. It takes in a `List` of `Meta` objects | List<Meta> | Not Required
90-
|setSubAccounts(`List<SubAccount>`) | Pass in a `List` of `SubAccount`,if you want to split transaction fee with other people. Subaccounts are your vendors' accounts that you want to settle per transaction. To initialize a `SubAccount` class, do `SubAccount(String subAccountId,String transactionSplitRatio)` or `SubAccount(String subAccountId,String transactionSplitRatio,String transactionChargeType, String transactionCharge)` to also charge the subaccount a fee. [Learn more about split payments and subaccounts](https://developer.flutterwave.com/docs/split-payment).| `List<SubAccount>`| Not Required
90+
|setSubAccounts(`List<SubAccount>`) | Pass in a `List` of `SubAccount`,if you want to split transaction fee with other people. Subaccounts are your vendors' accounts that you want to settle per transaction. To initialize a `SubAccout` class, do `SubAccount(String subAccountId,String transactionSplitRatio)` or `SubAccount(String subAccountId,String transactionSplitRatio,String transactionChargeType, String transactionCharge)` to also charge the subaccount a fee. [Learn more about split payments and subaccounts](https://developer.flutterwave.com/docs/split-payment).| `List<SubAccount>`| Not Required
9191
| withTheme(styleId) | Sets the theme of the UI. | `int` | Not Required
9292
| setPaymentPlan(payment_plan) | If you want to do recurrent payment, this is the payment plan ID to use for the recurring payment, you can see how to create payment plans [here](https://flutterwavedevelopers.readme.io/v2.0/reference#create-payment-plan) and [here](https://flutterwavedevelopers.readme.io/docs/recurring-billing). This is only available for card payments | `String` | Not Required
9393
| initialize() | Launch the Rave Payment UI | N/A | Required
@@ -121,7 +121,7 @@ The intent's `message` object contains the raw JSON response from the Rave API.
121121
### 3. Customize the look
122122
You can apply a new look by changing the color of certain parts of the UI to highlight your brand colors
123123

124-
<style name="DefaultTheme" parent="AppTheme.NoActionBar">
124+
<style name="DefaultTheme" parent="AppTheme.NoActionBar">
125125
<item name="colorPrimary">@color/colorPrimary</item>
126126
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
127127
<item name="colorAccent">@color/colorAccent</item>
@@ -133,6 +133,13 @@ You can apply a new look by changing the color of certain parts of the UI to hig
133133
<item name="PinHeaderStyle">@style/pinHeaderStyle</item>
134134
<item name="SavedCardButtonStyle">@style/svdCardsBtnStyle</item>
135135
</style>
136+
## Configuring Proguard
137+
To configure Proguard, add the following lines to your proguard configuration file. These will keep files related to this sdk
138+
```
139+
keepclasseswithmembers public class com.flutterwave.raveandroid.** { *; }
140+
dontwarn com.flutterwave.raveandroid.card.CardFragment
141+
```
142+
136143

137144
## Help
138145
* Have issues integrating? Join our [Slack community](https://join.slack.com/t/flutterwavedevelopers/shared_invite/enQtMjU2MjkyNDM5MTcxLWFlOWNlYmE5MTIxNjAwYzc5MDVjZjNhYTJjNTA0ZTQyNDJlMDhhZjJkN2QwZGJmNWMyODhlYjMwNGUyZDQxNTE) for support
@@ -169,4 +176,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
169176
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
170177
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
171178
SOFTWARE.
172-
```
179+
```

0 commit comments

Comments
 (0)