Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #220 from MXCzkEVM/pre_main_qa
Browse files Browse the repository at this point in the history
Pre main qa
  • Loading branch information
sheenhx authored May 28, 2024
2 parents 3f007c6 + 8b10dcf commit abe0968
Show file tree
Hide file tree
Showing 76 changed files with 1,652 additions and 811 deletions.
22 changes: 21 additions & 1 deletion android/app/appcenter-post-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,24 @@ echo "APPCENTER_DISTRIBUTION_GROUP_ID_ANDROID=${APPCENTER_DISTRIBUTION_GROUP_ID_
flutter build apk --flavor product --release

# copy the APK where AppCenter will find it
mkdir -p android/app/build/outputs/apk/; mv build/app/outputs/apk/product/release/axs-wallet.apk $_

mkdir -p android/app/build/outputs/apk/; mv build/app/outputs/apk/product/release/app-product-release.apk $_

# copy the AAB where AppCenter will find it
mkdir -p android/app/build/outputs/bundle/; mv build/app/outputs/bundle/googleplayRelease/app-googleplay-release.aab $_

# To configure appCenter builds with Waldo UI Automation tool
export WALDO_CLI_BIN=/usr/local/bin
bash -c "$(curl -fLs https://github.com/waldoapp/waldo-go-cli/raw/master/install-waldo.sh)"

export PATH="$WALDO_CLI_BIN:$PATH"

# To configure appCenter builds with Waldo UI Automation tool
export WALDO_UPLOAD_TOKEN=$ANDROID_WALDO_UPLOAD_TOKEN

_build_path=android/app/build/outputs/apk/app-product-release.apk

waldo upload "$_build_path"

# /usr/local/bin/waldo upload "$BUILD_PATH"

2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 33
compileSdkVersion 34
buildToolsVersion "33.0.1"
ndkVersion flutter.ndkVersion

Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />

<application tools:replace="android:label" android:label="AXS" android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:theme="@style/LaunchTheme">
<application tools:replace="android:label" android:label="AXS" android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:theme="@style/LaunchTheme" android:requestLegacyExternalStorage="true">


<meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="axs_wallet_channel" />
Expand Down
7 changes: 6 additions & 1 deletion assets/flutter_i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"telegram_secured_storage": "Telegram secured storage",
"wechat_secured_storage": "WeChat secured storage",
"email_secured_storage": "Email secured storage",
"local_secured_storage": "Local secured storage",
"save_locally": "Save locally",
"set_passcode": "Create passcode",
"set_passcode_hint": "Enter a 6-digit passcode to unlock your wallet with ease. This passcode can’t be used to recover your wallet.",
"passcode_didnt_match": "Passcodes did not match. Try again.",
Expand Down Expand Up @@ -68,6 +70,7 @@
"share": "Share",
"wechat": "WeChat",
"email_to_myself_description": "Make sure to email your keys only to yourself.",
"save_locally_description": "Make sure to save your keys locally and then you are good to go.",
"email_to_myself": "Email to myself",
"security_notice": "Important Security Notice",
"ensure_saved_platform": "Please ensure that you have securely saved your key on a trusted platform such as email, Telegram, or WeChat.",
Expand Down Expand Up @@ -399,6 +402,7 @@
"axs_location_permission_use_case": "AXS Wallet needs access to your location for features such as Wi-Fi hooks while the app is in use or running in the background. Your location data is not saved or shared with any third parties.",
"axs_camera_permission_use_case": "AXS Wallet needs access to your camera when the app is in use for services such as RWA minting. Image data is not saved or shared with any third parties.",
"axs_photos_permission_use_case": "AXS Wallet needs access to your photos to save images such as RWA. Your photos are not saved or shared with any third parties.",
"axs_storage_permission_use_case": "AXS Wallet needs access to your storage for features such as RWA. Your storage data is not saved or shared with any third parties.",
"permission_use_cases": "Permission use cases",
"ok_allow": "OK, Allow",
"not_now": "Not now",
Expand All @@ -407,5 +411,6 @@
"remove_dapp": "Remove dApp",
"dapp_removal_dialog_text": "Deleting this dApp will remove it from your Home Screen.",
"information": "Information",
"ok": "Ok"
"ok": "Ok",
"local_backup": "Local backup"
}
292 changes: 147 additions & 145 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
@@ -1,154 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.transistorsoft.fetch</string>
<string>com.mxc.axswallet.periodicalTasks</string>
<string>com.mxc.axswallet.dappHooksTasks</string>
<string>com.mxc.axswallet.minerAutoClaimTask</string>
</array>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>AXS</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>FlSharedLink</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>LSItemContentTypes</key>
<array>
<string>public.file-url</string>
<string>public.image</string>
<string>public.text</string>
<string>public.url</string>
<string>public.data</string>
</array>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>zh_TW</string>
<string>zh_CN</string>
<string>zh_HK</string>
<string>ko</string>
<string>ja</string>
<string>vi</string>
<string>ru</string>
<string>tr</string>
<string>de</string>
<string>es</string>
<string>pt</string>
<string>tl</string>
<string>id</string>
<string>it</string>
<string>fr</string>
</array>
<key>CFBundleName</key>
<string>axs</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>tg</string>
<string>weixin</string>
<string>wechat</string>
<string>googlegmail</string>
<string>x-dispatch</string>
<string>readdle-spark</string>
<string>airmail</string>
<string>ms-outlook</string>
<string>ymail</string>
<string>fastmail</string>
<string>superhuman</string>
<string>protonmail</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<string>No</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.transistorsoft.fetch</string>
<string>com.mxc.axswallet.periodicalTasks</string>
<string>com.mxc.axswallet.dappHooksTasks</string>
<string>com.mxc.axswallet.minerAutoClaimTask</string>
</array>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
<key>NSAppleMusicUsageDescription</key>
<string>Would you allow AXS Wallet to use the Media Library?</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Would you allow AXS Wallet to use the Bluetooth?</string>
<key>NSCalendarsUsageDescription</key>
<string>Would you allow AXS Wallet to use the Calendar?</string>
<key>NSCameraUsageDescription</key>
<string>AXS Wallet needs access to your camera when the app is in use for services such as RWA minting. Image data is not saved or shared with any third parties.</string>
<key>NSFaceIDUsageDescription</key>
<string>AXS Wallet needs access to your Biometric data when the app is in use for authentication only. Your Biometric data is not saved or shared with any third parties.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>AXS Wallet needs access to your location for features such as Wi-Fi hooks while the app is in use or running in the background. Your location data is not saved or shared with any third parties.</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>AXS</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>FlSharedLink</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>LSItemContentTypes</key>
<array>
<string>public.file-url</string>
<string>public.image</string>
<string>public.text</string>
<string>public.url</string>
<string>public.data</string>
</array>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>zh_TW</string>
<string>zh_CN</string>
<string>zh_HK</string>
<string>ko</string>
<string>ja</string>
<string>vi</string>
<string>ru</string>
<string>tr</string>
<string>de</string>
<string>es</string>
<string>pt</string>
<string>tl</string>
<string>id</string>
<string>it</string>
<string>fr</string>
</array>
<key>CFBundleName</key>
<string>axs</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>tg</string>
<string>weixin</string>
<string>wechat</string>
<string>googlegmail</string>
<string>x-dispatch</string>
<string>readdle-spark</string>
<string>airmail</string>
<string>ms-outlook</string>
<string>ymail</string>
<string>fastmail</string>
<string>superhuman</string>
<string>protonmail</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<string>No</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSAppleMusicUsageDescription</key>
<string>Would you allow AXS Wallet to use the Media Library?</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Would you allow AXS Wallet to use the Bluetooth?</string>
<key>NSCalendarsUsageDescription</key>
<string>Would you allow AXS Wallet to use the Calendar?</string>
<key>NSCameraUsageDescription</key>
<string>AXS Wallet needs access to your camera when the app is in use for services such as RWA minting. Image data is not saved or shared with any third parties.</string>
<key>NSFaceIDUsageDescription</key>
<string>AXS Wallet needs access to your Biometric data when the app is in use for authentication only. Your Biometric data is not saved or shared with any third parties.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>AXS Wallet needs access to your location for features such as Wi-Fi hooks while the app is in use or running in the background. Your location data is not saved or shared with any third parties.</string>

<key>NSLocationAlwaysUsageDescription</key>
<string>AXS Wallet requires access to your location at all times for services such as Wi-Fi hooks. Your location data is not saved or shared with any third parties.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>AXS Wallet requires access to your location at all times for services such as Wi-Fi hooks. Your location data is not saved or shared with any third parties.</string>

<key>NSLocationUsageDescription</key>
<string>AXS Wallet needs access to your location to provide services such as Wi-Fi hooks. Your location data is not saved or shared with any third parties.</string>
<key>NSLocationUsageDescription</key>
<string>AXS Wallet needs access to your location to provide services such as Wi-Fi hooks. Your location data is not saved or shared with any third parties.</string>

<key>NSLocationWhenInUseUsageDescription</key>
<string>AXS Wallet needs access to your location when the app is in use for services such as Wi-Fi hooks. Your location data is not saved or shared with any third parties.</string>
<key>NSMotionUsageDescription</key>
<string>Would you allow AXS Wallet to use the Motion?</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>AXS Wallet needs access to your photos to save images such as RWA. Your photos are not saved or shared with any third parties.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>AXS Wallet needs access to your photos when the app is in use for services such as RWA minting. Your photos are not saved or shared with any third parties.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>Would you allow AXS Wallet to use the Speech Recognition?</string>
<key>PermissionGroupNotification</key>
<string>Would you allow AXS Wallet to use the Notification?</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>location</string>
<string>processing</string>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string>AXS Wallet needs access to your location when the app is in use for services such as Wi-Fi hooks. Your location data is not saved or shared with any third parties.</string>
<key>NSMotionUsageDescription</key>
<string>Would you allow AXS Wallet to use the Motion?</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>AXS Wallet needs access to your photos to save images such as RWA. Your photos are not saved or shared with any third parties.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>AXS Wallet needs access to your photos when the app is in use for services such as RWA minting. Your photos are not saved or shared with any third parties.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>Would you allow AXS Wallet to use the Speech Recognition?</string>
<key>PermissionGroupNotification</key>
<string>Would you allow AXS Wallet to use the Notification?</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>location</string>
<string>processing</string>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UISupportsDocumentBrowser</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit abe0968

Please sign in to comment.