File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
java/com/flutterwave/raveandroid/mpesa Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+
12package com .flutterwave .raveandroid .mpesa ;
23
34
45import android .app .ProgressDialog ;
56import android .content .DialogInterface ;
67import android .content .Intent ;
78import android .os .Bundle ;
9+ import android .text .Html ;
810import android .view .LayoutInflater ;
911import android .view .View ;
1012import android .view .ViewGroup ;
@@ -266,7 +268,7 @@ public void showPollingIndicator(boolean active) {
266268
267269 if (pollingProgressDialog == null ) {
268270 pollingProgressDialog = new ProgressDialog (getActivity ());
269- pollingProgressDialog .setMessage (getResources ().getString (R .string .checkStatus ));
271+ pollingProgressDialog .setMessage (Html . fromHtml ( getResources ().getString (R .string .kes_validate_instructions ) ));
270272 }
271273
272274 if (active && !pollingProgressDialog .isShowing ()) {
@@ -275,6 +277,7 @@ public void showPollingIndicator(boolean active) {
275277 public void onClick (DialogInterface dialog , int which ) {
276278 presenter .logEvent (new RequeryCancelledEvent ().getEvent (), ravePayInitializer .getPublicKey ());
277279 pollingProgressDialog .dismiss ();
280+ presenter .cancelPolling ();
278281 }
279282 });
280283
Original file line number Diff line number Diff line change 8181 ]]>
8282 </string >
8383
84+ <string name =" kes_validate_instructions" >
85+ <![CDATA[
86+ <b>A push notification has been sent to your phone, please complete the transaction by entering your pin.</b>
87+ ]]>
88+ </string >
89+
8490 <string name =" mtn" >mtn</string >
8591 <string name =" tigo" >tigo</string >
8692 <string name =" vodafone" >vodafone</string >
You can’t perform that action at this time.
0 commit comments