-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: embedded the contents of ipay88-my.aar #10
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
51f5bf1
chore: embedded the contents of ipay88-my.aar
vasi-twks 1f5dc94
Merge branch 'main' into release/test-maven
vasi-twks 8f6ce6f
chore: added missing translation
vasi-twks 8d120b0
chore: embed ipay88 SDK
semirp 115c3d8
chore: added missin string
semirp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,9 @@ plugins { | |
} | ||
|
||
android { | ||
namespace 'io.primer.ipay88' | ||
compileSdkVersion 34 | ||
// in order not to crash their SDK, we can use their namespace to correctly find R class | ||
namespace 'com.androids.ipay' | ||
compileSdk 34 | ||
|
||
defaultConfig { | ||
minSdkVersion 21 | ||
|
@@ -38,9 +39,15 @@ android { | |
} | ||
} | ||
|
||
tasks.configureEach { task -> | ||
if (task.name == "generateReleaseBuildConfig") { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have to disable generation of new |
||
task.enabled = false | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation libs.android.appcompat | ||
api libs.ipay88 | ||
} | ||
|
||
apply from: "$rootDir/config/publish.gradle" | ||
apply from: "$rootDir/config/publish.gradle" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+283 Bytes
ipay88/src/main/res/drawable-xxhdpi-v4/ic_arrow_back_white_48dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+344 Bytes
ipay88/src/main/res/drawable-xxxhdpi-v4/ic_arrow_back_white_48dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@color/color_toolbar" | ||
android:orientation="vertical" | ||
android:padding="5dp"> | ||
|
||
<ImageView | ||
android:id="@+id/iv_back" | ||
android:layout_width="30dp" | ||
android:layout_height="30dp" | ||
android:visibility="gone" | ||
android:src="@drawable/ic_arrow_back_white_48dp" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="20dp" | ||
android:gravity="center" | ||
android:text="ePayment" | ||
android:textColor="@color/color_toolbar_item" | ||
android:textSize="20sp" /> | ||
|
||
</androidx.appcompat.widget.Toolbar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="Amount">Số tiền (RM)</string> | ||
<string name="ProdDesc">Miêu tả sản phẩm</string> | ||
<string name="Result">Kết quả</string> | ||
<string name="UserEmail">Email</string> | ||
<string name="UserName">Tên khách hàng</string> | ||
<string name="app_name">v3 IPAY88 Android Payment</string> | ||
<string name="btnHome">Home</string> | ||
<string name="btnPrint">In hóa đơn</string> | ||
<string name="imgDesc">ipay demo logo</string> | ||
<string name="msg_decode_error">Quá trình giải mã thất bại với một lỗi không mong muốn</string> | ||
<string name="msg_error_ssl_date_invalid">Chứng chỉ SSL ngày không hợp lệ!</string> | ||
<string name="msg_error_ssl_expired">Chứng chỉ SSL đã hết hạn!</string> | ||
<string name="msg_error_ssl_idmismatch">Mã chứng chỉ SSL không phù hợp!</string> | ||
<string name="msg_error_ssl_invalid">Chứng chỉ SSL không hợp lệ!</string> | ||
<string name="msg_error_ssl_notyet_valid">Chứng chỉ SSL chưa hợp lệ!</string> | ||
<string name="msg_error_ssl_untrusted">Chứng chỉ SSL không đáng tin cậy!</string> | ||
<string name="msg_oh_no">Ôi không!</string> | ||
<string name="msg_select_method">Hãy chọn 1 phương thức thanh toán</string> | ||
<string name="msg_transition_empty">Thông tin giao dịch bị trống</string> | ||
<string name="strAmount">Số tiền</string> | ||
<string name="strAuthCode">Mã xác thực</string> | ||
<string name="strBackendPost">Backend Post URL</string> | ||
<string name="strCancel">Hủy bỏ</string> | ||
<string name="strCountry">Quốc gia</string> | ||
<string name="strCreditCard">Credit Card</string> | ||
<string name="strCurrency">Đơn vị tiền tệ</string> | ||
<string name="strErrDesc">ErrDesc</string> | ||
<string name="strLang">Ngôn ngữ</string> | ||
<string name="strMerchantCode">Merchant Code</string> | ||
<string name="strMerchantKey">Merchant Key</string> | ||
<string name="strOK">Đồng ý</string> | ||
<string name="strPay">Thanh toán</string> | ||
<string name="strPaymentID">Mã thanh toán</string> | ||
<string name="strPaymentId">Mã thanh toán</string> | ||
<string name="strREFID">Mã Tham chiếu</string> | ||
<string name="strRefNo">RefNo</string> | ||
<string name="strRemark">Ghi chú</string> | ||
<string name="strRequery">Yêu cầu</string> | ||
<string name="strRhbMerchantId">Rhb Merchant Id</string> | ||
<string name="strRhbOrderId">Rhb Order Id</string> | ||
<string name="strRhbOwnHash">Use own hash?</string> | ||
<string name="strRhbShaKey">Rhb Sha key</string> | ||
<string name="strSelectPayment">Chọn cách thức thanh toán</string> | ||
<string name="strSignature">Chữ ký</string> | ||
<string name="strStatus">Trạng thái</string> | ||
<string name="strTransId">Mã chuyển đổi</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="bg_notice_color">#a0f16822</color> | ||
<color name="color_toolbar">#2a5381</color> | ||
<color name="color_toolbar_item">#ffffff</color> | ||
<color name="viewfinder_border">#fff5f5</color> | ||
<color name="viewfinder_laser">#ffcc0000</color> | ||
<color name="viewfinder_mask">#60000000</color> | ||
<string name="Amount">Amount (RM)</string> | ||
<string name="ProdDesc">Product Description</string> | ||
<string name="Result">Result</string> | ||
<string name="UserEmail">Email</string> | ||
<string name="UserName">Customer Name</string> | ||
<string name="app_name">v3 IPAY88 Android Payment</string> | ||
<string name="btnHome">Home</string> | ||
<string name="btnPrint">Print Receipt</string> | ||
<string name="imgDesc">ipay demo logo</string> | ||
<string name="msg_decode_error">Decoding operation failed with an unexpected error</string> | ||
<string name="msg_error_ssl_date_invalid">SSL Certificate date invalid!</string> | ||
<string name="msg_error_ssl_expired">SSL Certificate expired!</string> | ||
<string name="msg_error_ssl_idmismatch">SSL Certificate id mismatch!</string> | ||
<string name="msg_error_ssl_invalid">SSL Certificate invalid!</string> | ||
<string name="msg_error_ssl_notyet_valid">SSL Certificate not yet valid!</string> | ||
<string name="msg_error_ssl_untrusted">SSL Certificate untrusted!</string> | ||
<string name="msg_oh_no">Oh no!</string> | ||
<string name="msg_select_method">Please select a payment method</string> | ||
<string name="msg_transition_empty">Transaction information is empty</string> | ||
<string name="strAmount">Amount</string> | ||
<string name="strAuthCode">AuthCode</string> | ||
<string name="strBackendPost">Backend Post URL</string> | ||
<string name="strCancel">Cancel</string> | ||
<string name="strCountry">Country</string> | ||
<string name="strCreditCard">Credit Card</string> | ||
<string name="strCurrency">Currency</string> | ||
<string name="strErrDesc">ErrDesc</string> | ||
<string name="strLang">Language</string> | ||
<string name="strMerchantCode">Merchant Code</string> | ||
<string name="strMerchantKey">Merchant Key</string> | ||
<string name="strOK">OK</string> | ||
<string name="strPay">Pay Now</string> | ||
<string name="strPaymentID">Payment ID</string> | ||
<string name="strPaymentId">PaymentId</string> | ||
<string name="strREFID">Reference ID</string> | ||
<string name="strRefNo">RefNo</string> | ||
<string name="strRemark">Remark</string> | ||
<string name="strRequery">Requery</string> | ||
<string name="strRhbMerchantId">Rhb Merchant Id</string> | ||
<string name="strRhbOrderId">Rhb Order Id</string> | ||
<string name="strRhbOwnHash">Use own hash?</string> | ||
<string name="strRhbShaKey">Rhb Sha key</string> | ||
<string name="strSelectPayment">Select your payment</string> | ||
<string name="strSignature">Signature</string> | ||
<string name="strStatus">Status</string> | ||
<string name="strTransId">TransId</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are solutions for this:
At the end this seems as the easiest solution.