-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/336 veramo upgrade 2 #1055
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
fe5a00d
build:
theblockstalk 5dd8520
build: fixed the bundler errors with new SDK
theblockstalk 99ce7b9
ci: updated node version
theblockstalk b091070
refactor: removed unnecessary runtime check
theblockstalk 0de3824
build: updated node version for eas build and did a pkg test in CI
theblockstalk 2b66373
feat: upgrade for non RN packages working
theblockstalk dda0338
ci: package upgrade instructions
theblockstalk 8609815
fix: reverted to previous eslint
theblockstalk 8ba24f4
test: fixed jest config
theblockstalk e7af7c7
test: removed unused test dependancies
theblockstalk 4c84613
style: fixed zustad import interface
theblockstalk 94db6a2
style: fixed zustad interface
theblockstalk 00afc76
feat: latest test SDK
theblockstalk a4d6912
feat: updated polyfills
theblockstalk 1be7e53
test: Added veramo tests
theblockstalk 8d61679
feat: latest SDK
theblockstalk b14ec84
feat: Debug used for debugging
theblockstalk cf0e7e1
docs: using debug env variable in eas.json
theblockstalk 9246d51
feat: Fixed did method filter
theblockstalk b83ebd6
feat: SDK update
theblockstalk 3b2c5ed
feat: upgraded to latest stable yarn 4.3.1
theblockstalk d99aec1
feat: Updated to latest sdk using latest yarn
theblockstalk c60b867
ci: Added build-apk.yaml github action
theblockstalk b26870e
ci: Test on all push, and branch protection
theblockstalk a6ad53e
test: fixed jest config and added DEBUG to env
theblockstalk 7118aee
ci: build apk
theblockstalk 6a60b32
ci: try remove disk space
theblockstalk c78bb2e
ci: different ubuntu
theblockstalk 71aa94a
ci: test versions
theblockstalk 18735cb
ci: fixed different jobs
theblockstalk 5a8ce39
ci: fixed check-sdk
theblockstalk d417011
ci: check sdk branches
theblockstalk dbc5583
ci: master branch
theblockstalk f97c2a4
ci: expo doctor
theblockstalk c26473c
ci: expo doctor
theblockstalk b1ebc94
ci: reverted to old
theblockstalk b24887c
ci: fixed corepack
theblockstalk 1b28402
Merge remote-tracking branch 'origin/development' into feature/336-ve…
theblockstalk 4589d00
ci: apk build
theblockstalk 30e18d3
feat:
theblockstalk d81fc0e
ci: expo doctor
theblockstalk c75f2df
ci: delete unused space
theblockstalk d4bb375
ci: sudo for docker commands
theblockstalk a1de636
ci: removed yarn and npm clean steps
theblockstalk fe78880
ci: fixed delete folders
theblockstalk 0158b58
ci: better docker images output
theblockstalk 29dae50
ci: final build APK working
theblockstalk 64ee9b7
chore: remove LOG usage and unnecessary metro config
theblockstalk 3d05ccc
ci: better build apk notes and conditional step
theblockstalk fff04cf
test: fixed local build system
theblockstalk c997460
chore: fixed typescript errors for yarn link
theblockstalk 8ad555d
style: turn of ts comment lint errors
theblockstalk dd186a5
Merge branch 'development' of github.com:Tonomy-Foundation/Tonomy-ID …
theblockstalk d073997
Merge branch 'development' of github.com:Tonomy-Foundation/Tonomy-ID …
theblockstalk a5ade5c
fix: fix transactionRequest screen props type
theblockstalk 6a8155c
comment testveramo test
sadiabbasi a491bd8
build: Upgrade to to latest SDK
theblockstalk d14e0e9
ci: update node version
theblockstalk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: Build Android APK | ||
|
||
# Use https://github.com/nektos/act to run this locally | ||
# INSTALL: | ||
# curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash | ||
# PREPARE: you need to have a `testnet` project in EAS: | ||
# export EXPO_NODE_ENV=testnet | ||
# export EXPO_FIRST_TIME=true | ||
# yarn run build:android | ||
# echo "Set the value of `expoProjectId` in src/config/config.testnet.json" | ||
# RUN: | ||
# act -j build-android -s EXPO_TOKEN="${EXPO_TOKEN}" | ||
|
||
on: | ||
push | ||
|
||
jobs: | ||
build-android: | ||
runs-on: ubuntu-latest | ||
env: | ||
EXPO_NODE_ENV: testnet | ||
EXPO_PLATFORM: android | ||
NODE_VERSION: 22.3.0 | ||
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} | ||
# https://expo.dev/accounts/[account]/settings/access-tokens | ||
container: | ||
image: cimg/android:2024.01-ndk | ||
# See https://circleci.com/developer/images/image/cimg/android#image-tags | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install nodejs | ||
run: | | ||
wget "nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" | ||
sudo tar -C /usr/local --strip-components 1 -xzf "node-v${NODE_VERSION}-linux-x64.tar.gz" | ||
sudo corepack enable | ||
node -v && npm -v && yarn -v | ||
rm "node-v${NODE_VERSION}-linux-x64.tar.gz" | ||
|
||
# Clears about 3.2Gb | ||
# Images: | ||
# - node:16/18/20(-alpine) | ||
# - moby/buildkit:latest | ||
# - alpine:3.16/3.17/3.18/3.19 | ||
# - debian:10/11 | ||
# - ubuntu:20.04/22.04 | ||
- name: Clean up Docker images | ||
run: | | ||
echo "Docker before cleanup:" | ||
sudo docker ps | ||
sudo docker images | ||
sudo docker system df | ||
sudo docker system prune -af | ||
echo "Docker after cleanup:" | ||
sudo docker ps | ||
sudo docker images | ||
sudo docker system df | ||
|
||
- name: Install dependancies | ||
run: yarn --immutable | ||
|
||
# Clears about 0.5Gb | ||
- name: Clear yarn cache | ||
run: | | ||
sudo du -sh ~/.yarn | ||
yarn cache clean | ||
sudo du -sh ~/.yarn | ||
|
||
- name: 🚀 Build Android .apk app | ||
run: | | ||
yarn run build:prepare | ||
npx eas build --clear-cache --profile testnet-internal --platform "${EXPO_PLATFORM}" --local | ||
|
||
- name: Find APK file and rename it so it can be added as an artifact | ||
run: find . -name "*.apk" -exec mv {} TonomyID.apk \; | ||
|
||
- name: Archive Android APK as artifact | ||
# Do not run this step if the action is being run locally (using nektos/act) | ||
if: ${{ github.actor != 'nektos/act' }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: TonomyID-Android | ||
path: ./TonomyID.apk |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.1.1.cjs | ||
nodeLinker: node-modules |
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VS code did this automatically. So I assume so