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
+
1
2
package com .flutterwave .raveandroid .mpesa ;
2
3
3
4
4
5
import android .app .ProgressDialog ;
5
6
import android .content .DialogInterface ;
6
7
import android .content .Intent ;
7
8
import android .os .Bundle ;
9
+ import android .text .Html ;
8
10
import android .view .LayoutInflater ;
9
11
import android .view .View ;
10
12
import android .view .ViewGroup ;
@@ -266,7 +268,7 @@ public void showPollingIndicator(boolean active) {
266
268
267
269
if (pollingProgressDialog == null ) {
268
270
pollingProgressDialog = new ProgressDialog (getActivity ());
269
- pollingProgressDialog .setMessage (getResources ().getString (R .string .checkStatus ));
271
+ pollingProgressDialog .setMessage (Html . fromHtml ( getResources ().getString (R .string .kes_validate_instructions ) ));
270
272
}
271
273
272
274
if (active && !pollingProgressDialog .isShowing ()) {
@@ -275,6 +277,7 @@ public void showPollingIndicator(boolean active) {
275
277
public void onClick (DialogInterface dialog , int which ) {
276
278
presenter .logEvent (new RequeryCancelledEvent ().getEvent (), ravePayInitializer .getPublicKey ());
277
279
pollingProgressDialog .dismiss ();
280
+ presenter .cancelPolling ();
278
281
}
279
282
});
280
283
Original file line number Diff line number Diff line change 81
81
]]>
82
82
</string >
83
83
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
+
84
90
<string name =" mtn" >mtn</string >
85
91
<string name =" tigo" >tigo</string >
86
92
<string name =" vodafone" >vodafone</string >
You can’t perform that action at this time.
0 commit comments