Skip to content

Commit cd30f3b

Browse files
committed
removed hardcoded packagename
1 parent 73a4554 commit cd30f3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tapcheckoutsdk/src/main/java/company/tap/tapcheckout_android/CheckoutConfiguration.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class CheckoutConfiguration {
3939
tapCheckoutStatusDelegate: TapCheckoutStatusDelegate? = null
4040

4141
) {
42-
//ToDO test when cdn url ready
42+
4343
MainScope().launch {
4444
getTapButtonSDKConfigUrls(
4545
tapMapConfiguration,
@@ -144,8 +144,8 @@ class CheckoutConfiguration {
144144
NetworkApp.initNetwork(
145145
tapCardInputViewWeb?.context ,
146146
publicKey ?: "",
147-
// context.packageName, //TODO
148-
"demo.tap.PayButtonSDK",
147+
context.packageName,
148+
// "demo.tap.PayButtonSDK",
149149
ApiService.BASE_URL,
150150
"android-knet",
151151
true,
@@ -160,8 +160,8 @@ class CheckoutConfiguration {
160160
headers = Headers(
161161
application = NetworkApp.getApplicationInfo(),
162162
mdn = CryptoUtil.encryptJsonString(
163-
// context.packageName.toString(), //TODO remove hardcoding
164-
"demo.tap.PayButtonSDK",
163+
context.packageName.toString(),
164+
// "demo.tap.PayButtonSDK",
165165
encodedeky
166166
)
167167
)

0 commit comments

Comments
 (0)