Skip to content

Commit ac0310d

Browse files
authored
chore: remove e2e-tests and add example-app (#166)
1 parent 0f193f1 commit ac0310d

145 files changed

Lines changed: 413 additions & 1121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,3 @@ yarn-error.log*
2626

2727
# Optional eslint cache
2828
.eslintcache
29-
30-
.ionic/*
31-
!.ionic/e2e.env
32-
!.ionic/wdio.config.ts

example-app/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,20 @@ apply plugin: 'com.android.application'
66

77
def getApiKey() {
88
Properties properties = new Properties()
9-
if (project.rootProject.file('local.properties').canRead()) {
10-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
11-
12-
if(properties.containsKey("REACT_APP_GOOGLE_MAPS_API_KEY")) {
13-
return properties['REACT_APP_GOOGLE_MAPS_API_KEY']
14-
}
15-
}
16-
return System.getenv('REACT_APP_GOOGLE_MAPS_API_KEY')
17-
}
18-
9+
if (project.rootProject.file('local.properties').canRead()) {
10+
properties.load(project.rootProject.file('local.properties').newDataInputStream())
11+
if(properties.containsKey("REACT_APP_GOOGLE_MAPS_API_KEY")) {
12+
return properties['REACT_APP_GOOGLE_MAPS_API_KEY']
13+
}
14+
}
15+
return System.getenv('REACT_APP_GOOGLE_MAPS_API_KEY')
16+
}
1917

2018
android {
21-
namespace "io.ionic.starter"
22-
compileSdkVersion rootProject.ext.compileSdkVersion
19+
namespace = "com.capacitorjs.maps"
20+
compileSdk = rootProject.ext.compileSdkVersion
2321
defaultConfig {
24-
applicationId "io.ionic.starter"
22+
applicationId "com.capacitorjs.maps"
2523
minSdkVersion rootProject.ext.minSdkVersion
2624
targetSdkVersion rootProject.ext.targetSdkVersion
2725
versionCode 1
@@ -30,7 +28,7 @@ android {
3028
aaptOptions {
3129
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
3230
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
33-
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
31+
ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
3432
}
3533
manifestPlaceholders = [MAPS_API_KEY:"${getApiKey()}"]
3634
}
File renamed without changes.
File renamed without changes.

plugin/e2e-tests/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java renamed to example-app/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java

File renamed without changes.

0 commit comments

Comments
 (0)