This is an example how to use Sismo Connect in mobile app written in React Native (Expo).
Right now it works only when you run it in web browser because the @sismo-core/zk-connect-client
only works in web browser. However I manage to tweak this library so it works in mobile app, the real problem was to get past authorized domains set by Sismo when creating Sismo Connect app (it only accepts web domains).
Project is based on Expo
, a framework and a platform for universal React applications. Check out the documentation for more information.
node
npm
First start sismo-connect-backend so you can verify proof in secure way.
Then install all necessary dependencies:
npm install
Finally start the app:
npm run web
sismo-connect-mobile/
├── .expo
├── expo-shared
├── assets
└── src
│ ├── components
│ │ ├── elements
│ │ ├── layouts
│ │ ├── modules
│ │ └── templates
│ ├── config
│ ├── graphql
│ ├── hooks
│ ├── screens
│ └── services
└── web
-
React Native Framework
-
Type-checking
-
Code quality tools