Skip to content

Commit e7916f2

Browse files
authored
Merge pull request #258 from MohammedBashiru/gh-momo-crash-fix
Ghana mobile money crash fix
2 parents ca39696 + e1ddc45 commit e7916f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rave_presentation/src/main/java/com/flutterwave/raveandroid/rave_presentation/ghmobilemoney/GhMobileMoneyHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void requeryTx(final String flwRef, final String txRef, final String publ
135135
body.setTx_ref(txRef);
136136
body.setPBFPubKey(publicKey);
137137

138-
if (data.getProvider() != null && data.getProvider().equalsIgnoreCase(RaveConstants.eTransact_GH)){
138+
if (data != null && data.getProvider() != null && data.getProvider().equalsIgnoreCase(RaveConstants.eTransact_GH)){
139139
mInteractor.showPollingIndicator(true, data.getValidateInstructions());
140140
}else{
141141
mInteractor.showPollingIndicator(true, "");

0 commit comments

Comments
 (0)