File tree Expand file tree Collapse file tree 6 files changed +11
-51
lines changed
Expand file tree Collapse file tree 6 files changed +11
-51
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
4- namespace = " io.ionic.starter "
4+ namespace = " com.capacitor.stripe "
55 compileSdk = rootProject. ext. compileSdkVersion
66 defaultConfig {
7- applicationId " io.ionic.starter "
7+ applicationId " com.capacitor.stripe "
88 minSdkVersion rootProject. ext. minSdkVersion
99 targetSdkVersion rootProject. ext. targetSdkVersion
1010 versionCode 1
@@ -22,10 +22,6 @@ android {
2222 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2323 }
2424 }
25-
26- packagingOptions {
27- resources. excludes. add(" org/bouncycastle/x509/*" )
28- }
2925}
3026
3127repositories {
Original file line number Diff line number Diff line change 1+ package com .capacitor .stripe ;
2+
3+ import com .getcapacitor .BridgeActivity ;
4+
5+ public class MainActivity extends BridgeActivity {}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22<resources >
33 <string name =" app_name" >capacitor-stripe</string >
44 <string name =" title_activity_main" >capacitor-stripe</string >
5- <string name =" package_name" >io.ionic.starter</string >
6- <string name =" custom_url_scheme" >io.ionic.starter</string >
7-
85 <string name =" publishable_key" >pk_test_51MmARtKzMYim9cy3tOI5vOdHbai4G26V1AiDJmiE4aiAXc8BaSzh9Z0b0f8Novn0Jyyi8JqNdzLzcI2rUGT4g8ct00gfUVdLuM</string >
96 <bool name =" enable_google_pay" >true</bool >
107 <string name =" country_code" >US</string >
118 <string name =" merchant_display_name" >Widget Store</string >
129 <bool name =" google_pay_is_testing" >true</bool >
1310 <bool name =" google_pay_existing_payment_method_required" >false</bool >
1411 <!-- <string name="stripe_account"></string>-->
12+ <string name =" package_name" >com.capacitor.stripe</string >
13+ <string name =" custom_url_scheme" >com.capacitor.stripe</string >
1514</resources >
Original file line number Diff line number Diff line change 1313 androidxJunitVersion = ' 1.3.0'
1414 androidxEspressoCoreVersion = ' 3.7.0'
1515 cordovaAndroidVersion = ' 14.0.1'
16-
17- // If you use @capacitor-community/stripe:
18- // stripeAndroidVersion = '20.39.+'
19-
20- // If you use @capacitor-community/stripe-identity:
21- // identityVersion = '20.39.+'
22- }
16+ }
Original file line number Diff line number Diff line change @@ -44,20 +44,7 @@ Add permissions to your `android/app/src/main/AndroidManifest.xml` file:
4444+ <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
4545```
4646
47- If used in conjunction with the ` @capacitor-community/stripe ` plugin, the following settings may be necessary
48-
49- Add packagingOptions to your ` android/app/build.gradle ` file:
50-
51- ``` diff
52- android {
53- ...
54- + packagingOptions {
55- + resources.excludes.add("org/bouncycastle/x509/*")
56- + }
57- }
58- ```
59-
60- And update minSdkVersion to 26 And compileSdkVersion to 34 in your ` android/app/build.gradle ` file:
47+ And update minSdkVersion to 26 in your ` android/app/build.gradle ` file:
6148
6249``` diff
6350 ext {
You can’t perform that action at this time.
0 commit comments