-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate android manifest in prebuild step (#12)
* Install expo-build-properties plugin * Move permissions into app.json * Re-generate android folder * Remove unrelated Detox test * Lift keystore ignore pattern to root * Add reusable gradle code snippets * Move app config from JSON to JS * Add plugin to customize gradle config * Add changes to tracking before removing altogether * Adjust linting config * Switch config based on environment * Convert app config to TS * Add instructions for detox tests * Remove committed debug keystore
- Loading branch information
Showing
20 changed files
with
338 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
EXPO_PUBLIC_LOGIN_URL=https://datawallet.dev.inrupt.com/oauth2/authorization/wallet-app | ||
EXPO_PUBLIC_WALLET_API=https://datawallet.dev.inrupt.com | ||
TEST_ACCOUNT_USERNAME= | ||
TEST_ACCOUNT_PASSWORD= | ||
IOS_BINARY_PATH= | ||
TEST_IOS_SIM= | ||
TEST_ANDROID_EMU= | ||
TEST_ACCOUNT_USERNAME=<Wallet Pod username> | ||
TEST_ACCOUNT_PASSWORD=<Wallet Pod password> | ||
IOS_BINARY_PATH=<Path to the built iOS binary> | ||
TEST_IOS_SIM=<Name of the iOS simulator on your device> | ||
# The following should align with a device emulator in Android Studio, | ||
# e.g. 'Android_34' or 'Pixel_3a_API_34' | ||
TEST_ANDROID_EMU=<Name of the Android emulator on your device> | ||
SIGNING_CONFIG_PATH=/absolute/path/to/android-config/signing-config.gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,5 @@ expo-env.d.ts | |
# @end expo-cli | ||
|
||
.env | ||
|
||
*.keystore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
if(project.hasProperty("inrupt.wallet.frontend.signing") | ||
&& new File(project.property("inrupt.wallet.frontend.signing")).exists()) { | ||
apply from: project.property("inrupt.wallet.frontend.signing"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
android { | ||
signingConfigs { | ||
release { | ||
if (project.hasProperty('WALLET_UPLOAD_STORE_FILE')) { | ||
storeFile file(WALLET_UPLOAD_STORE_FILE) | ||
storePassword WALLET_UPLOAD_STORE_PASSWORD | ||
keyAlias WALLET_UPLOAD_KEY_ALIAS | ||
keyPassword WALLET_UPLOAD_KEY_PASSWORD | ||
} | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
signingConfig signingConfigs.release | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,3 @@ local.properties | |
|
||
# Bundle artifacts | ||
*.jsbundle | ||
|
||
# Keystores | ||
*.keystore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
android/app/src/androidTest/java/com/inrupt/wallet/DetoxTest.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<network-security-config> | ||
|
||
<domain-config cleartextTrafficPermitted="true"> | ||
<domain includeSubdomains="true">10.4.5.2</domain> | ||
<domain includeSubdomains="true">localhost</domain> | ||
<domain includeSubdomains="true">10.0.2.2</domain><domain includeSubdomains="true">localhost</domain> | ||
</domain-config> | ||
|
||
</network-security-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.