add MoonPay 'Buy LBC' button #937

Merged
akinwale merged 3 commits from moonpay into master 2020-06-13 17:14:06 +02:00
akinwale commented 2020-06-12 04:17:55 +02:00 (Migrated from github.com)
No description provided.
tiger5226 (Migrated from github.com) reviewed 2020-06-14 19:14:21 +02:00
tiger5226 (Migrated from github.com) commented 2020-06-14 19:08:28 +02:00

Is it good to have these keys hardcoded like this? I would think these should be build environment variables.

Is it good to have these keys hardcoded like this? I would think these should be build environment variables.
tiger5226 (Migrated from github.com) commented 2020-06-14 19:09:45 +02:00

what happens if the user_id is 0 when passed to moonpay?

what happens if the user_id is 0 when passed to moonpay?
@ -75,3 +86,3 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginTop="6dp"
android:layout_marginLeft="16dp"
tiger5226 (Migrated from github.com) commented 2020-06-14 19:14:07 +02:00

intentional?

intentional?
akinwale (Migrated from github.com) reviewed 2020-06-15 16:14:44 +02:00
akinwale (Migrated from github.com) commented 2020-06-15 16:14:44 +02:00

Nothing bad happens. The externalCustomerId field is freeform and it's just a way we can use tell that a purchase was done on Android.

Nothing bad happens. The `externalCustomerId` field is freeform and it's just a way we can use tell that a purchase was done on Android.
akinwale (Migrated from github.com) reviewed 2020-06-15 16:17:35 +02:00
akinwale (Migrated from github.com) commented 2020-06-15 16:17:35 +02:00

We can put this in the build.gradle, but this is also checked into source control and adds extra steps to retrieving the required values.

We can put this in the `build.gradle`, but this is also checked into source control and adds extra steps to retrieving the required values.
akinwale (Migrated from github.com) reviewed 2020-06-15 16:17:42 +02:00
@ -75,3 +86,3 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginTop="6dp"
android:layout_marginLeft="16dp"
akinwale (Migrated from github.com) commented 2020-06-15 16:17:42 +02:00

Yes.

Yes.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#937
No description provided.