Radica mobile app allows you to verify product certified with Radica technology by scanning NFC tags.
- Node.js
- Apple Developer Account (for iOS)
Note
You need to have an Apple Developer Account to install the app on your iPhone. This is required since the app uses the NFC api which is not available on the simulator. You must also configure your account in Xcode. You can follow the expo guide here.
Clone the project
git clone https://github.com/RadicaDev/radica-mobile-app.gitGo to the project directory
cd radica-mobile-appInstall dependencies
npm installTo run the project locally first setup the blockchain environment by following the instructions in the radica-contracts repository.
Be sure to set the right parameters in app-settings.ts file.
Note
The signerAddress in the app-settings.ts file should be the address you used to sign the NFC tags in the radica-contracts repository. You can find it in radica-contracts/crypto-keys/address.ts.
To install a development build on your iPhone, run
npx expo run:ios --deviceThen you can run the following command to start the development server future times
npx expo startTo install a production build on your iPhone, run
npx expo build:ios --device --configuration ReleaseYou won't need to run a server with the production build.
The app has three main tabs:
- Verify: Allows you to scan a Radica NFC tag and verify its authenticity.
- Wallet: Allows you to see your wallet balance and owned product.
- Online: Allows you to verify a product by entering its address.