new release for iOS deployment

This commit is contained in:
0xturboblitz
2024-04-04 16:19:55 -07:00
parent 5c0d24b336
commit 3124b9b9db
7 changed files with 27 additions and 12 deletions

View File

@@ -43,6 +43,8 @@ sdk.dir=/Users/<user>/Library/Android/sdk or any relevant path to your sdk
#### Build the iOS native module
To run the app on iOS, you will need an Apple Developer account. Free accounts can't run apps that have NFC reading.
Run:
```
export DEVELOPMENT_TEAM="<your-development-team-id>"
@@ -90,4 +92,17 @@ This builds `android/app/build/outputs/bundle/release/app-release.aab`.
Then to test the release on an android phone, delete the previous version of the app and run:
```
yarn android --mode release
```
### FAQ
If you get something like this:
```
'std::__1::system_error: open: /proof-of-passport/app: Operation not permitted'
```
You might want to try [this](https://stackoverflow.com/questions/49443341/watchman-crawl-failed-retrying-once-with-node-crawler):
```
watchman watch-del-all
watchman shutdown-server
```

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"ProofOfPassport":"0xF3F619aB057E3978204Be68549f9D4a503EAa535","Groth16Verifier":"0x2dbaF682BEdC0159C2E04663dF83C803FEC95D82"}
{"ProofOfPassport":"0x4057c43602e8D5162Adc1D81706C01F0b6215777","Groth16Verifier":"0xfd07b8bC044d697393d6FE11a7AD808440cDd4eD"}

View File

@@ -608,7 +608,7 @@
CODE_SIGN_ENTITLEMENTS = ProofOfPassport/ProofOfPassport.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 42;
DEVELOPMENT_TEAM = 5B29R5LYHQ;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@@ -743,7 +743,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = ProofOfPassport/ProofOfPassport.entitlements;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 42;
DEVELOPMENT_TEAM = 5B29R5LYHQ;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",

View File

@@ -263,7 +263,7 @@ const ProveScreen: React.FC<ProveScreenProps> = ({
<YStack gap="$1">
<Text fontWeight="bold" fontSize="$6" mt="$5">Congrats 🎉x2</Text>
<Text fontWeight="bold" fontSize="$5" >You just have minted a Soulbond token !</Text>
<Text fontWeight="bold" fontSize="$5" >You just have minted a Soulbound token !</Text>
<Text color="gray" fontSize="$4" fow="bold" textAlign='left'>You can now share this proof with the selected app.</Text>
<Text color="gray" fontSize="$4" fow="bold" mt="$5">Network: Sepolia</Text>

View File

@@ -37,10 +37,10 @@ contract Groth16Verifier {
uint256 constant gammax2 = 10857046999023057135944570762232829481370756359578518086990519993285655852781;
uint256 constant gammay1 = 4082367875863433681332203403145435568316851327593401208105741076214120093531;
uint256 constant gammay2 = 8495653923123431417604973247489272438418190587263600148770280649306958101930;
uint256 constant deltax1 = 5930516095784622767671821607904116400970264602800087444885108376530493661964;
uint256 constant deltax2 = 496797091188164208210975238704120329965809074005598725290773738083215726408;
uint256 constant deltay1 = 14197115534740407386241715604497609297019664481747072929828903731994439918879;
uint256 constant deltay2 = 6173841383431833299115555083500014675385463207127603654790204877600104247836;
uint256 constant deltax1 = 2588669228216666389983837873148641426746353512252299031240304118286769521917;
uint256 constant deltax2 = 2552606576776338848330930219520907279764651930311004863336984726393262481390;
uint256 constant deltay1 = 6726215593913847530033416575708614413619076079997252220420830742072820639334;
uint256 constant deltay2 = 10560699865046748678886239819897855827741460195803489097560811811255627958125;
uint256 constant IC0x = 7651938682675872430563127057472046021479975536438268227065917076263512562994;