Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding extra-text to be send with QR code in showQrActivity #1132

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ private void shareQr(Uri uri) {
if (uri != null) {
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_STREAM, uri);
intent.putExtra(Intent.EXTRA_TEXT, getResources().getString(R.string.scan_mifos_qr));
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
intent.setType("image/png");
intent = Intent.createChooser(intent, "Share Qr code");
Expand Down
1 change: 1 addition & 0 deletions mifospay/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@
<string name="enter_VPA">Please enter the VPA</string>
<string name="amount_header">Amount:</string>
<string name="deleted_successfully">Deleted Successfully</string>
<string name="scan_mifos_qr">Scan this QR code to pay through MifosPay</string>

<!-- dynamically formatted strings-->
<string name="name_client_name">Name: %1$s</string>
Expand Down