Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/noah-build-release-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
id: set_outputs
run: |
mkdir ios-release-build
mv client/ios/build/Build/Products/Release-iphonesimulator/Noah-Signet.app ios-release-build/ios-release.app
mv client/ios/build/Build/Products/Release-iphonesimulator/Noah-Regtest.app ios-release-build/ios-release.app
echo "artifact_name=ios-release-app" >> $GITHUB_OUTPUT
echo "app_filename=ios-release.app" >> $GITHUB_OUTPUT

Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/noah-maestro-test-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
curl -fsSL "https://get.maestro.mobile.dev" | bash
echo "$HOME/.maestro/bin" >> $GITHUB_PATH

- name: 🔧 Setup Regtest Environment
run: ./scripts/ark-dev.sh setup-everything

- name: 📱 Boot iOS Simulator (iPhone 16)
run: |
DEVICE_ID=$(xcrun simctl list devices available | grep "iPhone 16" | head -n 1 | awk -F "[()]" '{print $2}')
Expand Down Expand Up @@ -83,8 +86,12 @@ jobs:
- name: 🧹 Uninstall iOS app from simulator
if: always()
run: |
echo "Uninstalling Noah-Signet app with bundle ID: com.anonymous.noah.signet"
xcrun simctl uninstall booted "com.anonymous.noah.signet" || true
echo "Uninstalling Noah-Regtest app with bundle ID: com.anonymous.noah.regtest"
xcrun simctl uninstall booted "com.anonymous.noah.regtest" || true

- name: 🧹 Teardown Regtest Environment
if: always()
run: ./scripts/ark-dev.sh down

- name: 📤 Store debug output if failed
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion client/.maestro/setup-wallet.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# setup-wallet.yml

appId: com.anonymous.noah.signet
appId: com.anonymous.noah.regtest
---
- launchApp
- tapOn: "Create Wallet"
Expand Down
4 changes: 2 additions & 2 deletions client/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ android {
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdk rootProject.ext.compileSdkVersion

namespace 'com.anonymous.noah'
namespace 'com.noahwallet'
defaultConfig {
applicationId 'com.anonymous.noah'
applicationId 'com.noahwallet'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.anonymous.noah
package com.noahwallet

import android.os.Build
import android.os.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.anonymous.noah
package com.noahwallet

import android.app.Application
import android.content.res.Configuration
Expand Down
42 changes: 40 additions & 2 deletions client/android/app/src/mainnet/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,47 @@
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:ea5f01a437fb8764c5a229",
"mobilesdk_app_id": "1:798188805132:android:f1f15d689f21f534c5a229",
"android_client_info": {
"package_name": "com.anonymous.noah"
"package_name": "com.noahwallet"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyAqUfhVtqS9piBZGjhKfB1x-UeAcVi8FoU"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:d9e34e3fa9af010ec5a229",
"android_client_info": {
"package_name": "com.noahwallet.regtest"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyAqUfhVtqS9piBZGjhKfB1x-UeAcVi8FoU"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:5a0ecd3d3dca8137c5a229",
"android_client_info": {
"package_name": "com.noahwallet.signet"
}
},
"oauth_client": [],
Expand Down
12 changes: 6 additions & 6 deletions client/android/app/src/regtest/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:ea5f01a437fb8764c5a229",
"mobilesdk_app_id": "1:798188805132:android:f1f15d689f21f534c5a229",
"android_client_info": {
"package_name": "com.anonymous.noah"
"package_name": "com.noahwallet"
}
},
"oauth_client": [],
Expand All @@ -26,9 +26,9 @@
},
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:21b6dd5ed7c62855c5a229",
"mobilesdk_app_id": "1:798188805132:android:d9e34e3fa9af010ec5a229",
"android_client_info": {
"package_name": "com.anonymous.noah.regtest"
"package_name": "com.noahwallet.regtest"
}
},
"oauth_client": [],
Expand All @@ -45,9 +45,9 @@
},
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:10d1d8c4cfcb806cc5a229",
"mobilesdk_app_id": "1:798188805132:android:5a0ecd3d3dca8137c5a229",
"android_client_info": {
"package_name": "com.anonymous.noah.signet"
"package_name": "com.noahwallet.signet"
}
},
"oauth_client": [],
Expand Down
12 changes: 6 additions & 6 deletions client/android/app/src/signet/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:ea5f01a437fb8764c5a229",
"mobilesdk_app_id": "1:798188805132:android:f1f15d689f21f534c5a229",
"android_client_info": {
"package_name": "com.anonymous.noah"
"package_name": "com.noahwallet"
}
},
"oauth_client": [],
Expand All @@ -26,9 +26,9 @@
},
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:21b6dd5ed7c62855c5a229",
"mobilesdk_app_id": "1:798188805132:android:d9e34e3fa9af010ec5a229",
"android_client_info": {
"package_name": "com.anonymous.noah.regtest"
"package_name": "com.noahwallet.regtest"
}
},
"oauth_client": [],
Expand All @@ -45,9 +45,9 @@
},
{
"client_info": {
"mobilesdk_app_id": "1:798188805132:android:10d1d8c4cfcb806cc5a229",
"mobilesdk_app_id": "1:798188805132:android:5a0ecd3d3dca8137c5a229",
"android_client_info": {
"package_name": "com.anonymous.noah.signet"
"package_name": "com.noahwallet.signet"
}
},
"oauth_client": [],
Expand Down
2 changes: 1 addition & 1 deletion client/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const config: { expo: ExpoConfig } = {
backgroundColor: "#000000",
},
edgeToEdgeEnabled: true,
package: "com.anonymous.noah",
package: "com.noahwallet",
splash: {
image: "./assets/All_Files/splash_screens/splash_screen_android.png",
resizeMode: "contain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object NoahToolsLogging {

fun performGetAppVariant(): String {
try {
val buildConfigClass = Class.forName("com.anonymous.noah.BuildConfig")
val buildConfigClass = Class.forName("com.noahwallet.BuildConfig")
val field = buildConfigClass.getField("APP_VARIANT")
val appVariant = field.get(null) as? String
if (appVariant != null) {
Expand Down
14 changes: 7 additions & 7 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"android:clean": "rm -rf android/.gradle android/app/build android/build android/.cxx android/app/.cxx android/app/.idea",
"ios:clean": "rm -rf ios/Pods ios/Podfile.lock ios/build/",
"clean:all": "bun android:clean && bun ios:clean",
"android:mainnet:debug": "expo run:android --variant mainnetDebug --app-id=com.anonymous.noah",
"android:mainnet:release": "expo run:android --variant mainnetRelease --app-id=com.anonymous.noah",
"android:signet:debug": "expo run:android --variant signetDebug --app-id=com.anonymous.noah.signet",
"android:signet:release": "expo run:android --variant signetRelease --app-id=com.anonymous.noah.signet",
"android:regtest:debug": "expo run:android --variant regtestDebug --app-id=com.anonymous.noah.regtest",
"android:regtest:release": "expo run:android --variant regtestRelease --app-id=com.anonymous.noah.regtest",
"android:mainnet:debug": "expo run:android --variant mainnetDebug --app-id=com.noahwallet",
"android:mainnet:release": "expo run:android --variant mainnetRelease --app-id=com.noahwallet",
"android:signet:debug": "expo run:android --variant signetDebug --app-id=com.noahwallet.signet",
"android:signet:release": "expo run:android --variant signetRelease --app-id=com.noahwallet.signet",
"android:regtest:debug": "expo run:android --variant regtestDebug --app-id=com.noahwallet.regtest",
"android:regtest:release": "expo run:android --variant regtestRelease --app-id=com.noahwallet.regtest",
"ios:mainnet:debug": "expo run:ios --scheme Noah --configuration Debug",
"ios:mainnet:release": "expo run:ios --scheme Noah --configuration Release",
"ios:signet:debug": "expo run:ios --scheme Noah-Signet --configuration Debug",
Expand All @@ -35,7 +35,7 @@
"build:ios:signet:release": "xcodebuild build -workspace ios/noah.xcworkspace -scheme Noah-Signet -configuration Release -sdk iphonesimulator -quiet ARCHS=arm64",
"build:ios:regtest:debug": "xcodebuild build -workspace ios/noah.xcworkspace -scheme Noah-Regtest -configuration Debug -sdk iphonesimulator -quiet ARCHS=arm64",
"build:ios:regtest:release": "xcodebuild build -workspace ios/noah.xcworkspace -scheme Noah-Regtest -configuration Release -sdk iphonesimulator -quiet ARCHS=arm64",
"build:ios:ci": "xcrun xcodebuild -scheme 'Noah-Signet' -workspace 'ios/noah.xcworkspace' -configuration Release -sdk 'iphonesimulator' -destination 'generic/platform=iOS Simulator' -derivedDataPath ios/build -quiet ARCHS=arm64",
"build:ios:ci": "xcrun xcodebuild -scheme 'Noah-Regtest' -workspace 'ios/noah.xcworkspace' -configuration Release -sdk 'iphonesimulator' -destination 'generic/platform=iOS Simulator' -derivedDataPath ios/build -quiet ARCHS=arm64",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"typecheck": "tsc --noEmit",
"check": "bun run lint && bun run typecheck",
Expand Down
Loading
Loading