Skip to content

Commit 7a3c53e

Browse files
committed
chore(demo): re-create android folder
1 parent 012b80a commit 7a3c53e

File tree

6 files changed

+11
-51
lines changed

6 files changed

+11
-51
lines changed

demo/angular/android/app/build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apply plugin: 'com.android.application'
22

33
android {
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

3127
repositories {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.capacitor.stripe;
2+
3+
import com.getcapacitor.BridgeActivity;
4+
5+
public class MainActivity extends BridgeActivity {}

demo/angular/android/app/src/main/java/io/ionic/starter/MainActivity.java

Lines changed: 0 additions & 21 deletions
This file was deleted.

demo/angular/android/app/src/main/res/values/strings.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
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>

demo/angular/android/variables.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,4 @@ ext {
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+
}

packages/terminal/README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)