From 67cd743cd9ead83af9ede36a84ed674f75966af9 Mon Sep 17 00:00:00 2001 From: DR497 <47689875+dr497@users.noreply.github.com> Date: Sat, 23 Dec 2023 13:33:22 +0800 Subject: [PATCH] chore: mobile publishing --- app.json | 2 +- eas.json | 12 ++++++++++++ package.json | 1 + publishing/config.yaml | 4 ++-- publishing/package.json | 2 +- publishing/pnpm-lock.yaml | 21 +++++++++++---------- 6 files changed, 28 insertions(+), 14 deletions(-) diff --git a/app.json b/app.json index 5a38786..5d7af8a 100644 --- a/app.json +++ b/app.json @@ -16,7 +16,7 @@ "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#000000" }, - "versionCode": 7 + "versionCode": 10 }, "owner": "sns-manager" } diff --git a/eas.json b/eas.json index dd6afff..a89f97b 100644 --- a/eas.json +++ b/eas.json @@ -22,6 +22,18 @@ "SOLANA_RPC_URL": "https://helius-proxy.bonfida.com" } }, + "solana-store": { + "distribution": "store", + "node": "18.15.0", + "autoIncrement": false, + "android": { + "buildType": "apk" + }, + "env": { + "SOLANA_RPC_URL": "https://helius-proxy.bonfida.com" + } + }, + "production": { "extends": "base", "distribution": "store", diff --git a/package.json b/package.json index 6a6584f..8c1cac8 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "build:mobile:preview:local": "eas build -p android --profile preview --local", "build:mobile:prod": "eas build -p android --profile production", "build:mobile:prod:local": "eas build -p android --profile production --local", + "build:mobile:prod:solana-store": "eas build -p android --profile solana-store", "start": "npm run build:xnt && npx xnft web", "bundle": "npm run build:xnft && npx xnft bundle", "dev": "GENERATE_SOURCEMAP=false expo start --clear --web & npx xnft --iframe http://localhost:19006", diff --git a/publishing/config.yaml b/publishing/config.yaml index 6408c3a..188393f 100644 --- a/publishing/config.yaml +++ b/publishing/config.yaml @@ -19,7 +19,7 @@ app: - purpose: icon uri: ../assets/dapp-store/fida-icon-512x512.png release: - address: ELyJgn72Kxn6gMSk46eTREP6MVi82JLbuowRA8XBG6Kp + address: 3hLUYLTWWa3uktaCq4NcYRfJK9LBqa73wiVr4PWzmbuo media: - purpose: icon uri: ../assets/dapp-store/fida-icon-512x512.png @@ -35,7 +35,7 @@ release: uri: ../assets/dapp-store/screenshots/cart-payment-1080x1920.png files: - purpose: install - uri: build-1696412787473.apk + uri: ../application-b76ef173-b792-4037-8d3b-98ef6ba99ea6.apk catalog: en-US: name: SNS Manager diff --git a/publishing/package.json b/publishing/package.json index db91ab2..0b39df4 100644 --- a/publishing/package.json +++ b/publishing/package.json @@ -10,6 +10,6 @@ "author": "", "license": "ISC", "devDependencies": { - "@solana-mobile/dapp-store-cli": "^0.5.2" + "@solana-mobile/dapp-store-cli": "^0.6.0" } } diff --git a/publishing/pnpm-lock.yaml b/publishing/pnpm-lock.yaml index a7aec94..182f3ab 100644 --- a/publishing/pnpm-lock.yaml +++ b/publishing/pnpm-lock.yaml @@ -6,8 +6,8 @@ settings: devDependencies: '@solana-mobile/dapp-store-cli': - specifier: ^0.5.2 - version: 0.5.2 + specifier: ^0.6.0 + version: 0.6.0 packages: @@ -575,6 +575,7 @@ packages: /@bundlr-network/client@0.8.9(debug@4.3.4): resolution: {integrity: sha512-SJ7BAt/KhONeFQ0+nbqrw2DUWrsev6y6cmlXt+3x7fPCkw7OJwudtxV/h2nBteZd65NXjqw8yzkmLiLfZ7CCRA==} + deprecated: Bundlr is now Irys - please switch to @irys/sdk - this package will remain compatible with Irys for the foreseeable future. hasBin: true dependencies: '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.68.0) @@ -1616,14 +1617,14 @@ packages: tslib: 2.6.2 dev: true - /@solana-mobile/dapp-store-cli@0.5.2: - resolution: {integrity: sha512-PkevK+bHMNfVuSwO/mBFCSjV7dIu0sBIhD4CNhDyEEdBBSaRzlvOo0mYkwSDvyTIbfN1IHVtmAIzZFJXoA9UZg==} + /@solana-mobile/dapp-store-cli@0.6.0: + resolution: {integrity: sha512-17pVza46mKqplkpIFZ0tUo+gD/mDN/ZmDqBoaGv5KSYErxTzuqDWNHc9yjSgBNur2VHdwwNmdMDNKD81tW2ksw==} engines: {node: '>=18'} hasBin: true dependencies: '@aws-sdk/client-s3': 3.405.0 '@metaplex-foundation/js-plugin-aws': 0.18.3 - '@solana-mobile/dapp-store-publishing-tools': 0.5.2 + '@solana-mobile/dapp-store-publishing-tools': 0.6.0 '@solana/web3.js': 1.68.0 '@types/semver': 7.5.1 ajv: 8.12.0 @@ -1649,8 +1650,8 @@ packages: - utf-8-validate dev: true - /@solana-mobile/dapp-store-publishing-tools@0.5.2: - resolution: {integrity: sha512-rzRELWoQOtVAobfpTSVdCh4p42N6XrSbVka2dAbQhj1uex0RJiQQsEvx+EcdtRLNeJuLZup84gv4t5Z10p56CA==} + /@solana-mobile/dapp-store-publishing-tools@0.6.0: + resolution: {integrity: sha512-EBXrWEq+vCcaYE63T5Q3110LuNo3+7dh1pZQ001tTvFHcAbupBMjsy0liI5t7HtheUW3TwMJ19B7v76pKpGZxA==} engines: {node: '>=18'} dependencies: '@metaplex-foundation/js': 0.18.3 @@ -1910,7 +1911,7 @@ packages: algosdk: 1.24.1 arweave: 1.14.4 arweave-stream-tx: 1.2.2(arweave@1.14.4) - avsc: github.com/Bundlr-Network/avsc/a730cc8018b79e114b6a3381bbb57760a24c6cef + avsc: git@github.com+Bundlr-Network/avsc/a730cc8018b79e114b6a3381bbb57760a24c6cef axios: 0.21.4(debug@4.3.4) base64url: 3.0.1 bs58: 4.0.1 @@ -3893,8 +3894,8 @@ packages: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: true - github.com/Bundlr-Network/avsc/a730cc8018b79e114b6a3381bbb57760a24c6cef: - resolution: {tarball: https://codeload.github.com/Bundlr-Network/avsc/tar.gz/a730cc8018b79e114b6a3381bbb57760a24c6cef} + git@github.com+Bundlr-Network/avsc/a730cc8018b79e114b6a3381bbb57760a24c6cef: + resolution: {commit: a730cc8018b79e114b6a3381bbb57760a24c6cef, repo: git@github.com:Bundlr-Network/avsc.git, type: git} name: avsc version: 5.4.7 engines: {node: '>=0.11'}